We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

strange update issue | Forum

dave Leader
dave Aug 9 '14
So i finally made time to update my other site and this time going to 1.7 is something new. 


when i say yes to update (of course after i enter my login data) i am getting 


this page url here 


http://www.xxxxxxxx.com/admin/plugins/core-update/


but its a white page with a warning on it that says


Message:mkdir(): File exists

File:/home/xxxxxx/public_html/ow_system_plugins/admin/controllers/plugins.php

Line:558


im not worried about warnings, and yes i have debug on.  But why is it  locking up on the update page. 


I thought maybe since i just xfered the files to the vps that it might be a permission issue or owner issue, but i just when thru and set all the file permissions and owner id. 


Any ideas?


I wonder if it could be my firewall blocking the update?


Its not the firewall, i turned it off and same thing.  Also on another note i noticed i can no longer use FF inspector or any of the dev tools, they wont even open. 

The Forum post is edited by dave Aug 9 '14
dave Leader
dave Aug 9 '14
I manually updated the core ftp and ran the update and it said that i had the latest version but for some reason the system still shows there is a platform update available.   So im guessing its either a file or the db that needs to be updated somehow. 
The Forum post is edited by dave Aug 9 '14
dave Leader
dave Aug 9 '14
i checked the xml file and it also shows 1.7 so i went to the db and updated the config table update_soft  from 1 to 0.   I also checked the version in the table and it was also 1.7 and showed the correct build. 


Im wondering if there is a bug in the manual update pack?

dave Leader
dave Aug 9 '14
I am also not able to auto update plugins either via ftp, its showing invalid credentials regardless if ftp localhost or other ftp access account
The Forum post is edited by dave Aug 9 '14
dave Leader
dave Aug 9 '14
ok as we dig into this i am finding some signs of error in the oxwall log 


[09-Aug-2014 00:52:43 America/Denver] PHP Fatal error:  Class 'ZipArchive' not found in /home/xxxxxxxxx/public_html/ow_system_plugins/admin/controllers/plugins.php on line 560


[09-Aug-2014 09:57:48 America/Denver] PHP Fatal error:  require_once(): Failed opening  '/home/xxxxxxxx/public_html/ow_system_plugins/base/classes/file_log_writer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxxx/public_html/ow_includes/init.php on line 97



[09-Aug-2014 12:47:31 America/Denver] PHP Fatal error:  Class 'ZipArchive' not found in /home/xxxxxxxx/public_html/ow_system_plugins/admin/controllers/plugins.php on line 436




dave Leader
dave Aug 9 '14
ahaaaaaa.....   i have to include the zip library in the apache install..   I guess i never found this on the other site because it was already updated when i xfered it.  And this site had not been updated yet.  


So that should do the trick, just including the zip library in the apache build.  i will be back with the results. 

dave Leader
dave Aug 9 '14
yes sir-reeeeeee-bob that was is.... now plugins update.    As  a test i did go back and set the table back to 1 for the update flag to see if it would update, but it did tell me that i had 1.7 now.  So since i physically uploaded the files ftp im confident that i am updated.  If i had been trying to use the remote update of course it would update now im sure.  


I tested the plugins and they update just fine now.   So be sure to include zip library in your apache build as well. 



The Forum post is edited by dave Aug 9 '14
dave Leader
dave Aug 9 '14
also as a side note - be sure if you move servers that you go into the store plugins section for your purchased plugins and reset the ip for your plugins, there is a button for each plugin.  Say yes to reset and it will capture your new ip when you update or use the plugin.  
dave Leader
dave Aug 9 '14
i still  have the issue of file not found for ow_system_plugins/base/classes/file_log_writer.php' and its there, i have even made permissions 777 all the way to the file and still same.  


More digging i guess.  I have seen some threads on this but i did not do the backup wrong, i did it in the right order.  So there has to be another solution. 

dave Leader
dave Aug 9 '14
and all of a sudden i dont have the issue.  wierd...   all is well.