[Bug 787698] New: home:Lord_LT:OpenERP/openerp-server: Bug: Install dependency
https://bugzilla.novell.com/show_bug.cgi?id=787698 https://bugzilla.novell.com/show_bug.cgi?id=787698#c0 Summary: home:Lord_LT:OpenERP/openerp-server: Bug: Install dependency Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Critical Priority: P5 - None Component: 3rd party software AssignedTo: imlordlt@gmail.com ReportedBy: wvvelzen@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: Other Blocker: Yes I'm trying to install openerp on 12.2, but this won't work, because it has a dependency on a package python-addons, which is nowhere to be found... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787698 https://bugzilla.novell.com/show_bug.cgi?id=787698#c1 Leandro Terrés Rocamora <imlordlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Leandro Terrés Rocamora <imlordlt@gmail.com> 2012-11-01 14:53:17 UTC --- Fixed, needed some time to compile new builds. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787698 https://bugzilla.novell.com/show_bug.cgi?id=787698#c2 Wilfred van Velzen <wvvelzen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #2 from Wilfred van Velzen <wvvelzen@gmail.com> 2012-11-01 15:05:01 UTC --- Build results are 'failed' right now: https://build.opensuse.org/package/show?project=home%3ALord_LT%3AOpenERP&package=openerp-server Should I be more patient? ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787698 https://bugzilla.novell.com/show_bug.cgi?id=787698#c3 Leandro Terrés Rocamora <imlordlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |FIXED --- Comment #3 from Leandro Terrés Rocamora <imlordlt@gmail.com> 2012-11-01 15:37:18 UTC --- Yes, be more patient. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787698 https://bugzilla.novell.com/show_bug.cgi?id=787698#c4 Wilfred van Velzen <wvvelzen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED | --- Comment #4 from Wilfred van Velzen <wvvelzen@gmail.com> 2012-11-01 19:03:06 UTC --- There were more dependencies that didn't resolve automatically. I had to add repos 2 and 14, from the list below, before the installation was able to resolve all dependencies: ~~~ # zypper lr # | Alias | Name | Enabled | Refresh ---+---------------------------+------------------------------------+---------+-------- 1 | devel:languages:perl | devel:languages:perl | Yes | Yes 2 | devel:languages:python | devel:languages:python | Yes | Yes 3 | home:Lord_LT:OpenERP | home:Lord_LT:OpenERP | Yes | Yes ... 13 | server:php | server:php | Yes | Yes 14 | spins:invis | spins:invis | Yes | Yes ~~~ (repos 4 upto 12 are default opensuse ones, so I left them out) But now I'm stuck with the following error in /var/log/openerp-server.log, when I start the openerp service: Running as user 'root' is a security risk, aborting. In /etc/openerp-server.conf I changed a line to: process_user = openerp But the loading of /etc/openerp-server.conf is commented out from the init script: /etc/init.d/openerp I think some things still need some tweaking in this package? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787698 https://bugzilla.novell.com/show_bug.cgi?id=787698#c5 --- Comment #5 from Wilfred van Velzen <wvvelzen@gmail.com> 2012-11-01 19:22:53 UTC --- (In reply to comment #4)
But now I'm stuck with the following error in /var/log/openerp-server.log, when I start the openerp service:
Running as user 'root' is a security risk, aborting.
Adding -u openerp to the startproc line in /etc/init.d/openerp fixed this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787698 https://bugzilla.novell.com/show_bug.cgi?id=787698#c6 Leandro Terrés Rocamora <imlordlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #6 from Leandro Terrés Rocamora <imlordlt@gmail.com> 2012-11-02 00:23:49 CET --- I've modified the start up script and the configuration file to make the process run has user openerp. I hope this changes work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787698 https://bugzilla.novell.com/show_bug.cgi?id=787698#c7 --- Comment #7 from Wilfred van Velzen <wvvelzen@gmail.com> 2012-11-02 11:01:13 UTC --- You don't test much? Do you? ;) You forgot a space in the init script: "-u $OPENERP_USER-p" And I have still the following issues. From: /var/log/openerp-server.log: ERROR: couldn't create the logfile directory. Logging to the standard output. This is strange, because this is written to the log file! Traceback (most recent call last): File "/usr/bin/openerp-server", line 268, in <module> setup_pid_file() File "/usr/bin/openerp-server", line 87, in setup_pid_file fd = open(config['pidfile'], 'w') IOError: [Errno 2] No such file or directory: '/var/run/openerp/openerp-server.pid' This pid file isn't created. Maybe the rpm should create the directory: /var/run/openerp/ ? And when I browse to http://localhost:8069, I get redirected to http://localhost:8069/web/webclient/home, so the server seems to be working, but the browser screen remains blank, while you are supposed to see the login screen of openerp. This is in the log: 2012-11-02 10:41:06,823 12251 INFO ? werkzeug: 127.0.0.1 - - [02/Nov/2012 10:41:06] "GET /web/webclient/home HTTP/1.1" 200 - 2012-11-02 10:41:06,834 12251 INFO ? werkzeug: 127.0.0.1 - - [02/Nov/2012 10:41:06] "GET /web/webclient/css HTTP/1.1" 304 - 2012-11-02 10:41:06,838 12251 INFO ? werkzeug: 127.0.0.1 - - [02/Nov/2012 10:41:06] "GET /web/webclient/js HTTP/1.1" 304 - -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787698 https://bugzilla.novell.com/show_bug.cgi?id=787698#c8 --- Comment #8 from Leandro Terrés Rocamora <imlordlt@gmail.com> 2012-11-02 12:50:18 CET --- Fixed missing space. /var/run/openerp is created at startup using tmpfiles in opensuse 12.2. So, so need restart your system after install the package or invoke systemd-tmpfiles from a root console. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787698 https://bugzilla.novell.com/show_bug.cgi?id=787698#c9 --- Comment #9 from Wilfred van Velzen <wvvelzen@gmail.com> 2012-11-02 12:24:22 UTC --- Rebooting indeed fixed /var/run/openerp . I still get an empty browser screen though on http://localhost:8069, can you help with that? Do you need to initialize anything? Do you need to configure something in the config file for this to get working? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=787698 https://bugzilla.novell.com/show_bug.cgi?id=787698#c10 --- Comment #10 from Wilfred van Velzen <wvvelzen@gmail.com> 2012-11-08 19:52:03 UTC --- (In reply to comment #9)
I still get an empty browser screen though on http://localhost:8069
This was fixed by adding: addons_path = /usr/openerp/addons to the config file. Without this line it was looking in: /usr/lib/python2.7/site-packages/openerp/addons All the python files are there but not the other files it needs! Is this dual directory structure what the installer normally does, or did something go wrong with my specific installation? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com