For me I have the following permission on a parent folder, eg dataroot:
drwxr-xr-x 20 userA userA dataroot
Then on the maharadata folder I have:
drwxr-xr-x 17 www-data www-data maharadata
Where the webserver itself is the owner of the subdirectory as it needs to be someone that has permissions to write when executing a webservice call (ie. browsing the website and saving session data)
Hope that helps
Robert
Why do you have a UserB for your directory and not kept userA? Usually, the owner of that maharadata directory should be www-data. Why did you move the maharadata folder anyway? When you switch domains, typically, you only have to update the database with the new wwwroot if everything else stays the same.
If you move the site entirely to a new setup, there are a few more things to change. You can find information for that in the instructions for copying a local install to another.
Cheers
Kristina
]]>Mahara: Site Unavailable
Your defined data root directory, /home/m_xyz_mh/maharadata/, is not writable. This means that neither session data, files nor anything else that needs to be uploaded can be saved on your server. Please create the directory if it does not exist or give ownership of the directory to the web server account if it does.
we deleted the session folder and it gets recreated
We deleted wwwdata in the database - like recomended. but nothing changed we can't access the site. If we bring it back - which means clone it back it runs just perfect again.
The database gets cloned too and in the clone we delete the wwwroot entry as Kristina suggests
https:/ /mahara.org/interaction/forum/topic.php?id=7277 we did that already!
What else needs to be changed that this pretty strange behavior stops and this error message which seems to be a complete misleading one - does no more appear and instead the site is showing up?