DocCyblade / tkl-odoo

Turnkey Linux - Odoo v8 (Published v14.2)
https://www.turnkeylinux.org/odoo
GNU General Public License v3.0
21 stars 24 forks source link

v14.x WIP Notes #35

Closed DocCyblade closed 8 years ago

DocCyblade commented 8 years ago

Notes for v14.x

DocCyblade commented 8 years ago

@l-arnold If you can do a quick build and test on the dev-rc1 branch. I made some style changes and removed some depreciated settings. Want to make sure things are still working well. Just post the results here

Edit this main post for the template.

Checked Adminer. Does start with Postgres

  Reboot

Still No Effect at Starting Service

Have tried both with systemctl stop openerp-server.service systemctl start openerp-server.service

and /etc/init.d /bin/bash openerp-server start -c /opt/openerp/openerp-server.conf

  (but now that I look for the conf file, I am not seeing it in that folder.)
l-arnold commented 8 years ago

Ok.. Will give it a spin.. Need to tunnel in just a bit first,

l-arnold commented 8 years ago

third try on the build (mis-posted in Documentation - will delete there).

Package downloads hang but eventually work through w/ TKLDEV make command.

DocCyblade commented 8 years ago

I noticed that packages were taking some time as well, but it did build.

If things still look good I'll mark this RC1

Take a look at the config file. I tried to document each option using the command line help or online Odoo docs. There was some options that are no longer used. I removed those.

l-arnold commented 8 years ago

It built last night but needed to put the install till this am. On it shortly. Should be fine.

l-arnold commented 8 years ago

Not starting. What folder is the openerp.server.conf file in now ? Seems the service won't start.

DocCyblade commented 8 years ago

Check the service log see if there is an error

l-arnold commented 8 years ago

Looks like it is here: CONF=/etc/odoo/openerp-server.conf

It has been there for a while. Lets try the /bin/bash again.

l-arnold commented 8 years ago

Can't easily past my command line text:

cd /etc/init.d /bin/bash openerp-server start -c /etc/odoo/openerp-server.conf

says it is starting.

but "Service Unavailable" on the call still. Not showing as running in either in "Running services" or "Shutdown" program calls in Webmin

l-arnold commented 8 years ago

Where do I find the Service Log?

l-arnold commented 8 years ago

Apache Log showing some errors of this sort: [Wed Oct 07 13:29:51.520183 2015] [proxy_http:error] [pid 608] [client 192.168.1.106:63794] AH01114: HTTP: failed to make connection to backend: 127.0.0.1, referer: https://192.168.1.115/

Then this indicates Odoo itself is not open on 8069 [Wed Oct 07 13:29:53.881156 2015] [proxy:error] pid 609Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:8069 (127.0.0.1) failed

My IP is 192.168.1.106 just now.

DocCyblade commented 8 years ago

You should not need to pass config file to the script as it does that already.

What does the contents of /var/log/openerp-server.log

l-arnold commented 8 years ago

Empty File right now. Was looking at it yesterday in another build. Should populate w/ info but on my manual connection tests (not sure what I was doing then) it was only slightly populating.

Lets focus on this build. Any changes? Sounds like some in the Conf File itself. Should I use a Backup and see if it starts?

We should add this to the System Logs page in Webmin perhaps

as in: https://192.168.1.115:12321/syslog/index.cgi

l-arnold commented 8 years ago

Looks like 2 commits. Bigger one c8693227ae1aaf56c139cb39e22168ff07a67012

DocCyblade commented 8 years ago

Doing a build now I'll see what I can find. The issue is with the config file as that what was changed.

l-arnold commented 8 years ago

Ok. Just looking at the Conf File changes likely the subjects. I can see that much was annotation of the purpose of diff settings. Need to parse other differences still

Oct 5 49941e45572af6665a99e77e4e57a782289b9851 Oct 6 c8693227ae1aaf56c139cb39e22168ff07a67012 Oct 7 08934b556f52c5321278d5213e86960514fdcb7b

DocCyblade commented 8 years ago

