Comments (53)
Just wanted to throw in my success. I had this same issue and it was because I declared an invalid folder path for an additional addon directory for extra modules. I created the directory and everything works. It seems like when an initial request is made to the server it validates the existence of all addons path and fails silently
from installscript.
@aliomattux
This is true. When there's an non-existent directory in the addons_path
, Odoo 11 fails to produce any output on the user's browser at runtime.
This is an Odoo bug that should be fixed.
When there's a non-existent directory in the linux path, the linux kernel doesn't fail.
from installscript.
I got the same problem on Ubuntu 18.04 & Odoo 12.0
in my case i didn't make custom addon folder.
In console.
2018-12-21 06:33:06,994 4448 INFO ? odoo: addons paths: ['/opt/odoo/.local/share/Odoo/addons/12.0', '/opt/odoo/odoo12/addons', '/opt/odoo/odoo12-custom-addons', '/opt/odoo/odoo12/odoo/addons']
but I did't make '/opt/odoo/odoo12-custom-addons'
After creating the folder and restarting it works fine.
I don't know why...
from installscript.
Thanks for your report! What happens when you add ?debug=assets to the URL? Does the Odoo fully render then?
from installscript.
no, no changes at all. Its weird.
from installscript.
The 404 error is possibly because of incorrect ownership of the static CSS files.
chown -R odoo. *
should fix it.
from installscript.
They should be correct by default with the script though..
from installscript.
as I mentioned in the other issue. you kinda need to tick the system to get it working. #55 , look my notes there.
from installscript.
@vigermam that is a workaround, not a solution to the issue of the script or the source though. I'd like to pinpoint that in order to fix it for everybody.
from installscript.
@Yenthe666 i just thought that might help anyone need to get it working at this very moment. or might help you to find where things might be broken. Thanks so much for the great work! π
from installscript.
Absolutely! π I hope I can pinpoint the source problem soon. Thank you!
from installscript.
Awesome guys... thanks for the commitment! Very much appreciated!!! Thanks a lot. Keep us updated.
from installscript.
We'll get there! I believe the dependencies are a bit different on the different Linux flavours. Some of them have dependencies out of the box and some don't. This problem looks bigger in the latest version than the other ones.
from installscript.
Thanks Yenthe. Keep me updated. I wonder why Odoo doesn't have a skript or a howto to install the EE - the version that makes them money.......
from installscript.
@khansch I guess they have this: https://www.odoo.com/documentation/11.0/setup/install.html
I don't really like it but I may be biased π
from installscript.
This howto sucks. already the link to the download of enterprise edition does not work, even though I am a subscribed member to EE 11. So I hope you have a solution to the problem soon. π
from installscript.
Still no change. Tried another dependency, but no effect. Still no CSS. :-(
from installscript.
@Yenthe666
Where are you getting the dependencies list from?
Is it from here?:
https://nightly.odoo.com/11.0/nightly/deb/Packages
Depends: init-system-helpers (>= 1.18~), python3-babel, python3-dateutil, python3-decorator, python3-docutils, python3-feedparser, python3-gevent, python3-html2text, python3-jinja2, python3-lxml, python3-mako, python3-mock, python3-ofxparse, python3-passlib, python3-pil, python3-psutil, python3-psycopg2, python3-pydot, python3-pyparsing, python3-pypdf2, python3-reportlab, python3-requests, python3-serial, python3-tz, python3-usb, python3-vatnumber, python3-werkzeug, python3-xlsxwriter, python3-yaml, python3:any (>= 3.3.2-2~), adduser, lsb-base, node-less, postgresql-client, python3-suds
Recommends: postgresql, python3-pyldap, python3-qrcode, python3-vobject
Conflicts: openerp, openerp-server, openerp-web, tinyerp-server
Replaces: openerp, openerp-server, openerp-web, tinyerp-server
from installscript.
From the Github repository its requirements (https://github.com/odoo/odoo/blob/11.0/requirements.txt)
from installscript.
OK, maybe odoo team made a tiny mistake, maybe there is a dependency in the debian Packages
list which was left out, by mistake, from the python requirements.txt
. It's a small chance, but it's possible, so it should be double checked, just to be sure.
from installscript.
Guys, do you have any news? Still no way to get odoo11 installed properly. Thanks for your help.
from installscript.
I don't have access to a computer at the moment. It is high on my priority list so I'll setup new servers with new tests this monday or tuesday. Sorry for the delay guys.
from installscript.
Hi all,
I've made a new Ubuntu 16.04.3 server and ran both the community and the enterprise installation script. Both worked fine out of the box without any extra configuration or installations.
So either there is another version that gives problem or I'm really missing something.
from installscript.
@khansch
(From issue #55 )
What happens when you do:
sudo service odoo-server stop
(just to be sure nothing is running)cd /odoo/odoo-server
sudo su odoo
./odoo-bin -c /etc/odoo-server.conf
from installscript.
@Yenthe666 Is the chat in your installation working correctly? We got odoo installed by our technical partner, but the chat it not working properly. If you type something in, it does not appear. If you refresh the browser, it appears.
Thanks for your help.
from installscript.
@khansch
Try chat on https://demo2.odoo.com/web#home for comparison.
from installscript.
hey chris, URL not found.
I mean the chat inside of odoo. Thanks for your help!
from installscript.
@khansch
What I meant is, try out the chat on the "Odoo Free Trial" and see if that works properly in your browser - without refreshing your browser page.
https://accounts.odoo.com/trial
from installscript.
Indeed - try to reproduce it on a runbot or official instance. This could also be a configuration issue with SSL / Nginx forwarding for example.
from installscript.
I installed Odoo11 by package installers on CentOS7.
Css is not working after logging in.
from installscript.
- Is it community or enterprise?
- Post output from running install script?
- Post logs while running (see comment above 27 days ago for how to)?
from installscript.
For those how did the trick... Why not to share .ova of VM?
Script doesn't work. No css.
from installscript.
- What happens when you add
?debug=assets
to the URL in the address line of the browser? Does the Odoo 11 fully render the CSS then? - What happens when you start Odoo 11 server this way, and watch the terminal for errors:
sudo service odoo-server stop # just to be sure odoo service stops
cd /odoo/odoo-server
sudo su odoo
./odoo-bin -c /etc/odoo-server.conf
Post back your results.
from installscript.
Same problem here, Odoo 11 community edition.
installed from package on Ubuntu, tested without proxying.
All css files except few are not able to load properly, giving out 404 and no error in odoo-server.log.
from installscript.
@liao0007
Which URL you download install script from
from installscript.
I installed via package manager.
βapt-get install odooβ following the official installation guild.
I also tried to install via source by pulling latest version from github, with same problem.
It could by something wrong with the system environment but I donβt know where to trace.
from installscript.
@liao0007
Can you
- remove the odoo installed via package manager,
- remove the odoo installed via source from github,
- Install with my "big update" install script:
cd ~
rm odoo_install.sh
wget https://github.com/chris001/InstallScript/raw/patch-2/odoo_install.sh
chmod +x odoo_install.sh
./odoo_install.sh
- verify that odoo-server service is status (running).
- open another terminal, to watch for errors in system environment with this command:
tail -f /var/log/odoo/odoo-server
from installscript.
It helps, thank you.
I think virtualenv did the work.
from installscript.
@chris001
Hello Chris,
I opened an issue that look similar #23468 and after trying so many things to make it work without success:
- giving rights
chown -R
- update python to 3.6 version
- postgresql config from md5 to trust
- checked my paths (well it was working perfectly fine for 2 month and we didn't change it) in
odoo-server.conf
I am thinking of reinstalling my Odoo.
However, I have a database running for 2 months of data. I wouldn't like to loose it.
Can I follow the step mentioned and reinstall independently of the database ?
cd ~ rm odoo_install.sh wget https://github.com/chris001/InstallScript/raw/patch-2/odoo_install.sh chmod +x odoo_install.sh ./odoo_install.sh
from installscript.
- To be safe, you really should save a backup file containing your data currently stored in the odoo database, and upload it to a secure cloud account on a different machine than the odoo server, doing this will protect your data, in case of an unexpected event occurs:
sudo pg_dump -U user_name database_name > backup_file
- This install script only installs (or reinstalls) the app and all its required dependencies + optional nginx web server + secure LE HTTPS cert.
- To answer your question, when you run the install script again, your data should remain untouched, the only thing updated on the database is the normal "database schema update" to match the new version of the Odoo code.
- Depending on if your
odoo_install.sh
is new enough, you can update itself to the newest version, in just one command:./odoo_install.sh --self-update
- EDIT: You can also upgrade only the odoo code, with:
./odoo_install.sh --upgrade
from installscript.
Thank you @chris001
Very useful to know although in my case it didn't do the trick.
just tried
Unless I missed a restart action (I'll try to reboot the server too)
Problem still running unfortunately for me but really appreciate your detailed help.
from installscript.
@chris001 Still trying to figure it out my issue that might be related to this one.
Here is my result:
odoo@DOMAIN:~/odoo-server$ ./odoo-bin -c /etc/odoo-server.conf
Traceback (most recent call last):
File "./odoo-bin", line 8, in
odoo.cli.main()
File "/odoo/odoo-server/odoo/cli/command.py", line 60, in main
o.run(args)
File "/odoo/odoo-server/odoo/cli/server.py", line 175, in run
main(args)
File "/odoo/odoo-server/odoo/cli/server.py", line 124, in main
odoo.tools.config.parse_config(args)
File "/odoo/odoo-server/odoo/tools/config.py", line 334, in parse_config
odoo.netsvc.init_logger()
File "/odoo/odoo-server/odoo/netsvc.py", line 95, in init_logger
resetlocale()
File "/odoo/odoo-server/odoo/tools/translate.py", line 1183, in resetlocale
for ln in get_locales():
File "/odoo/odoo-server/odoo/tools/translate.py", line 1152, in get_locales
lang = locale.getdefaultlocale()[0]
File "/usr/lib/python3.5/locale.py", line 558, in getdefaultlocale
return _parse_localename(localename)
File "/usr/lib/python3.5/locale.py", line 486, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8
I'll try also what you suggested above early february
from installscript.
@FlyingPigSolutions Looks like your installation is displaying an unknown locale UTF-8
issue.
My "big update" version of odoo_install.sh
script should fix this locale
issue.
Try and report back your results here.
from installscript.
Hello @chris001 I tried to send you a mail through your website but the contact page wasn't working.
Can you send me your email please. I would like to ask you something but not in public.
from installscript.
@FlyingPigSolutions
Contact is firstname (at) (website dot com)
from installscript.
Hello All I still have the issue could someone help me ?
from installscript.
I had the same problem and in my case was a wrong addons_path in /etc/odoo/odoo.conf.
from installscript.
This could also be a configuration issue with SSL / Nginx forwarding for example.
if ssl forwarding did this error, what will be the solution
@Yenthe666
from installscript.
Depends on what the issue is, I'm totally going to guess it is due to a missing dependency or wrong addons_path
though. I'd check those two first. I've never had these issues and installed dozens of Odoo's.
from installscript.
i already have this error before enable ssl all things is good, after enable ssl with apache this error appear
if i return to the first point by disable ssl the error still
@Yenthe666
from installscript.
Then your configs are wrong basically
from installscript.
@Yenthe666
can you give me the standard steps to check my configs
from installscript.
Sorry but I never use apache
, it is really outdated. You should look at better alternatives such as Nginx
(where loads of tutorials and info can be found for too) :)
from installscript.
Related Issues (20)
- AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' HOT 2
- the script can't point my domain to the machine in contabo HOT 2
- Having problem when install with python3.10 HOT 1
- [10.0] pip2 and pip requirements missing HOT 1
- I want to add a translation HOT 2
- Some necessary changes to the odoo_install_debian.sh
- 17.0 on Ubuntu 22.04 HOT 8
- Instructions in script don't align with instructions in readme HOT 2
- Installation Error - AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' HOT 2
- Odoo17 on ubuntu 22.04 error HOT 12
- The SSL script causes (refused to connect) after the installation HOT 1
- Ubuntu 22.04 Odoo17 wkhtml issue HOT 6
- Odoo v16 - Error on apt update after installation on ubuntu 22.04. + Proposed solution
- Hide database manager HOT 4
- websocket issue
- invoice header and footer issue HOT 1
- odoo-server.conf has only few lines ?? HOT 1
- auto_backup V16 (Yenthe/OCA)
- Scripted installation fails on Debian GNU/Linux 11 (bullseye) - service status active(exited) - Logs Empty HOT 1
- Ubuntu 24.04 + Odoo 17.0 - error: externally-managed-environment HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installscript.