One or more files could not be uploaded

I have a new install of OJS 3.4.0.8 running on PHP version 8.2.28 on Direct Admin control panel on a subdomain at https://journal.westernfieldornithologists.org
OS: Linux
Apache Version: LiteSpeed
Dbase: 10.6.20 Maria DB

I installed OJS using Softaculous and was able to set up the basic configuration but when I try to upload a logo and images, I get the “One or more files could not be uploaded” error message same as this thread:

I see the solution in that case was: “changed ownership to the administration username of the server.” I did this but I still cannot upload files.

Via MySQL I changed the username of the site administrator to the admin username of the server. Then I tried to upload the file and got the same error message.

I checked the error logs and I don’t have any error log entries for this subdomain or in any log folders. I turned on log_errors in PHP settings for the server and display errors to On but in my Php info file display_errors is set to Off.

Please help. I am new to OJS. I have worked with WordPress for years. I thought I would be able to create any admin username I wanted. The files_dir folder also has the UID of the server.

Maybe this is the issue:


No site administrator is listed. I added the first Journal so it appears I am the Journal manager and not administrator? Can the administrator not also be Journal Manager?

Does the public directory with and all its subdirectories have write permissions for the apache user or group?

public folder


Public folder permissions screenshots. All of the subfolders have the same permissions, except for the Journal volume (1) which is 775.

Or by public directory do you mean public_html? I tried that by adding write permissions for user and group 775 and still could not upload so I changed it back to 755.

What does your PHP error log indicate when you try to upload a file?

That’s part of the problem. There’s nothing in the error log. So I’m in the dark about what the issue is. I’m going to hire a freelancer who understands server configuration to help me. I’ll report back what I discover in case it can help others who might have the same issue.

I installed OJS on another hosting platform that uses cPanel instead of DirectAdmin and I had no problem uploading images, so I can speculate that it has to do with default configurations within DirectAdmin.