It seems there is a few typos I the file. I also stumbled on another issue that there is a unmet dependency and it was not showing in the logs post more tonight

l-arnold commented 8 years ago

Round 2: RC1 Test following git fetch/pull/make clean/ make

Edit this main post for the template.

worth check that openerp-server.con admin-db variable also changes -- sometimes Odoo can "cache" this but not change it if not writing to openerp-server.conf properly

l-arnold commented 8 years ago

After Changing the Odoo Password, some Large Fault caused in the server. Not getting Webmin or Webshell to load now.

Still Odoo Database manager is responsive. Not taking Passwords but responsive.

I can even log in to Odoo with the original "admin" and "declared password" from first boot. Even installed "CRM" module after this.

Will reboot next. Should be something simple like Caps Lock but as I can't get into the files I can't find anything. Seems different really.

l-arnold commented 8 years ago

Reboot, strangely took a new IP address. Normally it would keep the last IP address (17 now not 16) ...
Very strange. It looks like either the IP Address changed at first boot or I was "dyslexic" on the IP number. Likely the latter though the Password Take will still be an issue.

I am running on IP 17 with all systems now. Reset password is Taking in Odoo.

admin_pw= (was reset properly)

Not sure what happened at first boot but systems running.

Should retest full install one more time.

l-arnold commented 8 years ago

RC1 Round 3: (should be good) (missing that webconsole) but all load at first view

https://192.168.1.120/ https://192.168.1.120:12321/ https://192.168.1.120:12320/

From Odoo Webmanager, Changed Password Right away said it took then: create Database:


Traceback (most recent call last): File "/opt/openerp/odoo/openerp/http.py", line 537, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/openerp/odoo/openerp/http.py", line 574, in dispatch result = self._call_function(*_self.params) File "/opt/openerp/odoo/openerp/http.py", line 311, in _call_function return self.endpoint(_args, *kwargs) File "/opt/openerp/odoo/openerp/http.py", line 803, in call return self.method(_args, _kw) File "/opt/openerp/odoo/openerp/http.py", line 403, in response_wrap response = f(_args, *_kw) File "/opt/openerp/odoo/addons/web/controllers/main.py", line 704, in create params['create_admin_pwd']) File "/opt/openerp/odoo/openerp/http.py", line 879, in proxy_method result = dispatch_rpc(self.service_name, method, args) File "/opt/openerp/odoo/openerp/http.py", line 115, in dispatch_rpc result = dispatch(method, params) File "/opt/openerp/odoo/openerp/service/db.py", line 65, in dispatch security.check_super(passwd) File "/opt/openerp/odoo/openerp/service/security.py", line 32, in check_super raise openerp.exceptions.AccessDenied() AccessDenied: Access denied.


Edit this main post for the template.

worth check that openerp-server.con admin-db variable also changes -- sometimes Odoo can "cache" this but not change it if not writing to openerp-server.conf properly

DocCyblade commented 8 years ago

What do you get when you run ls -l /etc/odoo/openerp-server.conf

l-arnold commented 8 years ago

New Password was set in /etc/odoo/openerp-server.conf

I ran: systemctl stop openerp-server.service systemctl start openerp-server.service

Then it took the new password. Will do another change now and see if it repeats. Installed, then went to Odoo but get a "poor" view. See screenshot

screenshot 2015-10-07 12 28 01

REFRESH did fix the View however (DO NOTE)

screenshot 2015-10-07 12 29 57

l-arnold commented 8 years ago

Same Cycle though. Change the PW, get a failure when trying to make a new DB:

screenshot 2015-10-07 12 31 35

screenshot 2015-10-07 12 33 11

I will start/stop with the /bin/bash openerp-server command next

l-arnold commented 8 years ago

So that command set did "stop" then "restart"

These are the running "services" after "start" Database Created with the 3rd Password now.

screenshot 2015-10-07 12 35 35

Will change the password again.

l-arnold commented 8 years ago

So this cycle, having started with cd /etc/init.d /bin/bash openerp-server stop /bin/bash openerp-server start

