Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment does not work #81

Open
cschwarz007 opened this issue Aug 29, 2021 · 1 comment
Open

Deployment does not work #81

cschwarz007 opened this issue Aug 29, 2021 · 1 comment

Comments

@cschwarz007
Copy link

Hi,
I need some help please. I am trying to deploy ContraxSuite according to this instruction on an Ubuntu 18.04 LTS image on Azure.

I downloaded the non-commercial version of jQWidgets accordingly and put it where it belongs.

Deployment finished with nginx not starting up, according to sudo docker service logs -f contraxsuite_contrax-nginx the reason being the daphne container not starting up:

contraxsuite_contrax-nginx.1.ss080t3cwdim@ContraxUbu18    | 2021/08/29 11:31:47 [emerg] 1#1: host not found in upstream "contrax-daphne" in /etc/nginx/conf.d/default.conf:40
contraxsuite_contrax-nginx.1.ss080t3cwdim@ContraxUbu18    | nginx: [emerg] host not found in upstream "contrax-daphne" in /etc/nginx/conf.d/default.conf:40

Now, a sudo docker service logs -f contraxsuite_contrax-nginx is not very helpful:
contraxsuite_contrax-daphne.1.s4mihc8huw7q@ContraxUbu18 | [FATAL] Executing child process 'daphne' failed: 'No such file or directory'

Interestingly, a sudo tail -f /var/log/syslog shows apparently some issues with the docker bridge:

Aug 29 11:33:41 ContraxUbu18 kernel: [ 7144.653136] eth0: renamed from veth1e66169
Aug 29 11:33:41 ContraxUbu18 systemd-timesyncd[22538]: Network configuration changed, trying to establish connection.
Aug 29 11:33:41 ContraxUbu18 systemd-timesyncd[22538]: Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com).
Aug 29 11:33:41 ContraxUbu18 kernel: [ 7144.669190] docker_gwbridge: port 10(vethe5c7bc1) entered disabled state
Aug 29 11:33:41 ContraxUbu18 kernel: [ 7144.713393] eth1: renamed from veth3fdad22
Aug 29 11:33:41 ContraxUbu18 systemd-timesyncd[22538]: Network configuration changed, trying to establish connection.
Aug 29 11:33:41 ContraxUbu18 systemd-timesyncd[22538]: Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com).
Aug 29 11:33:41 ContraxUbu18 systemd-networkd[22472]: vethe5c7bc1: Gained carrier
Aug 29 11:33:41 ContraxUbu18 systemd-timesyncd[22538]: Network configuration changed, trying to establish connection.
Aug 29 11:33:41 ContraxUbu18 kernel: [ 7144.737105] docker_gwbridge: port 10(vethe5c7bc1) entered blocking state
Aug 29 11:33:41 ContraxUbu18 kernel: [ 7144.737107] docker_gwbridge: port 10(vethe5c7bc1) entered forwarding state
Aug 29 11:33:41 ContraxUbu18 systemd-timesyncd[22538]: Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com).
Aug 29 11:33:41 ContraxUbu18 containerd[1497]: time="2021-08-29T11:33:41.948146534Z" level=info msg="shim reaped" id=4037b23a7b61a3b4fe9d0448cab9aca08a949664036117a76ab73a4b9c3ea82e
Aug 29 11:33:41 ContraxUbu18 dockerd[28430]: time="2021-08-29T11:33:41.958054610Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Aug 29 11:33:42 ContraxUbu18 kernel: [ 7144.971227] br0: port 8(veth781) entered disabled state
Aug 29 11:33:42 ContraxUbu18 kernel: [ 7144.971298] veth1e66169: renamed from eth0
Aug 29 11:33:42 ContraxUbu18 systemd-udevd[24467]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 29 11:33:42 ContraxUbu18 systemd-timesyncd[22538]: Network configuration changed, trying to establish connection.
Aug 29 11:33:42 ContraxUbu18 networkd-dispatcher[1406]: WARNING:Unknown index 5388 seen, reloading interface list
Aug 29 11:33:42 ContraxUbu18 systemd-timesyncd[22538]: Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com).
Aug 29 11:33:42 ContraxUbu18 systemd-networkd[22472]: vethe5c7bc1: Lost carrier
Aug 29 11:33:42 ContraxUbu18 systemd-timesyncd[22538]: Network configuration changed, trying to establish connection.
Aug 29 11:33:42 ContraxUbu18 kernel: [ 7145.055495] docker_gwbridge: port 10(vethe5c7bc1) entered disabled state
Aug 29 11:33:42 ContraxUbu18 kernel: [ 7145.055591] veth3fdad22: renamed from eth1
Aug 29 11:33:42 ContraxUbu18 systemd-timesyncd[22538]: Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com).
Aug 29 11:33:42 ContraxUbu18 systemd-udevd[24490]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Aug 29 11:33:42 ContraxUbu18 systemd-timesyncd[22538]: Network configuration changed, trying to establish connection.
Aug 29 11:33:42 ContraxUbu18 networkd-dispatcher[1406]: WARNING:Unknown index 5390 seen, reloading interface list
Aug 29 11:33:42 ContraxUbu18 kernel: [ 7145.120576] docker_gwbridge: port 10(vethe5c7bc1) entered disabled state
Aug 29 11:33:42 ContraxUbu18 systemd-networkd[22472]: vethe5c7bc1: Link DOWN
Aug 29 11:33:42 ContraxUbu18 kernel: [ 7145.122677] device vethe5c7bc1 left promiscuous mode
Aug 29 11:33:42 ContraxUbu18 kernel: [ 7145.122682] docker_gwbridge: port 10(vethe5c7bc1) entered disabled state
Aug 29 11:33:42 ContraxUbu18 systemd-timesyncd[22538]: Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com).
Aug 29 11:33:42 ContraxUbu18 systemd-timesyncd[22538]: Network configuration changed, trying to establish connection.
Aug 29 11:33:42 ContraxUbu18 kernel: [ 7145.182658] br0: port 8(veth781) entered disabled state
Aug 29 11:33:42 ContraxUbu18 kernel: [ 7145.182973] device veth781 left promiscuous mode
Aug 29 11:33:42 ContraxUbu18 kernel: [ 7145.182975] br0: port 8(veth781) entered disabled state
Aug 29 11:33:42 ContraxUbu18 systemd-timesyncd[22538]: Synchronized to time server 91.189.94.4:123 (ntp.ubuntu.com).
Aug 29 11:33:42 ContraxUbu18 dockerd[28430]: time="2021-08-29T11:33:42.339721363Z" level=error msg="fatal task error" error="task: non-zero exit (1)" module=node/agent/taskmanager node.id=n9qqhiaxuyjq2itiun4nxf5rq service.id=oi3sqzyeanrk0w63r699jej9q task.id=y65q5mmfxorm79wmc1r76szc1

I have no idea how to fix this. It even seems to be an issue in Docker (maybe in correlation with Ubuntu - but I tried numerous different Ubuntu images without any success - the error remains in all of them).

Can anyone advise? Thanks in advance!

@cschwarz007
Copy link
Author

Same issue when I try to deploy it on AWS with an Ubuntu 18.04 LTS image ...

Can anyone advise? Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant