Support Forum

Upgrade from 4.4.5 to 5.0 simple-press

MA Mani
Mani
Member

Hi everyone

I am running simple-press 4.4.5 ( with wordpress 3.2.1) and would like to upgrade to Wp3.8 and latest of simple-press, Simple-press 5.X.

The upgrade link has mentioned  upgrading from 4.5. For 4.4.5, Can I just remove the 4.4.5 folder and upload the latest folder?

I am planning to do  the following after taking backup of folders and db.

1. Upgrade wp to 3.8 (using svn )
2. Remove the ‘simple-forum’ folder in current 4.4.5 and upload 5.4 ‘s simple-press folder
3. Activate 5.4 (assuming 5.4 is latest).

Are these steps correct?

Any suggestions/pointers would really help before I go about this upgrade in my production setup.

Wishing you all happy holidays
Thanks
Mani.

20 Answers

New Answer

MP Mr Papa
Mr Papa
Member

always tricky when coming this far back since there are wp compatibility issues… make sure to make db backups at each step…

first, upgrade to 4.5…  see:  http://codex.simple-press.com/codex/installation/upgrading/previous-simplepress-versions/

then upgrade wp to 3.8…

then upgrade to sp 5.4…  see:  http://codex.simple-press.com/codex/installation/upgrading/upgrading-version-4-5/

again, make db backups just to be safe…

MA Mani
Mani
Member

Thanks for the reply Mr Papa.

 I have a question. I see in the list of previous versions, Version: 4.5.1 is closer to 4.5. So I downloaded that and in the read me file, it mentions it is for WordPress 3.3+ only. Should I do an intermediate upgrade to 3.3 before I upgrade SP to 4.5?

 My current WP is 3.2.1

 

MP Mr Papa
Mr Papa
Member

you should be able to upgrade to 4.5.1 on current wp (some stuff might not work but you just want to update the db)…  then update WP to 3.8 and update SP to 5.4….

at least that is what I would try first…   but again, make db backups along the way so if there is a problem, you can go back and try again like you said with interim wp…

MA Mani
Mani
Member

MrPapa,

Looks like there is a problem.

I got my wp upgraded to 3.3 (successful)

then upgraded SP to 4.5.1 ( successful)

then upgraded SP to 5.2.6 ( which also needs 3.3+) it said successful but then I visit the forum page

it says “

Either the theme CSS file and/or color Overlay file from the selected theme is missing“

Then I realized that my wp-content folder was having all the files it should be with the new release 5.2.6. How do I move forward? Can I run the upgrade to 5.2.6 again to reinstall those missing files? mostly theme related?

Thanks

Mani

 

 

 

YS Yellow Swordfish
Yellow Swordfish
Member

So does this mean that your wp-content folder was not allowing new folders to be created? We try and create a folder called ‘sp-resources’ under ‘wp-content’. Is that there and if so what folders are defined within it?

MA Mani
Mani
Member

thanks for the reply.

 

I see the following files now. The folder sp-resources that is displayed below is created me when I tried to remove the directory and did an activate again to see if the copy is attempted again.

 

index.php
upgrade
forum-media-uploads
forum-file-uploads
forum-badges
forum-avatar-pool
forum-policies
forum-avatars
forum-smileys
forum-image-uploads
uploads
themes
sp-resources
plugins

MA Mani
Mani
Member

Basically, when I realized that the sp-resources directory is not created, I deactivated and removed the simple-press directory and then installed it again and activated it. It didnt show the “Perform upgrade” button this time.

YS Yellow Swordfish
Yellow Swordfish
Member

And what is in the actual ‘wp-content/sp-resources’ folder please?

MA Mani
Mani
Member

there isnt anything. It was created by me after I found that the installer couldnt create it. I created it so that I can re-run the installer but that was in vain.

YS Yellow Swordfish
Yellow Swordfish
Member

OK. The important thing is to work out why it did not create the necessary folders but we can return to that. If tt happens – which is rare – then it usually comes down to a permissions issue.

Ok – in the unzipped install file in /simple-press/sp-startup/install/ you should find a file named sp-resources-install-part2 and in this file are three folders that need to go in the wp-content/sp-resources folder so you should be able top move those folders in. They are ‘forum-plugins’, ‘forum-themes’ and ‘forum-language’.

 

 

 

MA Mani
Mani
Member

Since I reinstalled the plugin files I didnt find the unzipped direcotry. but I did find a sp-resources-install-part2.zip which I extrated into the sp-resources directory. now when I visit the forum page, this is the error I get.

 

Warning: fopen(/f5/geekgardener/public/wp-content/sp-plugin-scripts-footer.js) [function.fopen]: failed to open stream: Permission denied in /f5/geekgardener/public/wp-content/plugins/simple-press/sp-api/sp-api-plugins.php on line 722

I guess I need to copy these js files as well. I am unable to find their location in the directory tree of SP.

YS Yellow Swordfish
Yellow Swordfish
Member

As suggested – you almost certainly have a permissions issue on the wp-content folder. All folders should have a permission pf 755 and files 644 – I am supposing yours are not.

MA Mani
Mani
Member

My host is nearlyfreespeech.net and appears that there are some permission issues as you pointed out.

Is there a way I can re-install the plugin ,so that it will copy all the files again by itself ?

Really appreciate the support so far. thanks.

mani

YS Yellow Swordfish
Yellow Swordfish
Member

To be honest not that I can think of.  The important thing at the moment is to protect the data so I think manual permission setting and copying is the best policy.