By Geoff Chapman on Friday, 19 June 2015
Posted in Technical Issues
Replies 19
Likes 0
Views 659
Votes 0
I tend to keep a close watch on the size of our main site and carefully observe the size of the daily backups.

When I upgraded to EasyBlog 5.0.5 the size of our backup file immediately increased by approx 25M. Not specifically important for an update perhaps, but expected to be a one off. But yesterday I upgraded from 5.0.5 to 5.0.7 and the backup size has again increased by approx another 25M. So in the space of 2 Easyblog upgrades (3.9 -> 5.0.5 and 5.0.5 -> 5.0.7) the backup size has increased by some 50M. This is quite a significant increase.

I have allowed for other site activity in the determination of these increases and if anything have under specified the increase size.

My immediate thought is that the 'cleanup' of 'old' files is not occurring after the second update..

Possibly not of immediate concern but of concern never the less.
Hi Guys,

I am sorry for the delay of this reply.

Regarding this issue, I guess I've found the culprit of this issue. Look like this issue only happen when you choose 'install via network'
I've tested and fixed the issue internally. The fix will be added into next release of EasyBlog. For the quick fix, download the attached php file 'install.download.php' and copy this file to folder ' JOOMLA/administrator/components/com_easyblog/setup/controllers/' and overwrite the existing install.download.php file.

Hope this help and have a nice day!
Sam
·
Tuesday, 30 June 2015 18:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Geoff Chapman,

I am really sorry for the delay of this reply as it is a weekend for us here.

That was strange, can you go to this file location and see is it got any zip file is not get removed?

joomlaFolder\administrator\components\com_easyblog\setup\packages\
·
Saturday, 20 June 2015 14:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you. You got it in one. In the packages directory I can see both the 5.0.5 and 5.0.7 zip files. Both about 19Mb which goes a very long way to the explaining the size increase in the backup.

Any specific reason they should remain or can I just delete them?

On the same topic any specific reason why the 'old 3.9' files should remain in the updates directory as well? Seems that there is scope for further pruning in the setup directory.
·
Saturday, 20 June 2015 16:54
·
0 Likes
·
0 Votes
·
0 Comments
·
hi Geoff Chapman,

I am really sorry for the delay of this reply as it is a weekend for us here.

Yes, you can delete it. By right when you finish the installation, it should auto remove it.

I suspect that was some file permission issues, so when the system trying to delete the zip file, hitting some permission issues.

On the same topic any specific reason why the 'old 3.9' files should remain in the updates directory as well? Seems that there is scope for further pruning in the setup directory.

Regarding this question, do you mean that 3.9 old files?
·
Sunday, 21 June 2015 15:23
·
0 Likes
·
0 Votes
·
0 Comments
·
I removed the offending two zip files and indeed that shrunk the backup by 40Mb.

The question about the 3.9 old files was related to the files located in joomlaFolder\administrator\components\com_easyblog\updates\3.9.0.

I also notice in the front end there are a number of files with the '.backup' handle appended to the file name which are also present. Some of these have been there for a long time, preceeding the 5.0.5 updates. These presumably are also not required.

It seems that there is ample scope to reduce the 'installed' size further.
·
Sunday, 21 June 2015 18:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Geoff,

I am sorry for the delay of this reply.

The question about the 3.9 old files was related to the files located in joomlaFolder\administrator\components\com_easyblog\updates\3.9.0.

Thank you for the kind feedback regarding on this issue. I believe you want the file inside the 3.9.0 to get removed after a successful install/update am I correct? If that so I will inform our developers regarding on this issue and see what they will come up with.
·
Tuesday, 23 June 2015 12:09
·
0 Likes
·
0 Votes
·
0 Comments
·
The component.zip file remained after the 5.0.9 update as well.

Regarding 'old' files, its more a situation of 'cleaning' up the relics of previous updates instead of leaving them lurking around doing nothing other than occupying space. Not a show stopper but makes the thing bigger than it needs to be.
·
Tuesday, 23 June 2015 15:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Geoff Chapman,

Sorry for late reply to this,

The question about the 3.9 old files was related to the files located in JoomlaFolder\administrator\components\com_easyblog\updates\3.9.0.

I have consult with our developer regarding this, this 3.9.0 file must be exist on update directory. And the file size is around 80kb++ .

The component.zip file remained after the 5.0.9 update as well.

By right those component.zip file under joomlaFolder\administrator\components\com_easyblog\setup\packages\ , it should be auto deleted after you complete your installation. I believe that was some permission issues, your server can't allow to delete the file, so it keep remain the component zip file everytime you update.

Regarding 'old' files, its more a situation of 'cleaning' up the relics of previous updates instead of leaving them lurking around doing nothing other than occupying space. Not a show stopper but makes the thing bigger than it needs to be.

Can you point us which .backup file exist on your site so we can take a look of this?
·
Wednesday, 24 June 2015 10:42
·
0 Likes
·
0 Votes
·
0 Comments
·
You asked for which .backup files exist on my server. Try this list for starters which is from the front end:

