Code Monkey home page Code Monkey logo

Comments (7)

paulc-us avatar paulc-us commented on July 17, 2024 2

Maybe the issue is that it is running on a mini running Sierra, yikes. I went back to the old version of the backup script, for now. Once I upgrade the mac, I can try the new script.

from davinci-resolve-postgresql-workflow-tools.

sethgoldin avatar sethgoldin commented on July 17, 2024

I've seen this before. Often it's been because the destination directory has some kind of unescaped space or unescaped special character. What's the full path of your destination directory?

from davinci-resolve-postgresql-workflow-tools.

sethgoldin avatar sethgoldin commented on July 17, 2024

It could also be a permissions issue, though the scripts should be running as root, so that'd be a bit curious.

If you're running an older version, it didn't used to run as root, so you might want to update.

from davinci-resolve-postgresql-workflow-tools.

sethgoldin avatar sethgoldin commented on July 17, 2024

@paulc-us Can you send the command-line output of how you've set it up?

from davinci-resolve-postgresql-workflow-tools.

paulc-us avatar paulc-us commented on July 17, 2024

I am going to run the uninstall and then reinstall. Should I be running the script as root or with sudo?

from davinci-resolve-postgresql-workflow-tools.

paulc-us avatar paulc-us commented on July 17, 2024

I should also mention, I am still using Postgres 9.5. So I reran the install script as sudo. I unloaded the launchd for both backup and optimize. Then I edited the scripts to use 9.5 instead of 13. Then loaded the launchd's again.

Does that sound correct?

from davinci-resolve-postgresql-workflow-tools.

sethgoldin avatar sethgoldin commented on July 17, 2024

@paulc-us 1.3 was written for PostgreSQL 9.5, but wasn't ever really tested on Ventura, because 2.0 was written for PostgreSQL 13 on Ventura.

When I was updating everything from 1.3 to 2.0, there was some kind of warning in the macOS Ventura shell, advising that it wasn't best practice to keep running it as a launchd agent, and that I should run it as a daemon so that the root user could run the script. Switching it to a daemon running from root eliminated the warning.

So on macOS, 1.3 ran as a user-specific agent, and in 2.0, it runs as a daemon from the root user. On 2.0, no other user even needs to be logged in.

Without knowing exactly how you've modified it, I suspect that you might be running into permissions issues. It should always be installed with sudo, as per the documentation in either version.

from davinci-resolve-postgresql-workflow-tools.

Related Issues (19)

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.