Open karkaletsi opened 2 years ago
Set everything to 777 and see if something happens, that's usually how you debug. Then for production you can set them to only the required ones.
and it works!
Alright great, then it's due to the permissions. It really depends on how the Apache and Debian is set up, the database file and folder should typically be owned by the group that Apache is running under. Usually this is the www-data
user on Debian. If the user is www-data and the folder you're hosting the web panel inside is /var/www
then you could try these commands (I just wrote them from memory so hopefully they're alright):
cd /var/www
chown -R $USER:www-data .
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
chown -R www-data:www-data /var/www/db
chmod -R 700 /var/www/db
error 403 forbidden
Is the web panel directly inside /var/www
? What are all the permissions and ownership set to currently? And do you know if the Apache server is running under www-data or some other user?
fixed, the site was in a subfolder under /www
Alright great, is it all working now?
basically i set up the web panel all good and when im trying to login it says "error something went wrong" when i go in console and i see what the problem is its this: