Hi,
I am trying to install ghost in my server but it showing this type of issues. How can I solve this?
eghost@ghost:/var/www/newsportal$ ghost install --db=sqlite3
✔ Checking system Node.js version
✔ Checking logged in user
✖ Checking current folder permissions
✔ Checking operating system compatibility
✔ Checking memory availability
One or more errors occurred.
1) Checking current folder permissions
Message: The directory /var/www/newsportal is not writable by your user. You must grant write access and try again.
Help: https://ghost.org/docs/install/ubuntu/#create-a-directory
Debug Information:
OS: Ubuntu, v16.04.6 LTS
Node Version: v10.13.0
Ghost-CLI Version: 1.14.0
Environment: production
Command: 'ghost install --db=sqlite3'
Try running ghost doctor to check your system for known issues.
You can always refer to https://ghost.org/docs/api/ghost-cli/ for troubleshooting.
eghost@ghost:/var/www/newsportal$ ghost doctor
An error occurred.
Message: 'ENOENT: no such file or directory, lstat '/var/www/newsportal/content''
Debug Information:
OS: Ubuntu, v16.04.6 LTS
Node Version: v10.13.0
Ghost-CLI Version: 1.14.0
Environment: production
Command: 'ghost doctor'
Additional log info available in: /home/eghost/.ghost/logs/ghost-cli-debug-2020-06-05T10_22_04_022Z.log
Try running ghost doctor to check your system for known issues.
You can always refer to https://ghost.org/docs/api/ghost-cli/ for troubleshooting.