Jump to content

Azure App Service installation fails


morphet

Recommended Posts

Hi,

 

I am trying to install PrestaShop on an Azure App Service (I don't want to use virtual machine) but the installation process fails.

 

First it appears that after the auto unzipping process completes with no error message, there is actually no index.php file in the root folder. So after the unzipping process nothing but a 403 appears.

 

Then if I try to access the install folder, I get an 500 error without logs. I modified the source code to get a trace and here is what I get.

exception 'Symfony\Component\Filesystem\Exception\IOException' 
with message 'Cannot rename "D:\home\site\wwwroot\app\cache\prod\catF925.tmp" 
to "D:\home\site\wwwroot/app/cache/prod\/catalogue.en-US.8739602554c7f3241958e3cc9b57fdecb474d508.php".' 
in D:\home\site\wwwroot\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php:279 

Stack trace: #0 D:\home\site\wwwroot\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php(566): Symfony\Component\Filesystem\Filesystem->rename('D:\\home\\site\\ww...', 'D:\\home\\site\\ww...', true) 
#1 D:\home\site\wwwroot\vendor\symfony\symfony\src\Symfony\Component\Config\ResourceCheckerConfigCache.php(114): Symfony\Component\Filesystem\Filesystem->dumpFile('D:\\home\\site\\ww...', 'write('dumpCatalogue('en-US', Object(Symfony\Component\Config\ConfigCache)) 
#4 [internal function]: Symfony\Component\Translation\Translator->Symfony\Component\Translation\{closure}(Object(Symfony\Component\Config\ConfigCache))
#5 D:\home\site\wwwroot\vendor\symfony\symfony\src\Symfony\Component\Config\ConfigCacheFactory.php(49): call_user_func(Object(Closure), Object(Symfony\Component\Config\ConfigCache)) 
#6 D:\home\site\wwwroot\vendor\symfony\symfony\src\Symfony\Component\Translation\Translator.php(331): Symfony\Component\Config\ConfigCacheFactory->cache('D:\\home\\site\\ww...', Object(Closure)) 
#7 D:\home\site\wwwroot\vendor\symfony\symfony\src\Symfony\Component\Translation\Translator.php(294): Symfony\Component\Translation\Translator->initializeCacheCatalogue('en-US') 
#8 D:\home\site\wwwroot\vendor\symfony\symfony\src\Symfony\Component\Translation\Translator.php(248): Symfony\Component\Translation\Translator->loadCatalogue('en-US') 
#9 D:\home\site\wwwroot\vendor\symfony\symfony\src\Symfony\Component\Translation\Translator.php(209): Symfony\Component\Translation\Translator->getCatalogue(NULL) 
#10 D:\home\site\wwwroot\src\PrestaShopBundle\Translation\PrestaShopTranslatorTrait.php(46): Symfony\Component\Translation\Translator->trans('Choose your lan...', Array, 'Install', NULL) 
#11 D:\home\site\wwwroot\install\classes\controllerHttp.php(98): PrestaShopBundle\Translation\TranslatorComponent->trans('Choose your lan...', Array, 'Install') 
#12 D:\home\site\wwwroot\install\classes\controllerHttp.php(161): InstallControllerHttp->initSteps() 
#13 D:\home\site\wwwroot\install\classes\controllerHttp.php(177): InstallControllerHttp->__construct() #14 D:\home\site\wwwroot\install\index.php(39): InstallControllerHttp::execute() #15 {main}

This happens both with 1.7.3 and 1.7.4. It seems to me that it's a path pattern issue. I guess there is no quick fix for this?

 

Thanks for you help!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...