Moving from master back to stable? #7167
-
I've been running Inventree master version for a number of years now and every few weeks do a update. Inventree has become a few useful tool now as I use it to sync stock to various other eCommerce platforms. For this reason I would like to rebuild my server (It's currently running on a old laptop that's powered on 24x7) on better hardware and use the stable version. My question is since I'm running the master version I can't rebuilt and restore the database (Running mysql) to a stable version. Does this mean I'm stuck on the dev version forever? (I'm on 0.15.0 dev) Or can I wait for the stable version to catch up to 0.15.0 dev (ie I stop doing upgrades) and then rebuild to 0.15.0 stable? Is that a option? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
The best approach would be to wait for the (imminent) At that point, checkout "stable" and run "invoke update". Then, just stay on stable. |
Beta Was this translation helpful? Give feedback.
-
Thanks. Will wait for the stable to catchup and then proceed. |
Beta Was this translation helpful? Give feedback.
-
With 0.15.0 released I thought I'd try moving my 0.15.0 dev to 0.15.0 stable. Wow - is this giving me so many issues. I've built a new server with 0.15.0 stable. First I tried exporting the mysql database from dev and importing into the stable database, and it's giving me loads of errors. Data imports correctly and I can logon with my old password. List of parts are all there, but when I click into a part I get:
Then I retried again after another rebuild and according to the docs for DB migration I should use This however gives me a error on the source server:
|
Beta Was this translation helpful? Give feedback.
-
Some more hacking around and got it working. Needed to import the mysql data before installing inventree - all working now and no errors. If I do it the other way round, ie. install inventree and get it to create a new DB, then drop the DB and import the old DB then it gives me errors. |
Beta Was this translation helpful? Give feedback.
Some more hacking around and got it working.
Needed to import the mysql data before installing inventree - all working now and no errors.
If I do it the other way round, ie. install inventree and get it to create a new DB, then drop the DB and import the old DB then it gives me errors.