cdubdubdub
cdubdubdub
> > Backup failed because: mkdir(): Permission denied. > > file_put_contents(/var/www/snipe-it/storage/framework/down): failed to open stre am: Permission denied > > fatal: Unable to create '/var/www/snipe-it/.git/index.lock': Permission denied > > You...
> ls -al .git Thank you, please see output below: ``` admin@servername:/var/www/snipe-it$ ls -al storage total 36 drwxr-xr-x 7 www-data www-data 4096 Mar 29 03:51 . drwxr-xr-x 18 www-data www-data...
Thank you, I will give that a try and let you know the outcome.
I made the permission changes, but I'm not sure how to authenticate using www-data, so I will need to figure that out first: ``` admin@servername:/var/www/snipe-it$ su - www-data php upgrade.php...
Thank you, I receive the below error when I run as sudo: ``` admin@servername:/var/www/snipe-it$ su - www-data php upgrade.php Password: su: Authentication failure admin@servername:/var/www/snipe-it$ sudo php upgrade.php [sudo] password for...
I don't appear to be able to run as root either: ``` root@servername:~# cd /var/www/snipe-it/ root@servername:/var/www/snipe-it# php upgrade.php ERROR: This script should not be run as root/admin. Exiting. ```
Thank you, that makes sense. I ran the permission changes as root, but when I try to switch to www-data, it tells me the account is not available. I'm super...
Ah gotcha, ok that seems to have worked, or at least ran the upgrade. However, I'm getting an error 500 now when I try to access Snipe-IT through the web...
I was getting the below error from the debug. However, I don't want to put too much time into this as we will be moving to the hosted solution soon,...
Thank you! I will give that a go.