The Following Directory is not writeable. The Following Directory is not writeable.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

The Following Directory is not writeable.

Started by sjj1805, March 02, 2020, 04:12:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sjj1805

Only a few weeks ago I upgraded my coppermine to the latest available version CPG Release 1.6.07
I have regularly kept the site updated when the CPG Release message appears - Until now. Suddenly I am faced with a message to say my Albums directory is not writeable. My site is hosted on my own Windows 10 Pro computer. I have logged onto Windows as an Administrator.
I have checked the Windows Explorer directory permissions and set it to "Everyone" and given it all permissions, read, write, edit, delete and so on.
I have checked the IIS Webserver permissions and checked that anonymous access is allowed to the albums directory.
Cleared my browser web cache.
Used a different browser - Internet explorer instead of my usual firefox.
I even logged into the CMD prompt as an administrator and checked the directory was not read only, hidden or showing as system. (Attrib -s -h -r)
Out of ideas now, so what else can I try?

ron4mac

I don't have an equivalent system to check with. The 'albums' folder must be writeable by the web server. In linux systems it is typically 'owned' by the user id that the web server is running as.

What changes did you make to your system since you had upgraded to 1.6.07?

sjj1805

Thats the problem, None apart from installing the new one on top of the existing one then restoring any of my own modifications, mostly my own theme in the themes directory.
Its located on my own computer so I have full control over it. I logged into Windows using an Administrator account.
I double checked that the windows directory has full read/write access to everyone including any sub folders.
Just in case it was a web cache issue I cleared the cache. When that didnt work I tried again from another browser.
Thats when I decided to post here just in case there was an issue with one of the updated files in the latest version.

sjj1805

I have noticed that CPG Release 1.6.08 is now available. Perhaps I need to try a clean install then copy over my Albums and Theme

sjj1805

I have removed and reinstalled the coppermine installation with the new version and then put my albums directory back in place.
However we will not know if this has worked or not until the next coppermine update because the error only shows up when the "Available update" procedure kicks in.
When it does I will let everyone know if the issue has been cured or not.
Regards, Steve Jones

sjj1805

Its happening again with the latest release

sjj1805

I have found a quick workaround.
1. Cut and paste the "Albums directory" to somewhere else on the SAME hard drive (takes seconds even on a very large album)
2. Now create a new (empty) albums directory and make sure it is read/write and has all the permissions for everyone
3. Now you can do the upgrade.
4. cut and paste the original albums directory back.

sjj1805

I have finally worked out what was causing this issue. I had used the Windows option to customise the folder icon. It was that which caused the issue.
if you do not change the default folder icon the update will work