Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I've just configured Odoo (8) on our remote server. I have two databases filled with users. I have sent password reset mails to them. I've made another account for me as well. When I click on the link to reset my password (setting one actually, since it's the first connection for this user), everything is working fine. On the same pc, I tried on both my Linux and on my Windows systems.
However, all the other users have issues doing the same. No matter which web browser they use, when they click on the link, the get a:
Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
On the logs of the server, I can see:
2015-01-22 11:01:22,693 21427 INFO None werkzeug: <some ip> - - [22/Jan/2015 11:01:22] "GET /web/reset_password?token=<some random token here>&db=<my db name there> HTTP/1.1" 404 -
(I've just replaced sensible content with comments in <> signs)
So, I don't know what's causing this issue. I hope someone can help me there. Thanks !
This issue may be solved here. Wait and see:
Ok, so what I'm seeing here, is that I need to setup the 'db_filter = ^%d$' config parameter, which will access the database based on the subdomain. To make this work, I need a domain. This we will do soon.
What I'm thinking now, is, if we set Odoo to work with subdomains, does the links to reset password will be correctly generated ? Or do I need to rewrite them ?
Okay, so now I have a domain. But still no luck :/ Here are my files:
127.0.0.1 mydomain.fr magestionfacile
127.0.0.1 vmx.mydomain.fr vmx
127.0.0.1 vimexcom_test.mydomain.fr vimexcom_test
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
Allow from all
ProxyPass / http://localhost:8089/
ProxyPassReverse / http://localhost:8089/
addons_path = /opt/odoo/server/openerp/addons,/opt/odoo/my_addons
admin_passwd = pswd
db_passwd = pswd
log_level = info
logfile = /var/log/odoo/odoo-server.log
xmlrpc_port = 8089
db_filter = ^%d$
list_db = False
That should work, no ?
However, I still have this 404 not found whenever I create a user and send him an invitation email. And while I'm at it, the invitation link looks like:
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/22/15, 5:49 AM|
|Seen: 8722 times|
|Last updated: 10/23/16, 6:30 PM|