Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Upgrading Customized Installs



Threaded Mode | Print  

 Upgrading Customized Installs, Upgrading Customized Installs (7 Replies, Read 3282 times)
mylogon
Group: Member
Post Group: Newbie
Posts: 27
Status:
I do not see any notes anywhere, so I will ask, if one customizes an install, does the upgrade make a diff file of the changes versus the normal install, as does Fantastico?  Or do you have to have an old install and custom install both installed to create our own diff file?

IP: --   

Upgrading Customized Installs
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Hi,

Are you talking about custom scripts i.e. you have made a new package ?
Or is it related to a installation modification e.g. you installed SMF and modified the themes

Regards,
Alons

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

Upgrading Customized Installs
mylogon
Group: Member
Post Group: Newbie
Posts: 27
Status:
Mainly modifications to a php file.  Can be a theme file, or just a language file (quite often is english.php)  For example, in Coppermine.



Edited by mylogon : December 4, 2009, 6:52 am
IP: --   

Upgrading Customized Installs
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
Hi,

Only the DEFAULT files like default themes and languages will be replaced.
All scripts mention to make a new copy of the theme or language directory and then modify it.
Same goes for Coppermine.

Softaculous will not touch any custom file or directory if its not there in the Defualt package.

Regards,
Alons


-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

Upgrading Customized Installs
mylogon
Group: Member
Post Group: Newbie
Posts: 27
Status:
The files are part of the original install, and were modified.  The way Fantasticao manages this  is that it creates a diff file before it updates, and then make the user responsible for reintegrating the changes if they annot do so automatically, i.e., there are errors doing a patch.

I think you most definitely need this feature.  Without it, a huge problems can occur in updating customized files, one that the end user would not even be aware of, until things just "do not work" - the call we all hate to get.

Example file for Coppermine:

/home/domain.com/www/gallery/lang/english.php

This is part of the default install, and is, and quite often, must be modified.  Many scripts have similar files and problems.  A diff file is a necessity, IMHO, and patching should be attempted, and if failed, then the roll back.  If fine, then proceeds.

Alon you can PM me, and we can go into private chat, if you are not clear on what I am saying.




IP: --   

Upgrading Customized Installs
gieathome
Group: Member
Post Group: Working Member
Posts: 160
Status:
Quote From : mylogon December 4, 2009, 7:42 am
The files are part of the original install, and were modified.  The way Fantasticao manages this  is that it creates a diff file before it updates, and then make the user responsible for reintegrating the changes if they annot do so automatically, i.e., there are errors doing a patch.

I think you most definitely need this feature.  Without it, a huge problems can occur in updating customized files, one that the end user would not even be aware of, until things just "do not work" - the call we all hate to get.

Example file for Coppermine:

/home/domain.com/www/gallery/lang/english.php

This is part of the default install, and is, and quite often, must be modified.  Many scripts have similar files and problems.  A diff file is a necessity, IMHO, and patching should be attempted, and if failed, then the roll back.  If fine, then proceeds.

Alon you can PM me, and we can go into private chat, if you are not clear on what I am saying.






I beg to disagree. I am not comfortable to leave to the hands of the owners/admin the "integration" part.

What I will suggest will be to provide a way for users to modify themes or to customize. No one should be changing the core/original file. I don't believe that core files should be changed. It would be a better idea if Softaculous can find a way to provide customizations for the users without modifying the core/original file.

For example in Wordpress, if you change the original file, it will really get overwritten when you do upgrade, and that's how it should be. But they offer customization using folder "wp-content" and the user is free to customize it. Everything in the wp-content folder is not overwritten during the upgrade. I believe that is the correct way to handle customizations and upgrades.


Edited by gieathome : December 4, 2009, 1:51 pm
IP: --   

Upgrading Customized Installs
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
mylogon I understand what you mean.

As far as I know Fantastico doesnt do this as per what you have said.
It doesnt compare any difference in the files and make PATHCES accordingly.

Its actually a very complex procedure to do so and the RAM requirements would be intense.
Because it would be something like a SVN and could you imagine comparing 1000s of file in just seconds.

It impossible and it would crash the server.
Making a list of differences is very complex and sometimes even SVNs fail to do it.

Also as far as I know all software recommend making different files for langs and themes.

I guess only scripts like SMF have a efficient Mod management system but in case of major updates you simply have to REINSTALL all patches.

Regards,
Alons

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP
IP: --   

Upgrading Customized Installs
mylogon
Group: Member
Post Group: Newbie
Posts: 27
Status:
It did on some Coppermine installs - I remember all the warnings they gave about checking as they could not guarantee.

However, I no longer have any of those customized through Fantastico anyway.

So thanks.  It would be nice, but I did not think it would be so.

(It would not be as bad as you say, as the one I saw only checked files installed in the installation for changes  - not any additional ones added.)

gieathome - I wish that was possible, but not all programs allow for that - see the example I gave.  You have to make the changes in that file or create entire new language files in several places.  Those would be overwritten or not work with many updates.

.inc files are definately the way to go - but I do not write the code (nor would I be that good at it.)  Cannot complain too much for open source stuff, either.



Edited by mylogon : December 9, 2009, 9:53 am
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 14, 2024, 11:52 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.021