littlebizzy / slickstack

Lightning-fast WordPress on Nginx
https://slickstack.io
GNU General Public License v3.0
638 stars 112 forks source link

ss-update results in 403 errors after reboot #44

Closed Bronislawsky closed 4 years ago

Bronislawsky commented 4 years ago

Hi! I have a VM that I try to always keep up to date with ss so I can make sure when I roll updates on production VMs everything is ok..

Here is a problem I encounter when I run ./ss-update & reboot I be getting 403 everywhere.

The work around I have found is running ./ss-perms and then ./ss-restart upon reboot And it seems to fix it.

Thanks

UPDATE

this linefind /var/www/html/ -type f -exec chmod 6664 {} \; remove the 403 but the site is blank, I dont know exactly which other blocks is responsible to restore the site.. I will investigate a little later

jessuppi commented 4 years ago

@Bronislawsky Thanks again for reporting, I've added source /var/www/ss-perms to ss-update toward the bottom of the script (before services restart) which should help.

Ref: https://github.com/littlebizzy/slickstack/commit/0c9600e6595efb716d8c67cf5c9b1006d378c2cc

Bronislawsky commented 4 years ago

Thank you @jessuppi , I just tried and it works perfectly now, no more 403.