~/Joomla/components/com_easyblog > find . -name "*backup"
./assets/css/common.css.backup
./assets/css/module.css.backup
./assets/vendors/jwplayer/jwplayer.js.backup
./controllers/xmlrpc.php.backup
./controllers/dashboard.php.backup
./controllers/media.php.backup
./themes/bubbles/blog.avatar.php.backup
./themes/bubbles/blog.item.php.backup
./themes/bubbles/blog.read.php.backup
./themes/dashboard/system/css/styles.css.backup
./themes/dashboard/system/dashboard.entries.php.backup
./themes/dashboard/system/dashboard.microblog.autopost.php.backup
./themes/dashboard/system/dashboard.write.events.jomsocial.php.backup
./themes/dashboard/system/dashboard.write.groups.jomsocial.php.backup
./themes/dashboard/system/dashboard.write.options.php.backup
./themes/dashboard/system/dashboard.php.backup
./themes/dashboard/system/ajax.dialog.drafts.delete.php.backup
./themes/dashboard/system/ajax.dialog.drafts.deleteall.php.backup
./themes/dashboard/system/ajax.dialog.entries.delete.php.backup
./themes/dashboard/system/dashboard.users.php.backup
./themes/dashboard/system/dashboard.write.seo.php.backup
./themes/dashboard/system/dashboard.toolbar.php.backup
./themes/dashboard/system/media.php.backup
./themes/default/css/styles.css.backup
./themes/default/blog.audio.php.backup
./themes/default/blog.bloggers.php.backup
./themes/default/blog.item.php.backup
./themes/default/blog.read.php.backup
./themes/default/easysocial.achievements.php.backup
./themes/default/tags.item.php.backup
./themes/default/toolbar.php.backup
./themes/default/blog.read.login.php.backup
./themes/default/ratings.form.php.backup
./themes/default/structure.dashboard.php.backup
./themes/default/structure.php.backup
./themes/default/blog.admin.tool.php.backup
./themes/default/blog.item.comment.php.backup
./themes/default/access.denied.php.backup
./themes/default/blog.featured.module.php.backup
./themes/default/easysocial.comments.php.backup
./themes/default/email.blog.approved.html.php.backup
./themes/default/email.blog.new.html.php.backup
./themes/default/email.blog.rejected.html.php.backup
./themes/default/email.blog.report.html.php.backup
./themes/default/email.blog.review.html.php.backup
./themes/default/email.comment.moderate.html.php.backup
./themes/default/email.comment.new.html.php.backup
./themes/default/email.subscriptions.confirmation.html.php.backup
./themes/default/email.subscriptions.html.php.backup
./themes/default/email.teamblog.approved.html.php.backup
./themes/default/email.teamblog.rejected.html.php.backup
./themes/default/email.teamblog.request.html.php.backup
./themes/default/email.template.html.php.backup
./themes/default/blog.read.navigation.php.backup
./themes/default/blog.avatar.php.backup
./themes/default/blog.comment.form.php.backup
./themes/default/comment.facebook.php.backup
./themes/default/group.jomsocial.php.backup
./themes/default/blog.comment.multiple.php.backup
./themes/default/guest.login.php.backup
./themes/default/blog.read.fontsize.php.backup
./themes/elegantblue/blog.category.php.backup
./themes/elegantblue/blog.read.php.backup
./themes/nomad/blog.read.php.backup
./themes/origami/blog.item.email.php.backup
./themes/origami/blog.item.photo.php.backup
./themes/origami/blog.read.php.backup
./themes/origami/blog.read.email.php.backup
./themes/simplistic/blog.read.php.backup
./themes/timeless/blog.read.php.backup
./themes/vintage/blog.read.photo.php.backup
./themes/vintage/blog.read.php.backup
./views/archive/view.html.php.backup
./views/archive/view.ejax.php.backup
./views/blogger/view.html.php.backup
./views/categories/view.html.php.backup
./views/dashboard/view.html.php.backup
./views/entry/view.ejax.php.backup
./views/entry/view.html.php.backup
./views/latest/view.feed.php.backup
./views/latest/view.html.php.backup
./views/subscription/view.ejax.php.backup
./views/tags/view.html.php.backup
./controller.php.backup
./easyblog.php.backup
./views.php.backup
./constants.php.backup
./router.php.backup
·
Wednesday, 24 June 2015 15:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Wow! I had seen my backup size jump from 20MB to 81MB after installing Easy Blog too!!

Thanks for the post Geoff and info..
s
·
Thursday, 25 June 2015 19:00
·
0 Likes
·
0 Votes
·
0 Comments
·
The 5.0.11 update also leaves the zip file behind. I am not convinced that this is a site permissions problem as has been claimed. I have inspected the ownership and permissions on the file and they are all as one would expect. The permissions are 'rw----r--' so the connected user CAN delete it.
·
Friday, 26 June 2015 17:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Geoff Chapman,

I am sorry for the delay of this reply.