I was able to change the password, then use the new password to create a database.

the file * /etc/odoo/openerp-server.conf is showing the new 4th password

It seems the issue is in the Alternative Odoo Service start/stop somehow.

JedMeister commented 8 years ago

OT @l-arnold - I see you using Webshell in your screenshots. While it can be really handy; IMO you would be much better off using a proper SSH client like PuTTY. You'll find that copy/paste works much better (select text to copy in a PuTTY session; and right click to paste) and things like completion of paths works properly too. Although initially using commandline more may seem like you are typing more; it's actually much quicker and often IMO actually reduces typing! :smile:

Also in the screen where you are using Webmin to see all running processes I'd like to point out a couple of things. Firstly to be correct they are processes - not (necessarily) 'services'. Unlike Windows, Linux doesn't actually differentiate between services and any other process. A 'service' (more commonly called a 'daemon in 'Linux-speak') is just a process that is running in the background. And secondly; whilst obviously Webmin works, IMO it is much quicker, easier and cleaner to do that at the commandline (inside your PuTTY session :wink: ). Try this:

ps aux | grep openerp
DocCyblade commented 8 years ago

@l-arnold - I just did a few more commits, this should fix most of the bugs and add some features that should make debugging much easier (The logging)

DocCyblade commented 8 years ago

I am doing a test build now with current state of dev-c1 @l-arnold I'll let you know if my quick testing works, I'd like to have a 2nd set of eyes on it

DocCyblade commented 8 years ago

Did an ISO build, and VM install and ran a few commands. My change is already giving dividends!

Look at the /var/log/odoo/openerp-server-startup.log file. Shows that service was stopped and started too quickly. Most likely by the inithooks for changing the database password and the super admin password. I opened a bug issue for that :-)

root@tkl-odoo ~# systemctl status openerp-server.service

