Page 1 of 1
update error - phpmyadmin Ubuntu16
Posted: Wed May 27, 2020 11:55 pm
by kknm
NuBuilder has worked, but phpmyadmin does not want to start - it gives an error
Warning: require(/var/www/report/nudb/vendor/composer/../symfony/polyfill-ctype/bootstrap.php): failed to open stream: Permission denied in /var/www/report/nudb/vendor/composer/autoload_real.php on line 66
Fatal error: require(): Failed opening required '/var/www/report/nudb/vendor/composer/../symfony/polyfill-ctype/bootstrap.php' (include_path='.:/usr/share/php') in /var/www/report/nudb/vendor/composer/autoload_real.php on line 66
Re: update error - phpmyadmin Ubuntu16
Posted: Thu May 28, 2020 12:02 am
by kev1n
What's your PHP version?
Re: update error - phpmyadmin Ubuntu16
Posted: Thu May 28, 2020 7:03 am
by kknm
kev1n wrote:What's your PHP version?
7.4.6
Re: update error - phpmyadmin Ubuntu16
Posted: Thu May 28, 2020 7:25 am
by kev1n
Permission denied means that your autoload_real.php file does not has the read/write permissions.
From stackoverflow:
Solved it. This was actually an issue with site-wide permissions. They were set to 770 instead of 775. I suspect that I can and should restrict them more. For now, I'm just happy to have it loading again.
Moral of the story is to check your permissions site-wide, not necessarily just on the file which gives you the fatal error. You may continue to get the same fatal error, despite permissions being wide-open on the mentioned file. If so, look for permissions issues elsewhere
Re: update error - phpmyadmin Ubuntu16
Posted: Thu May 28, 2020 8:09 am
by kknm
kev1n wrote:Permission denied means that your autoload_real.php file does not has the read/write permissions.
From stackoverflow:
Solved it. This was actually an issue with site-wide permissions. They were set to 770 instead of 775. I suspect that I can and should restrict them more. For now, I'm just happy to have it loading again.
Moral of the story is to check your permissions site-wide, not necessarily just on the file which gives you the fatal error. You may continue to get the same fatal error, despite permissions being wide-open on the mentioned file. If so, look for permissions issues elsewhere
Old phpmyAdmin worked well! And localhost / phmyadmin (v.4.6) also works. The rights for the site are 775, they have not changed.
Re: update error - phpmyadmin Ubuntu16
Posted: Thu May 28, 2020 8:16 am
by kev1n
Then just use the old phpMyAdmin by restoring the nudb subfolder.
Re: update error - phpmyadmin Ubuntu16
Posted: Fri May 29, 2020 2:04 pm
by kknm
kev1n wrote:Then just use the old phpMyAdmin by restoring the nudb subfolder.
Everything is OK!
After the update, it was necessary to reassign the rights to the site.