Custom CSS disappearing from Journal style sheet

Description of issue or problem I’m having:
The custom css that we uploaded in settings>website> advanced >journal style sheet is not showing when we go to the path

Steps I took leading up to the issue:
i removed the custom css and re-added again. it shows and when i came back to the same path. its not there.
i uploaded custom css and saved it couple of times then it stays there however when i log out and log in back it disappears again

What I tried to resolve the issue:

Application Version - e.g., OJS 3.1.2:

Additional information, such as screenshots and error log messages if applicable:
Screen Shot 2022-05-12 at 12.14.22 PM

@rcgillis @NateWr is this behavior a known bug for this version?

Hi @deepakc,

Hmmm… I don’t think so, but do you have PHP error log messages that you can share? That might give a better indication of what is going on.

PKP Team

i didn’t find anything in the logs. i’ll check again today and will post them. thanks for replying

PHP Warning: chmod(): Operation not permitted in /storage/www/ee/ojs/lib/pkp/classes/file/ on line 541

whenever i tried to save the css file. it gave above message in the logs.

@rcgillis @NateWr any idea on what can be done here?

Hi @deepakc ,

That’s an issue regarding your files permissions settings.
The public_files_dir directory, as defined in, should be writeable.