petrixstar Posted December 21, 2020 Share Posted December 21, 2020 Saluti! am vrut sa fac un upgrade de la 1.7.6.9 - la 1.7.7.0 . si la un moment dat a aparut eroarea: [Ajax / Server Error for action backupFiles] textStatus: "error " errorThrown:" " jqXHR: " " am intrat in log si am primit:[ PHP Fatal error: Uncaught Symfony\Component\Filesystem\Exception\IOException: Failed to remove directory "/home/sportsnu/public_html/var/cache/prod/": rmdir(/home/sportsnu/public_html/var/cache/prod/): Directory not empty. in /home/sportsnu/public_html/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:180]. Am incercat sa sterg tot din cache si pe urma sa reincerc upgrade-ul si se pare ca nu mai pot intra in Admin . Erroarea este dupa ce am sters din var {public_html/var/cache/prod/ContainerXxsnfdb/getPrestashop_ModuleKernel_RepositoryService.php'. Dar nu se regenereaza singure? nu mai stiu ce sa-i fac!!! pss.am incercat sa dau si permisiune 777 la tot folderul var si cache si nimic Link to comment Share on other sites More sharing options...
Rhobur Posted December 26, 2020 Share Posted December 26, 2020 Este o probleme de owner al directoarelor/fisierelor din var/cache nu de permisiuni, probabil user-ul web server (apache/nginx) nu are drept-uri acolo owner-ul fiind mai mult ca sigur root. Pune pune user apache/nginx ca owner acolo recursiv si mai incearca. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now