* openerp-server.service - LSB: Open Enterprise Resource Management software
   Loaded: loaded (/etc/init.d/openerp-server)
   Active: active (running) since Thu 2015-10-08 02:13:15 UTC; 28s ago
  Process: 3718 ExecStop=/etc/init.d/openerp-server stop (code=exited, status=0/SUCCESS)
  Process: 3721 ExecStart=/etc/init.d/openerp-server start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/openerp-server.service
           |-3726 python /opt/openerp/odoo/openerp-server --config=/etc/odoo/openerp-server.conf
           |-3732 python /opt/openerp/odoo/openerp-server --config=/etc/odoo/openerp-server.conf
           |-3733 python /opt/openerp/odoo/openerp-server --config=/etc/odoo/openerp-server.conf
           |-3734 /usr/bin/python /opt/openerp/odoo/openerp-gevent --config=/etc/odoo/openerp-server.conf
           |-3735 python /opt/openerp/odoo/openerp-server --config=/etc/odoo/openerp-server.conf
           `-3736 python /opt/openerp/odoo/openerp-server --config=/etc/odoo/openerp-server.conf

Oct 08 02:13:15 tkl-odoo systemd[1]: Starting LSB: Open Enterprise Resource Management software...
Oct 08 02:13:15 tkl-odoo openerp-server[3721]: Starting openerp-server: openerp-server.
Oct 08 02:13:15 tkl-odoo systemd[1]: Started LSB: Open Enterprise Resource Management software.

root@tkl-odoo ~# ls -l /var/log/odoo

total 12
-rw-rw-r-- 1 openerp root 1159 Oct  8 02:13 openerp-server-startup.log
-rw-rw-r-- 1 openerp root 7344 Oct  8 02:13 openerp-server.log

root@tkl-odoo ~# tail /var/log/odoo/openerp-server.log

2015-10-08 02:13:16,066 3733 INFO ? openerp.service.server: Worker WorkerHTTP (3733) alive
2015-10-08 02:13:16,070 3732 INFO ? openerp.service.server: Worker WorkerHTTP (3732) alive
2015-10-08 02:13:16,076 3736 INFO ? openerp.service.server: Worker WorkerCron (3736) alive
2015-10-08 02:13:16,079 3735 INFO ? openerp.service.server: Worker WorkerCron (3735) alive
2015-10-08 02:13:16,344 3734 INFO ? openerp: OpenERP version 8.0
2015-10-08 02:13:16,344 3734 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons']
2015-10-08 02:13:16,344 3734 INFO ? openerp: database hostname: 127.0.0.1
2015-10-08 02:13:16,345 3734 INFO ? openerp: database port: 5432
2015-10-08 02:13:16,345 3734 INFO ? openerp: database user: openerp
2015-10-08 02:13:16,458 3734 INFO ? openerp.service.server: Evented Service (long polling) running on 127.0.0.1:8072

root@tkl-odoo ~# tail -n 100 /var/log/odoo/openerp-server-startup.log

Thu Oct  8 02:12:41 UTC 2015 - Starting openerp-server: 
Thu Oct  8 02:12:47 UTC 2015 - Stopping openerp-server: 
Thu Oct  8 02:12:47 UTC 2015 - Starting openerp-server: 
Traceback (most recent call last):
  File "/opt/openerp/odoo/openerp-server", line 5, in <module>
    openerp.cli.main()
  File "/opt/openerp/odoo/openerp/cli/__init__.py", line 68, in main
    o.run(args)
  File "/opt/openerp/odoo/openerp/cli/server.py", line 180, in run
    main(args)
  File "/opt/openerp/odoo/openerp/cli/server.py", line 174, in main
    rc = openerp.service.server.start(preload=preload, stop=stop)
  File "/opt/openerp/odoo/openerp/service/server.py", line 962, in start
    rc = server.run(preload, stop)
  File "/opt/openerp/odoo/openerp/service/server.py", line 637, in run
    self.start()
  File "/opt/openerp/odoo/openerp/service/server.py", line 609, in start
    self.socket.bind(self.address)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use
Thu Oct  8 02:13:15 UTC 2015 - Stopping openerp-server: 
Thu Oct  8 02:13:15 UTC 2015 - Starting openerp-server: 
DocCyblade commented 8 years ago

Well I am heading to bed. I am doing a build of the current state of dev-rc1 and see what it brings. @l-arnold if you have time tonight post your findings here in this issue.

We should be able to close out a bunch of issues if these changes are good

l-arnold commented 8 years ago

I think I am running the wrong Branch (ran it on dev-rc1) (perhaps a typo and you meant dev-rc1)

There were some changes so trust all is good. Will do a run through as soon as build or elsewise I am awake.

thanks again Ken!

----- Original Message -----

From: "Ken Robinson" notifications@github.com To: "DocCyblade/tkl-odoo" tkl-odoo@noreply.github.com Cc: "L. Arnold" larnold@nomadic.net Sent: Wednesday, October 7, 2015 8:07:19 PM Subject: Re: [tkl-odoo] v14.x WIP Notes (#35)

I am doing a test build now with current state of dev-c1 @l-arnold I'll let you know if my quick testing works, I'd like to have a 2nd set of eyes on it

— Reply to this email directly or view it on GitHub .

DocCyblade commented 8 years ago

@l-arnold yes it should be dev-rc1 branch

Good night!

DocCyblade commented 8 years ago

@l-arnold there is an issue with this pid file, however I think it highlights an even bigger bug. Restarting the service. #43 It seems something is a foot.

DocCyblade commented 8 years ago

@l-arnold I;ll have some time over my lunch break to finish this up. Waiting some comments from @JedMeister on #43 not sure if he will commit, it's 9pm his time right now. But if he does, I'll patch up the pid/init script

l-arnold commented 8 years ago

@DocCyblade Just finally got an install (power outage in the middle of round 1). This is from Last Night's pull, so perhaps not quite up to date with your code base.

First go getting "Service Unavailable".

Trying to start as yesterday and not getting success. cd /etc/init.d /bin/bash openerp-server start (stop) (restart etc) (do get a line confirming one or the other thing is happening, but no response to confirm.

One Note: using / systemctl stop openerp-server.service

there is no "shell" response line of confrmation to follow. That would seem valuable actually. I had thought it was there but not really sure.


openerp-server-startup.log

Thu Oct 8 16:20:41 UTC 2015 - Starting openerp-server: Traceback (most recent call last): File "/opt/openerp/odoo/openerp-server", line 5, in openerp.cli.main() File "/opt/openerp/odoo/openerp/cli/init.py", line 68, in main o.run(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 180, in run main(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 173, in main setup_pid_file() File "/opt/openerp/odoo/openerp/cli/server.py", line 98, in setup_pid_file with open(config['pidfile'], 'w') as fd: IOError: [Errno 13] Permission denied: '/var/run/openerp-server.pid' Thu Oct 8 16:21:10 UTC 2015 - Stopping openerp-server: Thu Oct 8 16:21:10 UTC 2015 - Starting openerp-server: Traceback (most recent call last): File "/opt/openerp/odoo/openerp-server", line 5, in openerp.cli.main() File "/opt/openerp/odoo/openerp/cli/init.py", line 68, in main o.run(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 180, in run main(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 173, in main setup_pid_file() File "/opt/openerp/odoo/openerp/cli/server.py", line 98, in setup_pid_file with open(config['pidfile'], 'w') as fd: IOError: [Errno 13] Permission denied: '/var/run/openerp-server.pid' Thu Oct 8 16:23:40 UTC 2015 - Stopping openerp-server: Thu Oct 8 16:23:40 UTC 2015 - Starting openerp-server: Traceback (most recent call last): File "/opt/openerp/odoo/openerp-server", line 5, in openerp.cli.main() File "/opt/openerp/odoo/openerp/cli/init.py", line 68, in main o.run(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 180, in run main(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 173, in main setup_pid_file() File "/opt/openerp/odoo/openerp/cli/server.py", line 98, in setup_pid_file with open(config['pidfile'], 'w') as fd: IOError: [Errno 13] Permission denied: '/var/run/openerp-server.pid' Thu Oct 8 16:28:39 UTC 2015 - Starting openerp-server: Traceback (most recent call last): File "/opt/openerp/odoo/openerp-server", line 5, in openerp.cli.main() File "/opt/openerp/odoo/openerp/cli/init.py", line 68, in main o.run(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 180, in run main(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 173, in main setup_pid_file() File "/opt/openerp/odoo/openerp/cli/server.py", line 98, in setup_pid_file with open(config['pidfile'], 'w') as fd: IOError: [Errno 13] Permission denied: '/var/run/openerp-server.pid' Thu Oct 8 16:29:12 UTC 2015 - Stopping openerp-server: Thu Oct 8 16:29:21 UTC 2015 - Starting openerp-server: Traceback (most recent call last): File "/opt/openerp/odoo/openerp-server", line 5, in openerp.cli.main() File "/opt/openerp/odoo/openerp/cli/init.py", line 68, in main o.run(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 180, in run main(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 173, in main setup_pid_file() File "/opt/openerp/odoo/openerp/cli/server.py", line 98, in setup_pid_file with open(config['pidfile'], 'w') as fd: IOError: [Errno 13] Permission denied: '/var/run/openerp-server.pid' Thu Oct 8 16:30:03 UTC 2015 - Stopping openerp-server: Thu Oct 8 16:32:48 UTC 2015 - Starting openerp-server: Traceback (most recent call last): File "/opt/openerp/odoo/openerp-server", line 5, in openerp.cli.main() File "/opt/openerp/odoo/openerp/cli/init.py", line 68, in main o.run(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 180, in run main(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 173, in main setup_pid_file() File "/opt/openerp/odoo/openerp/cli/server.py", line 98, in setup_pid_file with open(config['pidfile'], 'w') as fd: IOError: [Errno 13] Permission denied: '/var/run/openerp-server.pid' Thu Oct 8 16:33:05 UTC 2015 - Stopping openerp-server: Thu Oct 8 16:33:34 UTC 2015 - Starting openerp-server: Traceback (most recent call last): File "/opt/openerp/odoo/openerp-server", line 5, in openerp.cli.main() File "/opt/openerp/odoo/openerp/cli/init.py", line 68, in main o.run(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 180, in run main(args) File "/opt/openerp/odoo/openerp/cli/server.py", line 173, in main setup_pid_file() File "/opt/openerp/odoo/openerp/cli/server.py", line 98, in setup_pid_file with open(config['pidfile'], 'w') as fd: IOError: [Errno 13] Permission denied: '/var/run/openerp-server.pid'

l-arnold commented 8 years ago

I have the following in the

/var/logs/odoo/openerp-server.log

2015-10-08 16:20:46,178 693 INFO ? openerp: OpenERP version 8.0 2015-10-08 16:20:46,178 693 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-08 16:20:46,178 693 INFO ? openerp: database hostname: 127.0.0.1 2015-10-08 16:20:46,179 693 INFO ? openerp: database port: 5432 2015-10-08 16:20:46,179 693 INFO ? openerp: database user: openerp 2015-10-08 16:21:11,029 3499 INFO ? openerp: OpenERP version 8.0 2015-10-08 16:21:11,030 3499 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-08 16:21:11,030 3499 INFO ? openerp: database hostname: 127.0.0.1 2015-10-08 16:21:11,030 3499 INFO ? openerp: database port: 5432 2015-10-08 16:21:11,030 3499 INFO ? openerp: database user: openerp 2015-10-08 16:23:41,057 3573 INFO ? openerp: OpenERP version 8.0 2015-10-08 16:23:41,058 3573 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-08 16:23:41,058 3573 INFO ? openerp: database hostname: 127.0.0.1 2015-10-08 16:23:41,058 3573 INFO ? openerp: database port: 5432 2015-10-08 16:23:41,058 3573 INFO ? openerp: database user: openerp 2015-10-08 16:28:40,453 3917 INFO ? openerp: OpenERP version 8.0 2015-10-08 16:28:40,453 3917 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-08 16:28:40,453 3917 INFO ? openerp: database hostname: 127.0.0.1 2015-10-08 16:28:40,453 3917 INFO ? openerp: database port: 5432 2015-10-08 16:28:40,453 3917 INFO ? openerp: database user: openerp 2015-10-08 16:29:22,311 3954 INFO ? openerp: OpenERP version 8.0 2015-10-08 16:29:22,311 3954 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-08 16:29:22,311 3954 INFO ? openerp: database hostname: 127.0.0.1 2015-10-08 16:29:22,312 3954 INFO ? openerp: database port: 5432 2015-10-08 16:29:22,312 3954 INFO ? openerp: database user: openerp 2015-10-08 16:32:49,527 4023 INFO ? openerp: OpenERP version 8.0 2015-10-08 16:32:49,527 4023 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-08 16:32:49,527 4023 INFO ? openerp: database hostname: 127.0.0.1 2015-10-08 16:32:49,528 4023 INFO ? openerp: database port: 5432 2015-10-08 16:32:49,528 4023 INFO ? openerp: database user: openerp 2015-10-08 16:33:35,052 4064 INFO ? openerp: OpenERP version 8.0 2015-10-08 16:33:35,053 4064 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-08 16:33:35,053 4064 INFO ? openerp: database hostname: 127.0.0.1 2015-10-08 16:33:35,053 4064 INFO ? openerp: database port: 5432 2015-10-08 16:33:35,053 4064 INFO ? openerp: database user: openerp

DocCyblade commented 8 years ago

It's an issue I am working on now. I'll have some update commits by tonight

l-arnold commented 8 years ago

Sounds good. Let me know if I can help in any way.

DocCyblade commented 8 years ago

Basically I am refitting the init script to support better restarting and handling of asynchronous commands

This is why I think we saw Odoo broken sometimes out of the box but a reboot seemed to fix it.

DocCyblade commented 8 years ago

Just got home not to long ago. dev-rc1 branch should have the pid file fixed but the first boot still needs some work. I pushed my WIP changed into a new branch dev-init-rewrite You can test the current dev-rc1 if you would like. That should have the pid file fixed. Going to work a few min on the init script then heading to bed, will be another log day tomorrow.

DocCyblade commented 8 years ago

doing build now based of `dev-init-rewrite'

