Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

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

Subscriure's

Get notified when there's activity on this post

This question has been flagged
1 Respondre
63385 Vistes
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
Descartar
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
Autor

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
Autor 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
Descartar
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!

Registrar-se
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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