Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 5, 20223 yr Im getting this error: while trying to change "Theme Resources" folder from "..../uploads" to ".../uploads2"
January 5, 20223 yr As mentioned in the message there, the system cannot create folders. The uploads folder and all its subfolders must be fully writable
January 5, 20223 yr Author 3 minutes ago, Marc Stridgen said: As mentioned in the message there, the system cannot create folders. The uploads folder and all its subfolders must be fully writable @Marc Stridgen as you can see all other folders are transfered successfully. the only "Theme Resources" does chmod my folder to 666 from 755 right after i apply to change it. Edited January 5, 20223 yr by Maxtor
January 5, 20223 yr Author @Marc Stridgenforum theme is broken, and folder change process got stuck there. what can i do now?
January 5, 20223 yr Please update the access details in your client area, and we can take a look for you. Also, we will continue via the ticket I have just responded to, as you have 2 tickets and a topic open at present
January 5, 20223 yr 1 hour ago, Maxtor said: @Marc Stridgenforum theme is broken, and folder change process got stuck there. what can i do now? Your ticket has already been escalated. If you need to revert quickly, it would be best to revert to your backup taken prior to this process.
January 17, 20223 yr @Maxtor Did you manage to fix this? I'm getting the same issue. Changing the Storage method for anything change the destination folder to 666 and it become not writable.
January 18, 20223 yr 12 hours ago, Donnie95 said: @Maxtor Did you manage to fix this? I'm getting the same issue. Changing the Storage method for anything change the destination folder to 666 and it become not writable. That is not the same issue. If your system requires different permissions you would need to change the permission of that folder. You can add a constants.php file with the relevant permissions if required also.
January 18, 20223 yr 3 hours ago, Marc Stridgen said: That is not the same issue. If your system requires different permissions you would need to change the permission of that folder. You can add a constants.php file with the relevant permissions if required also. @Marc Stridgen I have already tested this method, no change. I have tested on a different server with different configuration and I can confirm that changing the folder in Files > Storage settings sometime change destination folder to 666 when the moving task is done. It may only happen with certain conditions. Maybe you can ask a developer about this issue, someone might know what is causing it.
March 22, 20222 yr With regards to theme resources - it's not moving the files (mostly - images are moved), but it's actually just re-creating them on the fly from what's in the database as you access the site. When it does this, it automatically creates the folder using PHP's mkdir() function and attempts to CHMOD it to the correct permissions using the chmod() function. If either of those fail, then an error will be thrown. Both of these do, use the configurations as noted in the documentation. It will only ever do this once, though, when it creates the folder. If the CHMOD permissions of the folder are being changed after it was initially created, then that would be caused by something else outside of the software. I'm not seeing any instances where the software changes it to a value other than what is defined by your configuration. All of that said, however, getting to the root cause of this would likely require us to take a look at the affected site. If you are still experiencing this issue, I would recommend starting your own topic so we can start clean and take a look for you specifically.