This question has been flagged
3128 Views

update 11.01:

starting odoo with the system user from the shell results in a working website.

$ ./openerp-server -c /etc/odoo-server.conf

starting odoo as a service results in a scrambled website.

- same config file used in the service demon

so my problem is solved with a workaround, but I am still puzzled whats going on?

---------------------------------------------------------------------------------------------------------

original question

I installed my copy of theme clean. I also installed less less-plugin-clean-css.

If I start my server with the "odoo" user (Sourcerer Install) and I go to the website the format is totaly scrambled. No formating.

If I start the server with the "user" in the comandline with the same config file, the website works.

Is this something with access rights or that the "odoo" user has no bash.

Somebody else with this? What to do?

odoouser:

odoo@sterbhai-odoo8rc:~$ id
uid=118(odoo) gid=127(odoo) Gruppen=127(odoo)

 

user:

sterbhai@sterbhai-odoo8rc:~$ id
uid=1000(sterbhai) gid=1000(sterbhai) Gruppen=1000(sterbhai),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),108(lpadmin),124(sambashare),127(odoo),999(vboxsf)

 

I added already a bash to odoo:

sudo usermod -s /bin/bash odoo

/etc/passwd:

odoo:x:118:127::/opt/odoo:/bin/bash

sterbhai:x:1000:1000:sterbhai,,,:/home/sterbhai:/bin/bash

I dont see where the difference is, so that the server executes the website different....

Avatar
Discard

@Tobias, I'd recommend checking this github issue: https://github.com/odoo/odoo/issues/4604