Hello,
I hope you are all well and safe.
I decided to try to update my server and go from Ubuntu 18 to 20.
I created Backups of everything and installed buntu 20.04. I was trying with the EasyInstall and with manual install and the 2 ways gave me considerable headache. I remember the last time I did this had been very straightforward.
I had tried to stay away from Docker for a long time, but in desperation gave it a try, and to my surprise ERPNext installed easily and without problems all the times I tried, so very impressed with the ERPNext Docker version.
The problem now is that I am trying to bring all the data from previous install, and I am having it difficult.
Following @revant_one suggestions in one of his posts, I deleted the database of the recently installed ERPNext, and recreated it. Then I was able to import all the data to the empty database from my previous sql file.
But I am not able to make any progress from there. I tried with the migrate command, but I get an error that I have not been able to solve:
Traceback (most recent call last):
File "/home/frappe/frappe-bench/commands/migrate.py", line 52, in <module>
main()
File "/home/frappe/frappe-bench/commands/migrate.py", line 45, in main
migrate_sites()
File "/home/frappe/frappe-bench/commands/migrate.py", line 36, in migrate_sites
migrate()
File "/home/frappe/frappe-bench/apps/frappe/frappe/migrate.py", line 90, in migrate
frappe.get_attr(fn)()
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/doctype/website_theme/website_theme.py", line 188, in after_migrate
doc.generate_bootstrap_theme()
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/doctype/website_theme/website_theme.py", line 79, in generate_bootstrap_theme
frappe.throw('<div style="font-family: monospace;">{stderr}</div>'.format(stderr=stderr))
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 446, in throw
msgprint(msg, raise_exception=exc, title=title, indicator='red', is_minimizable=is_minimizable, wide=wide, as_list=as_list)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 425, in msgprint
_raise_exception()
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 379, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: <div style="font-family: monospace;">Error: File to import not found or unreadable: frappe/public/scss/website.<br> on line 28 of stdin<br>>> @import "frappe/public/scss/website";<br><br> ^<br><br></div>
I have to confess that I am very lost with the locations of the different folders in Docker.
I understand there is a file missing in there, but I am not able to undertand where should it go, nor find it.
If someone could enlighten me a little bit, I woudl be very grateful.
Thanks and kind regards from Spain,
Alb