Juergen Posted January 30, 2016 Share Posted January 30, 2016 Today I have tried to update from 3.05 to 3.06 but I always get the following error message in the backend. Unable to locate ZIP: /home/......../web/site/assets/cache/ProcessWireUpgrade/devns.zip 17 secs Is updating PW from the backend in version 3 not possible at the moment? Best regards Jürgen Link to comment Share on other sites More sharing options...
pwired Posted January 30, 2016 Share Posted January 30, 2016 Did you check if everything is writeable in your destination folders ? Link to comment Share on other sites More sharing options...
cstevensjr Posted January 30, 2016 Share Posted January 30, 2016 I have updated 2 websites overnight from 3.0.5 to 3.0.6, with no problem. I just updated another 3.0.5 site to 3.0.6 successfully in the last 5 minutes. You may want to check that your ProcessWireUpgrade module has been updated to the latest version (0.0.6 I believe). Link to comment Share on other sites More sharing options...
Juergen Posted January 30, 2016 Author Share Posted January 30, 2016 Did you check if everything is writeable in your destination folders ? Yes You may want to check that your ProcessWireUpgrade module has been updated to the latest version (0.0.6 I believe). Yes everything is up to date. I have updated it manually. I will check if the same issue happens during the next update. Thanks for your help Link to comment Share on other sites More sharing options...
pwired Posted January 30, 2016 Share Posted January 30, 2016 Just out of curiousity and for trying, I upgraded a local dev site on laptop from version 2.7.2 to dev-3.0.6 php 5.4.12 with PDO There are many ways to upgrade but no matter what way I try I always get this error message: Error: Exception: Filename doesn't exist: Z:/web/site/templates/Z:/web/site/assets/cache/FileCompiler/layouts/_home.php (in Z:\web\wire\core\TemplateFile.php line 104)#0 Z:\web\wire\core\WireFileTools.php(434): ProcessWire\TemplateFile->setFilename('Z:/web/site/tem...')#1 Z:\web\wire\core\Functions.php(463): ProcessWire\WireFileTools->render('Z:/web/site/ass...', Array, Array)#2 Z:\web\site\assets\cache\FileCompiler\site\templates\home.php(11): ProcessWire\wireRenderFile('Z:/web/site/ass...')#3 Z:\web\wire\core\TemplateFile.php(218): require('Z:\web\site\ass...') Edit: This could be something with my server paths I will setup a default server with default server paths and have a look again. Link to comment Share on other sites More sharing options...
pwired Posted January 30, 2016 Share Posted January 30, 2016 Tried with different server same upgrade 2.7.2 to dev-3.0.6 Same error. This is not server path related. I will have a look later on. Error: Exception: Filename doesn't exist: E:/UniServerZ/www/site/templates/E:/UniServerZ/www/site/assets/cache/FileCompiler/layouts/_home.php (in E:\UniServerZ\www\wire\core\TemplateFile.php line 104)#0 E:\UniServerZ\www\wire\core\WireFileTools.php(434): ProcessWire\TemplateFile->setFilename('E:/UniServerZ/w...')#1 E:\UniServerZ\www\wire\core\Functions.php(463): ProcessWire\WireFileTools->render('E:/UniServerZ/w...', Array, Array)#2 E:\UniServerZ\www\site\assets\cache\FileCompiler\site\templates\home.php(11): ProcessWire\wireRenderFile('E:/UniServerZ/w...')#3 E:\UniServerZ\www\wire\core\TemplateFile.php(218): require('E:\\UniServerZ\\w...') Link to comment Share on other sites More sharing options...
pwired Posted January 30, 2016 Share Posted January 30, 2016 Ok I tried another upgrade, just to see, this time from 2.7.2 to dev-2.7.3 This time everything went well as you can see: Before: After: After: Link to comment Share on other sites More sharing options...
BitPoet Posted January 30, 2016 Share Posted January 30, 2016 Does it work if you change line 412 in core/WireFileTools.php from this: } else if($options['defaultPath'] && strpos($filename, '/') !== 0) { to this: } else if($options['defaultPath'] && strpos($filename, '/') !== 0 && strpos($filename, ':') !== 1) { ? /edit/ This is addressed at pwired. 3 Link to comment Share on other sites More sharing options...
SiNNuT Posted January 30, 2016 Share Posted January 30, 2016 @pwired Your issues seem different than Juergen's. In your case it might be a problem with the FileCompiler, which is new in PW3, looking for or trying to create certain files in site/assets/cache/FileCompiler/ It could be that the upgrade process from 2.X to 3.X does not take this into consideration. 1 Link to comment Share on other sites More sharing options...
pwired Posted January 30, 2016 Share Posted January 30, 2016 @BitPoet, your good man, I did the upgrade again from 2.7.2 to dev-3.0.6, then changed the part on line 412 like you showed, and now both back and front end are working !!! Link to comment Share on other sites More sharing options...
pwired Posted January 30, 2016 Share Posted January 30, 2016 It could be that the upgrade process from 2.X to 3.X does not take this into consideration. @sinnut, ok maybe we found something here that needs attention. Link to comment Share on other sites More sharing options...
BitPoet Posted January 30, 2016 Share Posted January 30, 2016 I did the upgrade again from 2.7.2 to dev-3.0.6, then changed the part on line 412 like you showed, and now both back and front end are working !!! Great to hear! I've created an issue and suggested the fix. 8 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