Giter VIP home page Giter VIP logo

Comments (3)

chrismaddalena avatar chrismaddalena commented on June 9, 2024 1

You can change the user on install, but most people leave it at the default. That's fine, but then there is this conflict with the PostgreSQL maintenance scripts.

I can't find anything that states PostgreSQL backups and restores do not work with a user named postgres. It's only in the community scripts. It looks like a safeguard against the postgres user not working for backups on some *nix systems. It works without any issues in Ghostwriter's containers so I've removed the checks in the scripts for v4.0.1.

from ghostwriter.

chrismaddalena avatar chrismaddalena commented on June 9, 2024

Hey @Anthirian,

The Postgres backup script Ghostwriter uses doesn't like that your user is the default postgres account. It's a best practice to not use postgres, but it can get in the way here. I've considered removing that check.

You can do that by editing this file and removing these lines: https://github.com/GhostManager/Ghostwriter/blob/master/compose/production/postgres/maintenance/backup#L23

You can also follow the steps outlined in this issue to change your user:

#322

from ghostwriter.

Anthirian avatar Anthirian commented on June 9, 2024

Thanks, I followed the suggestions and created the backup_user and used the same password that Ghostwriter already set during install. Is there any reason not to do this by default during install?

from ghostwriter.

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.