Discussion:
[Mayan EDMS: 2550] Upgrading from Version 2.7.3
(too old to reply)
Ray Hendricks
2018-07-05 05:59:54 UTC
Permalink
I have Mayan installed as a docker that's connected to a MySQL docker as instructed on this page https://www.mayan-edms.com/post/deploy-mayan-docker-mysql/

We have a few thousand documents loaded and are continuing to add documents daily. What's the process I can follow to upgrade to the new version? If I do a new install (in a new VM), is there a way to export everything from the current system and import it into the new install?
--
---
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 mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Roberto Rosario
2018-07-06 03:19:22 UTC
Permalink
1. First perform a complete backup of mayan-mysql container
2. Backup the mayan_data volume mayan-edms container
3. Stop and remove the mayan-edms container: docker stop mayan-edms and docker
rm mayan-edms
Removing a container will no delete its volume data but it is always a good
idea to do a backup (step 2).
4. Launch the mayan-edms container specifying the new 3.0 version: docker
run -d --name mayan-edms --restart=always --env-file envfile -v
mayan_data:/var/lib/mayan --net=mayan -p 80:80 mayanedms/mayanedms:3.0

The container will perform the upgrade and then start. Monitor the
container with: docker logs -f mayan-edms
If the upgrade fails, restore the mayan-mysql backup (step 1) and report
the error message.
Post by Ray Hendricks
I have Mayan installed as a docker that's connected to a MySQL docker as
instructed on this page
https://www.mayan-edms.com/post/deploy-mayan-docker-mysql/
We have a few thousand documents loaded and are continuing to add
documents daily. What's the process I can follow to upgrade to the new
version? If I do a new install (in a new VM), is there a way to export
everything from the current system and import it into the new install?
--
---
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 mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ray Hendricks
2018-08-03 03:18:42 UTC
Permalink
It failed. In the log it shows it's running but I can't connect to it. In the log there are a bunch of errors that say Your database backend is set to use SQLite. SQLite should only be used for development and testing, not for production.

It should be set for mysql but it doesn't seem to be working.
--
---
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 mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...