By Weeblr on Thursday, 02 July 2015
Posted in Technical Issues
Replies 14
Likes 0
Views 1.1K
Votes 0
Hi

My EasyBlog 3.9.22295 has prompted to upgrade, saying there was a newer version. I went to the Updater, which told me version 3.9.24862 was available (I think I went through that procedure once already).
Using my staging server, I started the upgrade (I have the API key entered as required).
The update started:
- downloading patch files
- Upgrading Foundry framework

but stalled after that. After a while, I realized that the site was dead. attempt to load any page, either front or back end results in:

Warning: require_once(/var/www/xxxxx.com/s/public/media/foundry/3.1/joomla/framework.php): failed to open stream: No such file or directory in /var/www/xxxxx.com/s/public/components/com_easyblog/constants.php on line 228

Fatal error: require_once(): Failed opening required '/var/www/xxxxx.com/s/public/media/foundry/3.1/joomla/framework.php' (include_path='/var/www/xxxxx.com/s/public/plugins/system/shlib/shl_packages//ZendFramework-1.11.7-minimal/library:.:/usr/share/php:/usr/share/pear') in /var/www/xxxxx.com/s/public/components/com_easyblog/constants.php on line 228


I restored the site, tried again, with same result.

What should I do from there?

Rgds
To complement the above, the folder /media/foundry exists, but only contains an index.html file.
·
Thursday, 02 July 2015 22:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Weeblr ,

Can you provide us with your Joomla backend and FTP access so we can better have a look this issues?
·
Thursday, 02 July 2015 22:52
·
0 Likes
·
0 Votes
·
0 Comments
·
I've not used the updater yet; is it uploaded completely to the site or is it a remote installer? 2 possible situations come to mind given the lack of files: wrong folder permissions (which is unlikely given the existence of one file) or some kind of timeout/upload limit within PHP. Once SI can get in there, we'll see.

Curious, what's your Joomla version and server type (shared, VPS, etc.)?
·
Friday, 03 July 2015 00:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

no, permissions and ownership are fine; tried once with J! 3.4.1 and once with J! 3.4.2. It's a staging VPS for my main site. There's no FTP on it.
PHP timeout did not happen, it's not in the PHP error log. Don't see how upload limit would be involved (there's no uploading in an update) but it's not in PHP error log either anyway. There's basically nothing in the PHP error log.
I'm thinking right now that I didn't check the browser console for a js error, which might be a good reason for the process to stop.

If I can download 3.9.24862 somewhere, i'm more than happy to try a manual upload

Rgds
·
Friday, 03 July 2015 00:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

I'm thinking there's one thing that could cause that. Is your updater using a direct access to a PHP file? ie bypassing Joomla! index.php?
If yes, that'd be a problem as my server is configured to only allow execution of /index/php, /administrator/index.php and, temporarily, /administrator/components/com_joomlaupdate/restore.php.

Rgds
·
Friday, 03 July 2015 01:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Weeblr ,

Sorry for confusing, if you would like to upgrade your Easyblog 3.9 to Easyblog 5, you have to manually download the Easyblog 5 installer zip file from your dashboard. Because the Easyblog 3.9 updater is not work for upgrade to Easyblog 5.
·
Friday, 03 July 2015 02:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

If I can download 3.9.24862 somewhere


I specifically mentioned the versions involved:
My EasyBlog 3.9.22295 has prompted to upgrade, saying there was a newer version. I went to the Updater, which told me version 3.9.24862


I don't want to update to EB5.

In the mean time I looked a bit at the code you're using, but you dont seem to be using direct access to file, so that's not the problem.

Again, If you let me download the latest 3.9.x version, I'd be glad to use that file instead of the online updater.

Rgds
·
Friday, 03 July 2015 02:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Weeblr,

Sorry for late reply to this,

Unfortunately that was not possible to download 3.9 latest version from dashboard now.

Perhaps you can provide us with your email address, so i can manually send to you or you provide us with your Joomla backend and FTP access so we can help you perform this update to 3.9 latest version as well?

Looking forward of your response.
·
Friday, 03 July 2015 09:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

Doing some tests this morning, I'll keep you updated. FYI, there's actually an error showing, saying that the MD5 check sum are invalid:


Rgds
·
Friday, 03 July 2015 17:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Weeblr,

Sorry for late reply to this,

Yes, Easyblog 3.9 updater is not working for this moment, can you provide us with your email address so I can manually attach the PRO Easyblog version installer zip file and sent to you? So that you can upload the installer zip file through in your Joomla installer page,
·
Friday, 03 July 2015 18:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

Yes, indeed. I have done more testing and the problem is not only that it's not working. But simply attempting to use it will kill the site.
First the problem: at beginning of update, you download foundry.zip. That works, except the file is invalid. Joomla cannot unzip it, and even trying to unzip it manually gives this:

I guess that's easy to fix. However the real problem is that you don't check for the result of:
// Extract foundry zip.
JArchive::extract( $destination , $storage );
and so you always delete the Foundry folder, even if you don't have a valid, unzipped replacement for it. This is what's killing the site as Foundry is used in a system plugin, meaning that both front end and backend die immediately.

That's a serious problem I believe, you should either fix the downloaded zip file or urge your users to not update.

Rgds
·
Friday, 03 July 2015 18:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Weeblr,

Thanks for your advise, I will consult with our developer regarding this.

I would love to help you solve this, perhaps you can provide us with your Joomla backend and FTP access so I can help you update to latest version of Easyblog 3.9? Or provide us with your email address so I can send the latest installer zip file through the email.
·
Friday, 03 July 2015 19:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

Considering the above, I don't you can help me with FTP or otherwise. You can however email the installer but I don't think this post is private so I don't really want to post my eamil addres here. I have noted it in the Site URL field of Site details.

Rgds
·
Friday, 03 July 2015 19:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Weebir,

*You can put the information in the optional information field below(SITE DETAILS). Don't worry about privacy. Only Support team can view the information.
·
Friday, 03 July 2015 21:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post