Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 after installation #433

Open
jonatandorozco opened this issue Jul 20, 2022 · 3 comments
Open

403 after installation #433

jonatandorozco opened this issue Jul 20, 2022 · 3 comments

Comments

@jonatandorozco
Copy link

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

@Alnaggar94
Copy link

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

@jonatandorozco
Copy link
Author

I'm using DigitalOcean. And yes with root rights

@Alnaggar94
Copy link

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 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants