Jump to content

Edit History

Thbor83

Thbor83


Figured out what the problem was, solution added

Hi, after I have attempted to get the multistore running I gave up and made new stores instead for each domain, and now I have a new installation for one of them, but it fails on installation.

When I go to shop.com/install I get this error

Fatal error: Uncaught Symfony\Component\Filesystem\Exception\IOException: Cannot rename "/tmp/class_index.php1WNAIL" to "/var/www/html/shop_com/var/cache/dev/class_index.php". in /var/www/html/shop_com/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:290 Stack trace: #0 /var/www/html/shop_com/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php(696): Symfony\Component\Filesystem\Filesystem->rename() #1 /var/www/html/shop_com/vendor/prestashop/autoload/src/LegacyClassLoader.php(160): Symfony\Component\Filesystem\Filesystem->dumpFile() #2 /var/www/html/shop_com/vendor/prestashop/autoload/src/LegacyClassLoader.php(75): PrestaShop\Autoload\LegacyClassLoader->dumpClassIndex() #3 /var/www/html/shop_com/vendor/prestashop/autoload/src/PrestashopAutoload.php(47): PrestaShop\Autoload\LegacyClassLoader->buildClassIndex() #4 /var/www/html/shop_com/vendor/prestashop/autoload/src/PrestashopAutoload.php(38): PrestaShop\Autoload\PrestashopAutoload->generateIndex() #5 /var/www/html/shop_com/vendor/prestashop/autoload/src/Autoloader.php(77): PrestaShop\Autoload\PrestashopAutoload->PrestaShop\Autoload\{closure}() #6 /var/www/html/shop_com/config/config.inc.php(54): PrestaShop\Autoload\Autoloader->load() #7 /var/www/html/shop_com/index.php(27): require('...') #8 {main} thrown in /var/www/html/shop_com/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php on line 290

 

The server are rocky linux, with nginx, php 8.3.23

Tried to set different settings, like 777 on the folders, right now it is 755 on folders and 644 on files.
Owner on folders are nginx user, tried also root to see but I still get the error no matter what.

Folders under /var/cache/dev and prod are empty, the folders where created manually due to permissions error.

Does anyone have any idea here? I have read the forum but most seems to be about that the folder are missing for /var/cache

Thbor83

Thbor83

Hi, after I have attempted to get the multistore running I gave up and made new stores instead for each domain, and now I have a new installation for one of them, but it fails on installation.

When I go to shop.com/install I get this error

Fatal error: Uncaught Symfony\Component\Filesystem\Exception\IOException: Cannot rename "/tmp/class_index.php1WNAIL" to "/var/www/html/shop_com/var/cache/dev/class_index.php". in /var/www/html/shop_com/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:290 Stack trace: #0 /var/www/html/shop_com/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php(696): Symfony\Component\Filesystem\Filesystem->rename() #1 /var/www/html/shop_com/vendor/prestashop/autoload/src/LegacyClassLoader.php(160): Symfony\Component\Filesystem\Filesystem->dumpFile() #2 /var/www/html/shop_com/vendor/prestashop/autoload/src/LegacyClassLoader.php(75): PrestaShop\Autoload\LegacyClassLoader->dumpClassIndex() #3 /var/www/html/shop_com/vendor/prestashop/autoload/src/PrestashopAutoload.php(47): PrestaShop\Autoload\LegacyClassLoader->buildClassIndex() #4 /var/www/html/shop_com/vendor/prestashop/autoload/src/PrestashopAutoload.php(38): PrestaShop\Autoload\PrestashopAutoload->generateIndex() #5 /var/www/html/shop_com/vendor/prestashop/autoload/src/Autoloader.php(77): PrestaShop\Autoload\PrestashopAutoload->PrestaShop\Autoload\{closure}() #6 /var/www/html/shop_com/config/config.inc.php(54): PrestaShop\Autoload\Autoloader->load() #7 /var/www/html/shop_com/index.php(27): require('...') #8 {main} thrown in /var/www/html/shop_com/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php on line 290

 

The server are rocky linux, with nginx, php 8.3.23

Tried to set different settings, like 777 on the folders, right now it is 755 on folders and 644 on files.
Owner on folders are nginx user, tried also root to see but I still get the error no matter what.

Folders under /var/cache/dev and prod are empty, the folders where created manually due to permissions error.

Does anyone have any idea here? I have read the forum but most seems to be about that the folder are missing for /var/cache

×
×
  • Create New...