Comments (1)
had a talk with Tildeslash about some problems around the migration from 3 to 4.
This problem here is rooted in the way MMonit does its update. For the update process the old configuration files from the 3.x directory are copied into the new (current 4.x) directory and the migration process starts than.
Running interactive the "upgrade" program asks for a new license.
upgrade -p /config/mmonit-3.7.15-alpine/
Upgrading M/Monit from /config/mmonit-3.7.15-alpine to /opt/mmonit-4.0.0 ...
***WARNING*** please wait and DO NOT INTERRUPT the process (the upgrade can take some time if your database is large)
Reading license in '/config/mmonit-3.7.15-alpine/conf/server.xml'
Copying configuration files from /config/mmonit-3.7.15-alpine/conf/ to /opt/mmonit-4.0.0/conf/ ... done
Copying uploaded files from /config/mmonit-3.7.15-alpine/docroot/uploads/ to /opt/mmonit-4.0.0/docroot/uploads/ ... done
+------------------------------------------------------------------------------+
| LICENSE EXPIRED |
| |
| This is M/Monit version 4.0.0, released, November 17, 2023. Your license was |
| registred on April 15, 2015. Please renew your license to upgrade to this |
| version of M/Monit. |
| |
| When you renew your license, you'll get a year of updates for M/Monit. Once |
| that year is up, you can renew again or continue forever using the last |
| version of M/Monit you updated to. |
| |
| Please go to https://mmonit.com/user to renew your M/Monit license and |
| paste your renewed license below or enter q to abort this upgrade process. |
+------------------------------------------------------------------------------+
New License key>
Running manually you can enter your new license and the process goes on without problems.
Manually replacing the license inside the old server.xml
before starting the container / upgrade process solves this.
But with your automation the old 3.x license remains in the server.xml
of the old 3.x directory and is replaced after the (failed) upgrade process only inside the new 4.0 directory.
As this is a new case that did not happen for years i do not know how much to automate here or publish some workarounds in the README to do the update process manually...
from docker-mmonit.
Related Issues (19)
- Fix custom scripts locations
- 3.7.14 coming ? HOT 3
- Typo: MMOUNT_DATABASE_URL
- Add periodic backups
- Migrate Docker on Synolgy from 3.7.15 to 4.0.0
- "latest" tag? HOT 2
- Alerts hostname? HOT 1
- Mmonit 4.02 crashes regularly ? HOT 4
- MMonit 4.1.1 HOT 1
- Mmonit 4.2.0 very slow in use .... HOT 1
- Mmonit 4.2.2 resolves performance issues HOT 12
- 4.2.2 is not starting ... error.log is full with "Unsupported database schema version: 22" HOT 4
- Document migrating from sqlite to mysql (and postgresql?) HOT 1
- Add support for backing up postgresql databases
- Clean up older versions of config directory
- Add support for backing up mysql database HOT 6
- Timezone TZ not used by M/Monit HOT 8
- Version 4.3.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-mmonit.