[gogocarto] Import of an image (logo) in Gogocarto #2
Closed
opened 4 years ago by StephanSainleger
·
1 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
when I try to import an image for the logo in the general configuration, the process stops and nothing is loaded.
Test on https://gogocarto.demo.elabore.coop
Import of an image (logo) in Gogocartoto [gogocarto] Import of an image (logo) in Gogocarto 4 years agoThis was a bug due to the charm I wrote.
Directory layout in gogocarto follows a complex scheme probably coming from symphony apps. There are files published via apache, and files accessible from php, these are 2 sets, and some have to match because they are accessed both way, it is the case with the
web/uploads
dir.To this first complexity, as packagers, we have to separate code from data to allow nice backups and try to fit in the existing. As a consequence, the original layout needs to be carefully partitioned and rebuilt.
I broke the connection between
web/uploads
as seen by php apps (in/opt/apps/gogocarto/web/uploads
), andweb/uploads
as published through apache (in/var/www/$DOMAIN/web/uploads
of the frontend's docker container).This was repaired in #f810c2effd