Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Not Found The requested URL was not found on the server.

Subscribe

Get notified when there's activity on this post

This question has been flagged
1 Reply
63374 Views
Avatar
PY

Hi !

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 !

 

Edit:

This issue may be solved here. Wait and see:

https://github.com/odoo/odoo/issues/4563

Edit:

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 ?

Edit:

Okay, so now I have a domain. But still no luck :/ Here are my files:

/etc/hosts

127.0.0.1       localhost
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
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

/etc/sites-available/odoo

<VirtualHost *:80>
    ServerName mydomain.fr
    ServerAlias *.mydomain.fr
    ErrorLog /var/log/odoo/odoo-server.log
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    ProxyRequests Off
    ProxyPass / http://localhost:8089/
    ProxyPassReverse / http://localhost:8089/
    ProxyVia On
    LogLevel warn
</VirtualHost>

/etc/odoo-server.conf

[options]
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:

http://vimexcom_test.mydomain.fr/web/reset_password?token=<random token>&db=vimexcom_test

 

2
Avatar
Discard
Yenthe Van Ginneken (Mainframe Monkey)

You will need to setup a database filter indeed. With subdomains the reset links for passwords etc should also be correct. This is what Odoo did on their own system here I believe!

PY
Author

Thanks ! I'll make a proper answer once I have everything working ^^

Yenthe Van Ginneken (Mainframe Monkey)

Awesome, I'd love to see a good example from this. Be sure to share it! :)

Avatar
PY
Author Best Answer

So, it turned out that:

  • db_filter in the config file doesn't work, you need to put it in the boot script, like so: --db-filter=^%d$
  • you have to set proxy_mode = True in the config file

And that's it, it works fine now.

0
Avatar
Discard
Gokulakrishnan Murugesan

It's redirecting to create the new database.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now