solgenomics / breedbase_dockerfile

The Dockerfiles for breeDBase
MIT License
8 stars 8 forks source link

Barcode tempfiles dir missing #15

Closed bellerbrock closed 3 years ago

bellerbrock commented 4 years ago

Error when using the label designer in a breedbase docker container:

Creating QR Code
the following error occurred while attempting to generate /home/production/cxgn/sgn/static/documents/tempfiles/barcode : mkdir /home/production/cxgn/sgn/static/documents/tempfiles/barcode: Permission denied at lib/SGN/Role/Site/Files.pm line 233.
 (may be ok)
dir '/home/production/cxgn/sgn/static/documents/tempfiles/barcode' creation failed (No such file or directory) at lib/SGN/Role/Site/Files.pm line 241.
tempfiles dir '/home/production/cxgn/sgn/static/documents/tempfiles/barcode' does not exist, and could not create (No such file or directory) at lib/SGN/Role/Site/Files.pm line 202.

fixed in my container by running:

mkdir /home/production/cxgn/sgn/static/documents/tempfiles/barcode
chown www-data:www-data /home/production/cxgn/sgn/static/documents/tempfiles/barcode
bellerbrock commented 3 years ago

Closing because this is no longer an issue now that docker volumes are used