Regarding your issue, I actually cannot replicate on my end. After I install EasyBlog, the zip file inside folder JOOMLA/administrator/components/com_easyblog/setup/packages/ was removed.

I try to ftp to your site to see the owner of your EasyBlog folders and I cannot connect to your site. At first I can username or password not accepted. I then try again few more times and I am getting 'connection refused' message Infact, I cant even login to your Joomla backend

Anyway, when you say your permission was set to rw- --- r---, this mean only owner to folders / files can add / remove items. May i know if your Joomla folders own by your apache web user? Please advise

As for those backup files, e.g './themes/default/easysocial.achievements.php.backup', you can safely remove these files from your server. EasyBlog installer always create backup file if there are newer files to copy from the installer. This is to prevent your custom code get removed if EasyBlog overwrite the files. At least now if you've modified EasyBlog core files to customization, you can still get back your changes

Hope these help and have a nice day!
Sam
·
Friday, 26 June 2015 21:36
·
0 Likes
·
0 Votes
·
0 Comments
·
I suspect that you are using the wrong URL to access the back end of our site. Please see the supplied details again, which your colleagues have used successfully to connect. Our folders are owned by the the specific connection user.

I will remove the '.backup' files as suggested since they are not required.

Thank you.
·
Saturday, 27 June 2015 17:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi.

I too am experiencing this issue. I just looked in the directory and found every update from 5.05 upwards in the packages directory. I've deleted them to reduce the backup sizes, but it does seem to be an issue with the installer not removing these packages after installing.

Dave
·
Saturday, 27 June 2015 21:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Dave and Geoff Chapman,

I am sorry for the late reply.

I have again tried to replicate this issue from our end and it seems this issue is not replicated by manually install EB5.0.5 on my local, then I update it to EB5.0.7, EB5.0.9 and EB5.0.13 but it seems this issue cannot be reproduced.

I strongly believe that this issue is regarding the folder permission as my colleague stated earlier. Can you check it for me who is the owner of the Joomla folders. Is the owner of this folder is apache web user?

Hope this helps and please advise.
·
Tuesday, 30 June 2015 14:45
·
0 Likes
·
0 Votes
·
0 Comments
·
The problem still remains even with 5.0.13.

This is a hosted site and thus there is no control of the underlying setup. The account holder 'owns' all the directories and files. Who the 'apache' user is, is not clear. I enclose a listing of the setup directory:

(uiserver):u651xxxx:~/Joomla/administrator/components/com_easyblog/setup > ls -la
total 24
drwxr-xr-x 9 u651xxxx ftpusers 156 Jun 17 13:42 .
drwxr-xr-x 14 u651xxxx ftpusers 4096 Jun 30 09:03 ..
-rw----r-- 1 u651xxxx ftpusers 1116 Jun 30 09:02 ajax.php
drwxr-xr-x 6 u651xxxx ftpusers 75 Jun 17 13:41 assets
-rw----r-- 1 u651xxxx ftpusers 4149 Jun 30 09:02 bootstrap.php
drwxr-xr-x 2 u651xxxx ftpusers 42 Jun 17 13:41 config
drwxr-xr-x 2 u651xxxx ftpusers 4096 Jun 17 13:41 controllers
-rw----r-- 1 u651xxxx ftpusers 13 Jun 30 09:02 index.html
drwxr-xr-x 2 u651xxxx ftpusers 21 Jun 17 13:41 libraries
drwxr-xr-x 2 u651xxxx ftpusers 80 Jun 30 09:03 packages
drwxr-xr-x 3 u651xxxx ftpusers 102 Jun 17 13:41 themes
drwxr-xr-x 2 u651xxxx ftpusers 6 Jun 30 09:04 tmp
(uiserver):u651xxxx:~/Joomla/administrator/components/com_easyblog/setup > ls -al packages
total 35168
drwxr-xr-x 2 u651xxxx ftpusers 80 Jun 30 09:03 .
drwxr-xr-x 9 u651xxxx ftpusers 156 Jun 17 13:42 ..
-rw----r-- 1 u651xxxx ftpusers 18002507 Jun 30 08:54 easyblog_v5.0.12_component .zip
-rw----r-- 1 u651xxxx ftpusers 18002780 Jun 30 09:03 easyblog_v5.0.13_component .zip

As can be clearly seen the (2) zip files remain.

One thing that might be of interested is that I deliberately choose NOT to install any modules, and exclude the 'Content' plugin on the install. It mIght be involved in the problem or might not, but worth mentioning anyway just in case..
·
Tuesday, 30 June 2015 15:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Yeah same thing for me too. Fresh install using the EB loader component and then updated to 5.0.11 the same way.

Nothing major but my backup size went from 18meg to 70 after a few updates.

S
s
·
Tuesday, 30 June 2015 15:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Have tested with the 5.0.14 update and can confirm that the zip file is now removed.

Thank you.
·
Friday, 03 July 2015 15:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Geoff,

Thanks for verifying this issue
Have a nice day!
Sam
·
Friday, 03 July 2015 15:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post