The static files are meant to be in the image and not in the volume. But it seems that is not the case. Will add a collectstatic step to the upgrade process. Thanks for figuring this out!
On Sunday, June 25, 2017 at 9:06:55 AM UTC-4, Mirco Hansen wrote: > > Hi, > > I managed it by running docker exec -it mayan-edms mayan-edms.py > collectstatic > > Cheers > Mirco > > Am Mittwoch, 21. Juni 2017 21:03:33 UTC+2 schrieb Mirco Hansen: >> >> Hello, >> >> I have just upgraded my Mayan docker container from 2.1.10 to 2.3 using >> this tutorial: >> >> https://gitlab.com/mayan-edms/mayan-edms-docker/blob/master/README.md#upgrading >> >> Only difference was that I pulled the image via Git and edited the >> dockerfile for some additional tesseract packages. Upgrade worked fine but >> all the static content is missing. After copying the content of the static >> folder was in the mayan_data volume too but I left it there (as deletion >> was not mentioned). >> >> I also removed the content and built the container fresh from the image >> but still the static content is missing. For example: >> >> [mayan-URL]/static/appearance/packages/font-awesome-4.7.0/css/font-awesome.min.css >> >> But I got the following folder: >> >> /var/lib/docker/volumes/mayan_data/_data/static/appearance/packages/font-awesome-4.3.0 >> >> How do I get the correct version of font awesome? >> >> Thank you in advance. >> >> Regards >> Mirco >> >> -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
