Dieter KotelesQuestions(2)Answers(0)Posts(0)CommentsYou are awesome! Thank you!Can you tell me what I did wrong?Kind regards,RobOn Private: Answer for Private: File not foundThank you!May that will be the best way to solve those issues. At least it will give you a chance to investigate what is causing those lot of bugs I'm facing with.The nginx page file is in: /etc/nginx/sites-available/animalhealthThe site folder is in /var/www/animalhealthYou can get the mysql user and pw from the .env file.Just created a server user for you.coral@116.203.199.235pw: 5=Ku!M6VLet me know if you need anything else.Best regards,Robrobigobh@gmail.comOn Private: Answer for Private: File not foundI used a few hours ago, when I discovered that e-commerce bug, logged out, now all the pages throwing the following error, not able to login or do anything 🙁 (4/4) ErrorExceptionDivision by zero (View: /var/www/animalhealth/resources/themes/ecommerce-ultimate/partials/header.blade.php) (View: /var/www/animalhealth/resources/themes/ecommerce-ultimate/partials/header.blade.php) (View: /var/www/animalhealth/resources/themes/ecommerce-ultimate/partials/header.blade.php)On Private: Answer for Private: File not foundYes, I installed following the steps in docs, using that one command installer.Found another bug,<a href="http://116.203.199.235/e-commerce/shippings”" rel="nofollow">http://116.203.199.235/e-commerce/shippings</a> and all the other pages sitting in e-commerce are dead.(5/5) ErrorExceptionDivision by zero (View: /var/www/animalhealth/resources/themes/admin/partials/header.blade.php) (View: /var/www/animalhealth/resources/themes/admin/partials/header.blade.php) (View: /var/www/animalhealth/resources/themes/admin/partials/header.blade.php) (View: /var/www/animalhealth/resources/themes/admin/partials/header.blade.php)On Private: Answer for Private: File not foundI managed to access my Laraship webshop, typing in 116.203.199.235/loginI set a frontend theme, imported the demo data to have something.I created my user (superuser) and a few others, and I removed the dummy users as well.I found a bug, I can not select United Kingdom as phone country when I create a user (solved that updating the users table phone_country_code to 44, however if I try to edit the user and I click on country it just jumps back to United States (+1))May I found another bug on dashboard page, if I click on refresh button next to my user that will load the /modules page.I created a new Manager role, used the Check All button to set all the privileges for the beginning, and what I see when I login with a manager role user is the Dashboard only on the left side section, nothing else...Then I tried to change admin theme to Admin Dragon Theme and the site dashboard died..(4/4) ErrorExceptionClass 'Store' not found (View: /var/www/animalhealth/resources/themes/admin-dragon/partials/sidebar.blade.php) (View: /var/www/animalhealth/resources/themes/admin-dragon/partials/sidebar.blade.php) (View: /var/www/animalhealth/resources/themes/admin-dragon/partials/sidebar.blade.php)I managed to solve this bug by logging in with a manager role user (thanks God I set the Coral Admin theme as Default for them) then typed in the url the 116.203.199.235/themes (because I don't have the left side menu for them) and changed the theme back to Corals Admin.Kind regard,RobOn Private: Private: File not foundFound the following things in the var/log/nginx/error.logMay this will help.2020/05/05 23:25:44 [crit] 25635#25635: *2382 stat() “/var/www/animalhealth/public/” failed (13: Permission denied), client: 188.29.165.0, server: localhost, request: “GET / HTTP/1.1”, host: “116.203.199.235:80”2020/05/05 23:25:44 [crit] 25635#25635: *2382 stat() “/var/www/animalhealth/public/” failed (13: Permission denied), client: 188.29.165.0, server: localhost, request: “GET / HTTP/1.1”, host: “116.203.199.235:80”2020/05/05 23:25:44 [crit] 25635#25635: *2382 realpath() “/var/www/animalhealth/public” failed (13: Permission denied), client: 188.29.165.0, server: localhost, request: “GET / HTTP/1.1”, host: “116.203.199.235:80”2020/05/05 23:25:44 [error] 25635#25635: *2382 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 188.29.165.0, server: localhost, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php7.4-fpm.sock:”, host: “116.203.199.235:80”2020/05/05 23:25:44 [error] 25635#25635: *2382 open() “/var/www/animalhealth/public/favicon.ico” failed (13: Permission denied), client: 188.29.165.0, server: localhost, request: “GET /favicon.ico HTTP/1.1”, host: “116.203.199.235:80”, referrer: “<a href="<a href="<a href="http://116.203.199.235:80/”"”"”"”;By the way what user need to have permission?I created a nginx user, added that to www-data group, ran the followingsudo chown -R www-data.www-data /var/www/animalhealth/publicsudo chown -R www-data.www-data /var/www/animalhealth/storagesudo chown -R www-data.www-data /var/www/animalhealth/bootstrap/cacheafter running a:sudo chown -R www-data.www-data /var/www/animalhealth/the things has slightly changed, at least I got a styled Page Not Found message now, and no errors logged.On Private: Private: File not foundCrop