Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
6177 Ansichten

Ive done an version upgrade on a test system (ie no data that I care about). The new version won't start up because it cant find the (old) database.

Ive deleted the old database, and specified a new/different name in the conf files. But the logs still say odoo is looking for the old database, which of course it cant find (and it's s different version anyway).

Where is odoo getting the name of the old database from? Its certainly not in my conf files (\etc\odoo and /etc/odoo?

How do I stop it from looking for the old database and getting a fatal startup error?

Clearing everything out is an option for me, except I thought Id done that with removing the old database and updating the conf files.

Avatar
Verwerfen
Autor

Looks like I cant edit the post. Further analysis suggests it's an (old) odoo cron job that's looking for the old database. It tries to connec, then throws a fatal error because it cant find the old database. That's because it's old and has gone!

Anyone know how I remove the cron entries, or where and why they are still looking for the old database? I cant see anything in the odoo user cron, which is where I migh expect it to be (this is on Ubuntu 14.04).

Autor Beste Antwort

Thanks for that suggestion. Im actually way past that, done many restarts, even reinstalled odoo itself (ie the binaries) all to no avail.

Its storing the old database name on disc somewhere, and it isnt in the config files.

Avatar
Verwerfen
Beste Antwort

Try a service restart of Odoo. The cron jobs sometimes will take the database name from its cache. A restart of odoo instance will solve this. (a restart for server is more recommended, if you didn't bother about data)

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Nov. 24
392
2
Nov. 19
2150
0
Mai 17
2660
2
Feb. 24
1589
0
Sept. 23
1149