Tecnativa / doodba-copier-template

A Copier template for Doodba projects
Boost Software License 1.0
84 stars 113 forks source link

[v15ce] admin user cannot create or edit user Administrator #341

Open luismata01 opened 2 years ago

luismata01 commented 2 years ago

Hi

I was performing an installation of Odoo v15ce and this fails because the admin user cannot edit his profile and does not allow creating new users from the Create button

on the same VPS I have another instance with Odoo [v13CE], and the proxy is Traefik

Tardo commented 2 years ago

It should work without problems. Please provide more information such as the error trace.

javierjcf commented 1 year ago

I had the same issue yesterday. The problem is the traefik labels, You shuld have one label like: traefik.forbiddenCrawlers-0.frontend.rule: Host:aaa.domain.com;Path:/web,/web/{anything:.},/website/info,/website/info/{anything:.}

and it should be: traefik.forbiddenCrawlers-0.frontend.rule: Host:aaa.domain.com;Path:/web,/website/info;PathPrefix:/web/,/website/info/

If you dont change that label you cant edit users from form view, and doesent work odoo web editor, and some fails with marketing email.

I dont know why this happens in v15

pedrobaeza commented 1 year ago

I have tried today this and I'm no having such problem. Are you working with Traefik 1 or 2? Which error trace?

robotiko commented 1 year ago

We had same issue with V15 too in fresh install. The problem is what @javierjcf mentions. The traefik labels generated by copier generates the /{anything:.} that blocks many things like user , web editor, etc. For us it was working ok with some copier simple definitions but when added more complex paths it started adding the /{anything} Using Traefik 1. Traefik 2 inverse proxy is not published in doodba.