Loading...
 
Architecture / Installation

Architecture / Installation


1.7.6 update to 1.8.2--Impossible?

posts: 73

Okay...I'm starting to get really disappointed with the tikiwiki team. I've tried to upgrade my 1.7.5 wiki to 1.8.2 three separate times, following all instructions, yet always end up with tons of errors and finally have to restore the old system. What the hell? Is it too much to ask for some decent instructions?

It seems that the major problem I'm having involves permissions, specifically with the setup.sh file. I apparently can't run this script because my server-setup won't let me change permissions recursively. I have shell access, but can only change folders one-at-the-time, not recursively. I'm not sure why.

Whenever I run the setup.sh file I get permissions errors, no matter how I try to set the username or groupname. I asked my host about this, and he replied that my groupname was the same as my username. Again, nothing but permissions errors.

What will it take to get setup.sh to execute properly? Suggestions? Ideas?

posts: 2881 United Kingdom

On an existing installation and without root access you wont be able to re-run setup.sh

Basically in templates_c and the other cache folders will be files owned by apache. now because your group is your username and not "apache" you cant do anything with them.

If your copying the 1.8 files over the 1.7 you shouldnt need to run it. However, my preferred method of upgrade is as follows. Based on my Fedora Core server.

This serves that your current tiki site lives in a public_html, some hosts call it web others www.

  1. Backup filespace and database
  2. move contents of public_html to public_html_old
  3. Extract tiki 1.8 to emptied public_html folder
  4. run setup.sh for permissions or manually chmod
  5. Run tiki-install.php and setup database connection
  6. Run the 3 upgrade scripts in the correct order as given at the bottom of tiki-install.php screen
  7. browse to site and make sure things look ok (theme might not appear)


Now its time to copy over "user data" again your folders and names might be different

Copy to clipboard
cp public_html_old/styles/mytheme.css public_html/styles/. cp -R public_html_old/styles/mytheme public_html/styles/. mkdir public_html/templates/styles/mytheme cp -R public_html_old/templates/styles/mytheme/* public_html/templates/styles/mytheme/. mkdir public_html/storage mkdir public_html/storage/igallery mkdir public_html/storage/fgallery cp -R public_html_old/storage/igallery/* public_html/storage/igallery/. cp -R public_html_old/storage/fgallery/* public_html/storage/fgallery/.


storage/igallery and fgallery are my image and file gallery disc storage folders. make sure they end up in the same location smile

Thats about it.

Damian


posts: 73

Okay...I'll try again this weekend. Hopefully things will go more smoothly this time. Thanks for the extended list of instructions!

At one point you say, "Run setup.sh." However, we seem to have established that it's not possible if I can't become the root. Are the chmod settings more complicated than just chmodding to 777 the 8 or so directories mentioned in the install?


posts: 73

I was finally able to update my 1.7.3 site to a 1.8.2. The task was difficult, and I doubt that anyone without considerable patience and extensive experience with mysql and shell would be able to accomplish such a feat. Clearly, the update scripts need an overhaul.

The biggest problem I encountered was with the comments fix. It took me hours to finally recover the old messages from my 1.7.3 forums. The problem was that the script was looking for non-existent columns in my old comments directory. Thankfully, I made backups of everything before running the scripts, and didn't lose anything.

This is an obvious and major flaw in the update scripts that ought to be immediately addressed.

The other major problem I had during installation was with the setup.sh script. It didn't work before, but magically worked today. I have no clue why or how. This problem should also be addressed with the wiki team.

Guys, no matter how great and wonderful tikiwiki is, if it's difficult for people to install it, it won't catch on. We really need to spend time on documentation and ensuring that the install instructions/scripts work. I consider myself a pretty resourceful guy when it comes to this stuff, but this update was DIFFICULT and extremely time-consuming (we're talking days here.)

If tikiwiki is to be successful, we will need to ensure that it installation is fairly easy. We can assume some level of knowledge, but not advanced skills like editing scripts or working with shell. Please!

posts: 2881 United Kingdom

> blacklily8:
> I was finally able to update my 1.7.3 site to a 1.8.2. The task was difficult, and I doubt that anyone without considerable patience and extensive experience with mysql and shell would be able to accomplish such a feat. Clearly, the update scripts need an overhaul.
>

tiki-install needs a rewrite.

> The biggest problem I encountered was with the comments fix. It took me hours to finally recover the old messages from my 1.7.3 forums. The problem was that the script was looking for non-existent columns in my old comments directory. Thankfully, I made backups of everything before running the scripts, and didn't lose anything.

mmm, did you run comments fix after the 1.7to1.8 update script? I havent experienced any problems upgrading any of my 1.7 tiki sites, including doc.tikiwiki.org.

> This is an obvious and major flaw in the update scripts that ought to be immediately addressed.

You welcome to contribute. Personally Ive not experienced problems. Without a database with problems I have no bugs to kill.

> The other major problem I had during installation was with the setup.sh script. It didn't work before, but magically worked today. I have no clue why or how. This problem should also be addressed with the wiki team.

again, without it happening here, or more frequently intermittent bugs are a problem to trace and kill.

> Guys, no matter how great and wonderful tikiwiki is, if it's difficult for people to install it, it won't catch on. We really need to spend time on documentation and ensuring that the install instructions/scripts work. I consider myself a pretty resourceful guy when it comes to this stuff, but this update was DIFFICULT and extremely time-consuming (we're talking days here.)

1.7 to 1.8 update was very awkward, 1.8 to 1.9 will be an easier upgrade, and I think for 2.0 we will rewrite the installer completely.

> If tikiwiki is to be successful, we will need to ensure that it installation is fairly easy. We can assume some level of knowledge, but not advanced skills like editing scripts or working with shell. Please!

Damian


posts: 2881 United Kingdom

> blacklily8:
> I was finally able to update my 1.7.3 site to a 1.8.2. The task was difficult, and I doubt that anyone without considerable patience and extensive experience with mysql and shell would be able to accomplish such a feat. Clearly, the update scripts need an overhaul.
>

tiki-install needs a rewrite.

> The biggest problem I encountered was with the comments fix. It took me hours to finally recover the old messages from my 1.7.3 forums. The problem was that the script was looking for non-existent columns in my old comments directory. Thankfully, I made backups of everything before running the scripts, and didn't lose anything.

mmm, did you run comments fix after the 1.7to1.8 update script? I havent experienced any problems upgrading any of my 1.7 tiki sites, including doc.tikiwiki.org.

> This is an obvious and major flaw in the update scripts that ought to be immediately addressed.

You welcome to contribute. Personally Ive not experienced problems. Without a database with problems I have no bugs to kill.

> The other major problem I had during installation was with the setup.sh script. It didn't work before, but magically worked today. I have no clue why or how. This problem should also be addressed with the wiki team.

again, without it happening here, or more frequently intermittent bugs are a problem to trace and kill.

> Guys, no matter how great and wonderful tikiwiki is, if it's difficult for people to install it, it won't catch on. We really need to spend time on documentation and ensuring that the install instructions/scripts work. I consider myself a pretty resourceful guy when it comes to this stuff, but this update was DIFFICULT and extremely time-consuming (we're talking days here.)

1.7 to 1.8 update was very awkward, 1.8 to 1.9 will be an easier upgrade, and I think for 2.0 we will rewrite the installer completely.

> If tikiwiki is to be successful, we will need to ensure that it installation is fairly easy. We can assume some level of knowledge, but not advanced skills like editing scripts or working with shell. Please!

Damian


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting