PDA

View Full Version : Upgrade Problems


Lazorbeam
03-22-2012, 02:06 PM
Hello,

I'm trying to upgrade from 4.1.8 to 4.1.11. I've closed my forums and uploaded all files to my server.

When I run the upgrade script, I get this error:

"The 'clientscript/vbulletin_css' directory and/or its sub directories is/are not writable. Please make sure that this directory and its sub directories are writable by your web server"

Ok, no big deal right, just CHMOD to 777. Turns out the folder is already 777. Do the containing folders need to be 777? I tried to CHMOD the containing folders to 777 but got this error: 550 Could not change perms on postbit-lite-ie.css.gz: Operation not permitted

I'm logged in FTP as admin. What's going on?

I also tried to store css sheets as files and got a database error, presumably because I've replaced some php files.

kh99
03-22-2012, 02:20 PM
I'm thinking maybe you can't change the permissions because your user (admin) doesn't own the files. You might be able to change the owner of them to admin, or you might be able to delete them (then you can either re-upload them or else they'll be rebuilt by vbulletin). Edit: I guess they'll be rebuilt because there are no files in that folder in the vb distribution, so you should be OK deleting them.

Lazorbeam
03-22-2012, 04:20 PM
I'm thinking maybe you can't change the permissions because your user (admin) doesn't own the files. You might be able to change the owner of them to admin, or you might be able to delete them (then you can either re-upload them or else they'll be rebuilt by vbulletin). Edit: I guess they'll be rebuilt because there are no files in that folder in the vb distribution, so you should be OK deleting them.

Alright... copying them over and then deleting.

Otherwise I will restore from backup (made just before upgrade attempt) and store css files in database instead.

--------------- Added 1332439073 at 1332439073 ---------------

Since I didn't own the files, I couldn't delete them through FTP.

Had to delete the entire folder through SSH. Recreated the folder, installation in progress.

--------------- Added 1332459886 at 1332459886 ---------------

Update: I was logged in as "admin", which isn't actually the root ftp account. Doh.