L. Arnold's picture

A quick heads up.

The /etc/odoo/odoo.conf file needs to be updated if you want to have your own database in current build 18.0.

To fix:

Easiest is to Select "Database Manager" at the login screen for Odoo
Specify a new Database


login with Webmin.  Choose "Tools" / "FileManager"

navigate to /etc/odoo/odoo.conf

find the line that says 
db_name = TurnkeylinuxExample
make it read
# db_name = TurnkeylinuxExample

then

db_name = NewDatabaseName

or

db_name = 

 

Save the File

--

next (critical) in Webmin go to:

System  -  Bootup and Shutdown

scroll down to the "odoo.service"
select it (checkbox)

Scroll down and select RESTART  (don't have anything else selected but odoo.service when you do that

Refresh your Database or Login Screen and you should be on your way.


If you don't update the odoo.conf file you will be restricted to working with TurnkeyLinuxExample database which, imho is not the best way to approach your company data.

----
Several other modifications to your odoo.conf will need to be done to build out an optimized system, but start with this one.

 

Forum: 
L. Arnold's picture

Hub install it turns out was for v 17.1

Giving 18.x a spin now.

L. Arnold's picture

/etc/odoo/odoo.conf

does need to be updated in v 18. to make your own database.

Jeremy Davis's picture

Thanks for noting this Landis.

I've just updated the Odoo appliance page to include that info. I also the appliance page to note that the v18.x appliance includes Odoo v16.

Hopefully that's better?

L. Arnold's picture

Thanks for putting those changes in on the App page. Should help folks. I will work on my Shell skills but the Webmin corollary I think also helps.
Aaron Ward's picture

Hi,
I've installed this through Proxmox and cannot get Odoo 18 to install without demo data.
I've renamed the db in *odoo.conf., systemctl odoo restart, Log in through web portal then with user admin password admin, and all the demo data is still there. Can't do anything with databases because of "Master password update error: Access Denied". played with many values of the odoo.conf file and can't get it to start over. I'm stumped.

Aaron Ward's picture

Follow up:

Followed this:

https://www.odoo.com/forum/help-1/logged-into-database-but-dbfilter-reje...

went into *.conf, changed db_name to "False" and then restarted odoo. created a new db with the postgres password i entered in setup.

Jeremy Davis's picture

Thanks for posting and bonus points for doing an update with your solution.

I'm sure that I tested the process that is documented and it worked?! In a perfect world, I would double check myself but I'm pretty under the pump...

Re-reading your post it seems that perhaps you edited the config file before you had created your new DB? If so, then that might explain the issue you experienced and the difference between my experience and yours? Regardless, I don't understand why that would have made your "Master" password fail on the Master admin page?!

Do I understand correctly?

Either way it sound like I need to update the documentation and add your note. If you can clarify, I'll know whether I should replace the current text with your suggestion or add your notes instead.

Thanks again for your post.

Add new comment