cipi icon indicating copy to clipboard operation
cipi copied to clipboard

403 after installation

Open jonatandorozco opened this issue 3 years ago • 3 comments

I just installed Cipi on Digital Ocean droplet. I got no errors during the process but when I'm trying to get to the dashboard I get 403 response

image

jonatandorozco avatar Jul 20 '22 23:07 jonatandorozco

What's the cloud provider you use? Did you run the installer script with root privilege?

Alnaggar94 avatar Jul 24 '22 14:07 Alnaggar94

I'm using DigitalOcean. And yes with root rights

jonatandorozco avatar Jul 27 '22 01:07 jonatandorozco

That's strang I have never had this issue with Cipi, This error related to some permission not right.

Try the following commands and run them as the root:

sudo chmod -R o+w /var/www/html/storage
sudo chmod -R 775 /var/www/html/storage
sudo chmod -R o+w /var/www/html/bootstrap/cache
sudo chmod -R 775 /var/www/html/bootstrap/cache
sudo chown -R www-data:cipi /var/www/html
sudo systemctl restart nginx.service
sudo service php7.4-fpm restart
sudo service php8.0-fpm restart
sudo service php8.1-fpm restart 

Alnaggar94 avatar Jul 27 '22 14:07 Alnaggar94