Forum

Unable to upload lo...
 
Notifications
Clear all

Unable to upload logo image: Unable to write to:/support/osta/uploads/

12 Posts
4 Users
0 Reactions
49 Views
Posts: 6
Topic starter
(@mayberts)
Member
Joined: 6 years ago

I don't seem to be able to upload custom images.  /osta/uploads is there and permissions are 755

Not sure how to troubleshoot this.

osTicket v1.14.2 // osTicket-1.14.2-Awesome-102
PHP 7.2.24-0ubuntu0.18.04.6 // MySQL 5.7.30 // Apache/2.4.29 (Ubuntu) web server

thanks

mayberts


11 Replies
Posts: 4
 esbd
(@esbd)
Member
Joined: 6 years ago

Hi,

We just bought this template and we are facing the same issue  with same version. Can you please help ?

osTicket v1.14.2 // osTicket-1.14.2-Awesome-102
PHP 7.2.24-0ubuntu0.18.04.6 // MySQL 5.7.30 // Apache/2.4.29 (Ubuntu) web server

/osta/upload folder exists and rights are correct 755.

Thanks


Reply
Posts: 6
Topic starter
(@mayberts)
Member
Joined: 6 years ago

I found a workaround, I uploaded our image using WINscp


Reply
Posts: 1177
Admin
(@stevland)
Member
Joined: 2 months ago

It is a really interesting coincidence that you are both experiencing the same problem out of the blue.

I also notice that you both have the exact same software environment:
PHP 7.2.24-0ubuntu0.18.04.6 // MySQL 5.7.30 // Apache/2.4.29 (Ubuntu) web server

MySQL 5x is still supported by osTicket, I believe, but probably not for long as it is seriously outdated. I recommend updating to 7x. It would seem unrelated to this, but how knows? It may help.

EDIT: I clearly need to drink more coffee. I was conflating PHP with MySQL. MySQL 5x is completely fine.

Please check your Apache error logs for relevant errors around the time that you attempt to upload a file. Let me know.

In addition to setting the upload directory permissions to 755, please verify that the directory owner is the same account that your main website runs under.

Finally yes, using an FTP program (such as WinSCP or FileZilla) is a good workaround. I'd prefer to have things working as expected on your end, but luckily uploading logos or backgrounds isn't the type of thing you're likely to do very often.


Reply
Posts: 6
Topic starter
(@mayberts)
Member
Joined: 6 years ago

I have updated mysql and still getting the same error.

osTicket v1.14.2 // osTicket-1.14.2-Awesome-102
PHP 7.2.24-0ubuntu0.18.04.6 // MySQL 8.0.21 // Apache/2.4.29 (Ubuntu) web server


Reply
Page 1 / 3
Share: