Old versions of the virtual image

Does anyone have, or know where/whether it’s possible to download the old/previous Virtual Images?
I am looking for a v8.0.xx setup fora data recovery & transfer from a corrupted system backup

Thanks

Hi @trentmu

You can checkout tag version v8.0xx get this version and use migrate to update again database

example command

cd /home/frappe/frappe-bench/apps/frappe
git checkout v8.x.x
cd /home/frappe/frappe-bench/apps/erpnext
git checkout v8.x.x
cd /home/frappe/frappe-bench/
bench --site <your-site-name> migrate

Just to confirm… I do a normal install/setup (I prefer to use a debian 9.x manual setup), and then follow the commands above to revert the site?

I want to get a v8 setup, then import old data, and then (possibly) migrate it back up to new

Hi @trentmu

Yes correct

1 Like

I will try it out. Thank you

cd /home/frappe/frappe-bench/apps/erpnext && git checkout v8.x.x
gives me this error

error: pathspec ‘v8.x.x’ did not match any file(s) known to git.

Sorry - I don’t know git or it’s requirements yet

EDIT: I went with ‘v8.0.66’ (my required version, and this error went away…alas, to be replaced by this new one…

/home/frappe/frappe-bench/env/bin/python: No module named MySQLdb

Hi

Did you checkout version 8 of frappe?

cd /home/frappe/frappe-bench/apps/frappe
git checkout v8.x.x (change same your version)

cd /home/frappe/frappe-bench/apps/frappe && git checkout v8.x.x [OK]
cd /home/frappe/frappe-bench/apps/erpnext && git checkout v8.x.x [FAILED]

but…

cd /home/frappe/frappe-bench/apps/frappe && git checkout v8.0.66 [OK]
cd /home/frappe/frappe-bench/apps/erpnext && git checkout v8.0.66 [OK]

but then…
cd /home/frappe/frappe-bench/
bench --site site1.local migrate

gave error
/home/frappe/frappe-bench/env/bin/python: No module named MySQLdb

1 Like

Did you restore site with your database (version 8)? or try to install again Mariadb

The system, and the database is up and running, and I can access it internally and externally via CLI or GUI tools.
I haven’t done the restore yet - I thought I need get the code right and test it against default/dummy data before I do that.

I have a default(latest)system which is up and running.Now I want to revert to v8.0.66 using

cd /home/frappe/frappe-bench/apps/frappe && git checkout v8.0.66
cd /home/frappe/frappe-bench/apps/erpnext && git checkout v8.0.66
cd /home/frappe/frappe-bench/
bench --site site1.local migrate

Hi

Or current v8.0.66 version you can create new site and run this site?
example

bench new-site site2.local

1 Like