Moved a site from one folder to another in my hosting - permission errors

Permalink
Hi,

I created a folder in my file system under my domain to develop a concrete5 site. I then moved it to the appropriate folder in my hosting (sub domain). It asked me to install, I did, got through all the tests except the dreaded permission one "Writable Files and Configuration Directories." I've contacted GoDaddy and they assure me that files, config and packages are all 777. I still get this error - even now in the old folder. I've done this process before and it worked. What am I missing, forgetting or need to do? Site is down - not good for the client.

Thanks.

 
davidofadelaide replied on at Permalink Reply
davidofadelaide
have you also checked that 'files' is writable?... sorry just re read your message.

I would FTP to your server yourself and check the permissions of the folders that way.

Also confirm the PHP version is the same I have had issues with that moving servers before.
jkincaid replied on at Permalink Reply
Thank you. I was assured that, even though they couldn't run chmod -r 777, that everything in the site was set to 777. I started to check using fetch last night but at 1:30 I decided to crash. :-). I do know that /file and /concrete/packages and /concrete/conf if were set.

I'm thinking now to delete all in the directory, do a clean install of the version of concrete5 I need, copy over only the necessary directories (would need to review which I need), point to my existing database and see if that fixes it. Any faults with that plan that you see?

Again, thanks.
davidofadelaide replied on at Permalink Reply
davidofadelaide
seems a drastic reaction to wipe and clean install, but as long as you make sure you have a complete backup first you can always go back to the original.

I have done this solution as you are suggesting before:

- clean install
- copy required files
- point to original DB
- manually re config (point to the right database)

Good Luck.
jkincaid replied on at Permalink Reply
Hi and thanks.

What are the required files?
jkincaid replied on at Permalink Reply 1 Attachment
So tonight I created a Automater script to use Fetch to change everything under my domain root to have permissions of 777. I am still getting the error "The config/, packages/ and files/ directories must be writable by your web server."

I've not yet tried my mac-truck solution of deleting everything (since I have a copy of the entire site) under my root, doing a fresh install of 5.6.3.1, pointing it to my existing database, copying over files... (followinghttp://documentation.concrete5.org/developers/installation/moving-a...

Any additional hints or ideas before I crank up the mac-truck fix?

Thanks.

Thank you!
jkincaid replied on at Permalink Best Answer Reply
SOLUTION

I zipped up the site and downloaded it to my desktop.
I cleared the site (deleted everything under root).
I created a temp database to use for re-installation of concrete5.
I reinstalled my version of concrete5 pointing to the temp database.
I edited the site.php to point to my real/existing database.
The only odd thing was that images were not showing. To fix this I simply edited the pages, clicked on the image to edit it (which caused the image to show in edit mode) and then saved and published.

All is well now.

Thanks!