So I think I may have gone down a rabbit hole trying to fix this, and permanently broken things. At first I was just getting a hang on restarting Ghost after updating. So I found this which I didn’t really realize was for a user with sqlite3 installed, but I had been receiving the sharp error when running the ‘npm rebuild’ command in versions/3.13.1 so I figured it was at least related.
This didn’t resolve my issues, and I found another thread that included running ‘ghost buster’ which seems to have done something to permissions. So I deleted my original ghost-mgr user (using DigitalOcean to host), and created a new one with what I thought were the correct permissions, but I’m receiving the below error, and I’m clearly not nearly smart enough to try and dig into symlinks or whatever this is, any help would be greatly appreciated:
OS: Ubuntu, v18.04.4 LTS
Node Version: v10.20.1
Ghost Version: 3.13.1
Ghost-CLI Version: 1.13.1
Command: ‘ghost update 3.13.1 --force’
An error occurred.
Message: ‘EACCESS: permission denied, unlink ‘/var/www/ghost/versions/3.13.1/node_modules/dtrace-provider/build/DTraceProviderStub.target.mk’’