How update ghost in docker aapanel, i have some problem
Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org
You are running an outdated version of Ghost-CLI.
It is recommended that you upgrade before continuing.
Run npm install -g ghost-cli@latest
to upgrade.
Process manager 'systemd' will not run on this system, defaulting to 'local'
✔ Checking system Node.js version - found v16.20.0
✔ Ensuring user is not logged in as ghost user
✖ Checking if logged in user is directory owner
✖ Checking current folder permissions
✖ Checking folder permissions
✖ Checking file permissions
✔ Checking memory availability
✔ Checking free space
One or more errors occurred.
1) Checking if logged in user is directory owner
Message: Your user does not own the directory /var/lib/ghost and is also not a member of the owning group.
You must either log in with the user that owns the directory or add your user to the owning group.
Help: https://ghost.org/docs/install/ubuntu/#create-a-new-user
2) Checking current folder permissions
Message: The directory /var/lib/ghost is not writable by your user. You must grant write access and try again.
Help: https://ghost.org/docs/install/ubuntu/#create-a-directory
3) Checking folder permissions
Message: Your installation folder contains a directory or file with incorrect permissions:
- ./content
Run sudo find ./ -type d -exec chmod 00775 {} \; and try again.
4) Checking file permissions
Message: Your installation folder contains some directories or files with incorrect permissions:
- ./content/themes/ruby/assets/images/preloader.gif
- ./content/themes/ruby/assets/images/default-skin.svg
- ./content/themes/ruby/assets/images/default-skin.png
Run sudo find ./ ! -path "./versions/*" -type f -exec chmod 664 {} \; and try again.
Debug Information:
OS: Debian GNU/Linux, v11
Node Version: v16.20.0
Ghost Version: 5.45.1
Ghost-CLI Version: 1.24.0
Environment: production
Command: 'ghost update'