DocCyblade commented 8 years ago

I'll tested it in the am, i am off to bed. Check out the init changed

l-arnold commented 8 years ago

Will work on this soon. Out of the office so need to connect.

Report soon.

DocCyblade commented 8 years ago

@l-arnold - If you want to test the current dev-rc1 branch that would be good. We are testing for the following issues

Issues fixed, needing confirmed

l-arnold commented 8 years ago

Building now.

l-arnold commented 8 years ago

First Boot, "Service Unavailable" on port 443.. Will see if I can get it started.

l-arnold commented 8 years ago

Firstboot, no response to systemctl stop openerp-server.service systemctl start openerp-server.service or cd /etc/init.d /bin/bash openerp-server stop /bin/bash openerp-server-start

(no errors shown in shell). Will restart and also check log next

l-arnold commented 8 years ago

/var/logs/odoo/openerp-server log

2015-10-10 17:59:26,103 705 INFO ? openerp: OpenERP version 8.0 2015-10-10 17:59:26,103 705 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-10 17:59:26,103 705 INFO ? openerp: database hostname: 127.0.0.1 2015-10-10 17:59:26,103 705 INFO ? openerp: database port: 5432 2015-10-10 17:59:26,103 705 INFO ? openerp: database user: openerp 2015-10-10 17:59:50,556 3508 INFO ? openerp: OpenERP version 8.0 2015-10-10 17:59:50,557 3508 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-10 17:59:50,557 3508 INFO ? openerp: database hostname: 127.0.0.1 2015-10-10 17:59:50,557 3508 INFO ? openerp: database port: 5432 2015-10-10 17:59:50,557 3508 INFO ? openerp: database user: openerp 2015-10-10 18:01:51,748 3584 INFO ? openerp: OpenERP version 8.0 2015-10-10 18:01:51,748 3584 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-10 18:01:51,748 3584 INFO ? openerp: database hostname: 127.0.0.1 2015-10-10 18:01:51,748 3584 INFO ? openerp: database port: 5432 2015-10-10 18:01:51,748 3584 INFO ? openerp: database user: openerp 2015-10-10 18:33:56,611 4153 INFO ? openerp: OpenERP version 8.0 2015-10-10 18:33:56,612 4153 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-10 18:33:56,612 4153 INFO ? openerp: database hostname: 127.0.0.1 2015-10-10 18:33:56,612 4153 INFO ? openerp: database port: 5432 2015-10-10 18:33:56,612 4153 INFO ? openerp: database user: openerp 2015-10-10 18:34:40,915 4224 INFO ? openerp: OpenERP version 8.0 2015-10-10 18:34:40,915 4224 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-10 18:34:40,915 4224 INFO ? openerp: database hostname: 127.0.0.1 2015-10-10 18:34:40,915 4224 INFO ? openerp: database port: 5432 2015-10-10 18:34:40,915 4224 INFO ? openerp: database user: openerp 2015-10-10 18:38:00,137 634 INFO ? openerp: OpenERP version 8.0 2015-10-10 18:38:00,138 634 INFO ? openerp: addons paths: ['/opt/openerp/.local/share/Odoo/addons/8.0', u'/opt/openerp/odoo/addons', '/opt/openerp/odoo/openerp/addons'] 2015-10-10 18:38:00,138 634 INFO ? openerp: database hostname: 127.0.0.1 2015-10-10 18:38:00,138 634 INFO ? openerp: database port: 5432 2015-10-10 18:38:00,138 634 INFO ? openerp: database user: openerp

l-arnold commented 8 years ago

What is the ",u" about in the second declaration of the addons path? Might be normal but just checking if we know.