[Mayan EDMS: 1802] [Docker] Missing static content after upgrade

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 1802] [Docker] Missing static content after upgrade

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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 1810] Re: [Docker] Missing static content after upgrade

Mirco Hansen
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:
<a href="https://gitlab.com/mayan-edms/mayan-edms-docker/blob/master/README.md#upgrading" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgitlab.com%2Fmayan-edms%2Fmayan-edms-docker%2Fblob%2Fmaster%2FREADME.md%23upgrading\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1ppk3bcimYoLdNctc9TCxOIFlFw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgitlab.com%2Fmayan-edms%2Fmayan-edms-docker%2Fblob%2Fmaster%2FREADME.md%23upgrading\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1ppk3bcimYoLdNctc9TCxOIFlFw&#39;;return true;">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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 1857] Re: [Docker] Missing static content after upgrade

rosarior
Administrator
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:
<a href="https://gitlab.com/mayan-edms/mayan-edms-docker/blob/master/README.md#upgrading" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgitlab.com%2Fmayan-edms%2Fmayan-edms-docker%2Fblob%2Fmaster%2FREADME.md%23upgrading\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1ppk3bcimYoLdNctc9TCxOIFlFw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgitlab.com%2Fmayan-edms%2Fmayan-edms-docker%2Fblob%2Fmaster%2FREADME.md%23upgrading\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF1ppk3bcimYoLdNctc9TCxOIFlFw&#39;;return true;">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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...