[Issue Report]Attachment Upload caused Server Error (500)

201 views
Skip to first unread message

Yi Du

unread,
Apr 17, 2019, 10:33:17 PM4/17/19
to QATrack+
Hi Randle and other fellows,

When I tried to create a new testlist, and add an attachment to it, I failed to make it and instead met with a Server Error (500) in Chrome. 

The related files are uploaded as attachments. 

Awaiting for any solution, and many thanks.

Yi
[Issue Related Operation]Attachment Upload.png
[Server Error 500]Error description.txt
[Server Error 500]Tracebak information.txt
Error Snapshot.png

Randle Taylor

unread,
Apr 17, 2019, 10:59:52 PM4/17/19
to Yi Du, QATrack+
This is a problem with the upload directory not being writable by the web server process.

Assuming you are using Apache, making sure your user is part of the www-data group and the folder is owned by www-data should resolve the issue:

sudo usermod -a -G www-data $USER
sudo chown -R www-data:www-data ~/web/qatrackplus/qatrack/media/
sudo chmod -R g+rwx ~/web/qatrackplus/qatrack/media/


Hope that helps!

--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yi Du

unread,
Apr 18, 2019, 12:42:20 AM4/18/19
to QATrack+
Thanks for your reply, Randle. 

The solution works well. 


On Thursday, 18 April 2019 10:59:52 UTC+8, Randle Taylor wrote:
This is a problem with the upload directory not being writable by the web server process.

Assuming you are using Apache, making sure your user is part of the www-data group and the folder is owned by www-data should resolve the issue:

sudo usermod -a -G www-data $USER
sudo chown -R www-data:www-data ~/web/qatrackplus/qatrack/media/
sudo chmod -R g+rwx ~/web/qatrackplus/qatrack/media/


Hope that helps!

On Wed, 17 Apr 2019 at 22:33, Yi Du <dymar...@gmail.com> wrote:
Hi Randle and other fellows,

When I tried to create a new testlist, and add an attachment to it, I failed to make it and instead met with a Server Error (500) in Chrome. 

The related files are uploaded as attachments. 

Awaiting for any solution, and many thanks.

Yi

--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qat...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages