attempt to migrate to new server fails. ftp all files to new server gives error: Error: Your userfile is not writeable.

eagleweb

Joined: 2007-11-26
Posts: 2
Posted: Mon, 2007-11-26 20:33

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL:: http://www.bunnellfamily.us/gallery/
Gallery version:: v1.5.7
Apache version:: 1.3.37
PHP version:: 4.4.7
Graphics Toolkit:: ImageMagick
Operating system:: Linux
Web browser/version:: IE

I had to move servers. Both the old and new servers use cpanel and are with the same company. I transferred all websites over with no problem except this one. I decided to attempt to ftp all files over instead. I did this and when I try to go to the gallery folder I get this error message instead: Error: Your userfile is not writeable.
I then removed the gallery (I renamed my albums folder and left it in the root so my albums and images would not be lost) and downloaded the gallery from your website. I think my other gallery was an older version but I don't know. Once I downloaded the new gallery and set it up, I had a gallery that works. I tired to move my albums into the new albums folder but they do not show up. How can I go about loading all of my old albums, subalbums, and images to this new gallery. OR--- how can I make the old gallery work again (get rid of this error)?

I appreciate any help with this.

Thanks in advance,
Chuck

 
eagleweb

Joined: 2007-11-26
Posts: 2
Posted: Tue, 2007-11-27 01:42

I am leaving this message in case it can help anyone else in the future.

What I ended up doing is going to the old server and renaming the .users file in the albums folder to 'junk'(since you can't seem to delete it or any file in it). Then I deleted the 4 albumdb.dat files and the serial.dat file in the albums folder.
Once I did this, I went to the new server and terminated the website from it, then redid the transfer. After the transfer, I went to the http://www.url/gallery and a page came up stating that some info was wrong and it would now update it. After that, all worked properly.

Hope this helps someone else!

 
tompatterson

Joined: 2004-12-07
Posts: 11
Posted: Tue, 2007-12-25 02:03

What you have is a hidden directory within the albums directory named .users. I changed the permissions on the .users directory to 777 and then went into the directory and changed the permissions on all files to 777 with the chmod 777 * command.

After that, the configeration worked. No more error message that the userfile was not writable.