Loading...
 
Skip to main content

Architecture / Installation


How to upgrade?

posts: 15 Germany

Just a few days ago I installed 1.9.RC3 and I want to upgrade to RC3.1. How to do that? Is my only option to replace the directory with the new version and run the installer again? I tried this already, anyway, and it seems there are distinctive differences between RC3 and RC3.1 regarding permission settings. F.i. many directories now have a sticky bit on the group. Installation of RC3 was a matter of seconds. I ran "setup.sh user group" (with user and group being the user and group of that virtual host in Apache) and was able to continue with setup. If I do the same with RC3.1 the "welcome" message from the installer about lots of non-writable directories doesn't change. Example of differences:
RC3: dir backups: rwxrwsrwx owner group
RC3.1: dir backups: rwxrwsr-x owner group

So, can I rather avoid the clean install for an upgrade or if not: what do I need to do different from RC3?

Thanks.

posts: 15 Germany

Ok, with the missing write permission for all and the fact that mod_php runs as the Apache user, anyway, I ran "setup.sh user apachegroup". That made it work. Is that the recommended way? After that I just continued in the wiki instead of upgrading or installing the database.
Should I remove "templates_c" as I have seen in some other upgrade instructions?

Of course, I meant to say "SGID" instead of "sticky" bit above.


posts: 1092

- templates_c will be automatically updated because the .tpl are more recent that their compiled versions of templates_c... But bettre to do ...never knows
- don't forget to run mysql -f < db/tiki_1.8to1.9.sql otherwise you will have database errors
- when you update in the same directory... yes perhaps you can have conflict because the directories from the download are writteable by you and some directories from the running processe are writteable by apache user ...


posts: 26 Indonesia

I upgrade my tiki 1.8.4 to 1.8.4.1 using this way :
Note : I don't modificate any of tikiwiki files and there is no database upgrade for the 1.8.4 to 1.8.4.1 .

1. remove the content of the tikiwiki directory
2. download and extract the new tikiwiki
3. copy the new files to the old tikiwiki directory
4. run ./setup.sh again


posts: 15 Germany
Thanks for the comments. It seems the main problem was that I used "user group" instead of "user apachegroup" or "apacheuser apachegroup" for setting the permissions. "user group" worked just fine with RC3, but RC3.1 changed in this respect. I think the documentation says to use "apacheuser apachegroup", but I first wanted to see if it works without that and it did, with RC3.