Giter Club home page Giter Club logo

Comments (8)

Nutomic avatar Nutomic commented on June 20, 2024 3

That fix is not released yet, it will be in 0.18

from lemmy-docs.

sunaurus avatar sunaurus commented on June 20, 2024 2

Adding superuser privileges is not an ideal solution - it means that Lemmy won't work on any managed cloud database which prevents superuser access. This PR seems like a better solution: LemmyNet/lemmy#3002

from lemmy-docs.

bengtfredh avatar bengtfredh commented on June 20, 2024 2

@ffolkes I had same issue. Found out database server was missing postgresql extensions ltree and pgcrypto.

from lemmy-docs.

ffolkes avatar ffolkes commented on June 20, 2024 2

@ffolkes I had same issue. Found out database server was missing postgresql extensions ltree and pgcrypto.

Thank you! That did it. :) On Rocky 9 I needed to do "dnf install postgresql-contrib" and then "CREATE EXTENSION IF NOT EXISTS pgcrypto;" and "CREATE EXTENSION IF NOT EXISTS ltree;" then grant lemmy superuser to start it until the patch rolls out.

from lemmy-docs.

kartonrad avatar kartonrad commented on June 20, 2024 2

had trouble finding this since it was already closed

almost updated my postgres version oh no

thank you for the workaround!

from lemmy-docs.

dessalines avatar dessalines commented on June 20, 2024

Could you do a PR to add that to the docs?

from lemmy-docs.

sunaurus avatar sunaurus commented on June 20, 2024

FYI as LemmyNet/lemmy#3002 was merged, I believe this issue can be closed

from lemmy-docs.

ffolkes avatar ffolkes commented on June 20, 2024

This is not working for me, and I'm puzzled why. I confirmed it was added, but I'm still getting the migrations error. When will the patch be available via crates.io? I'm anxious to get my instance up and running. :)

postgres=# \du
lemmy | Superuser

from lemmy-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.