wok icon indicating copy to clipboard operation
wok copied to clipboard

How does anyone get this working?

Open rayzorben opened this issue 4 years ago • 4 comments

I've tried 2 different distros. Ubuntu 20.04, Debian 10.

In both, I keep getting nginx failing to start.

In Debian building from source it asks me for a PEM pass phrase, and then just hangs there.

What is the best distro to use to get this running?

rayzorben avatar Aug 25 '20 04:08 rayzorben

Figured, hey, it says Ubuntu 19.10, maybe I should just go with that. Nope, same issue.

Setting up nginx-core (1.16.1-0ubuntu2.1) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2020-08-25 05:06:49 UTC; 9ms ago
     Docs: man:nginx(8)
  Process: 3733 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Aug 25 05:06:49 rayserver systemd[1]: Starting A high performance web server and a reverse proxy server...
Aug 25 05:06:49 rayserver nginx[3733]: nginx: [emerg] cannot load certificate "/etc/wok/wok-cert.pem": BIO_new_file() failed 
(SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/wok/wok-cert.pem','r') error:2006D080:BIO rou
tines:BIO_new_file:no such file)
Aug 25 05:06:49 rayserver nginx[3733]: nginx: configuration file /etc/nginx/nginx.conf test failed
Aug 25 05:06:49 rayserver systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Aug 25 05:06:49 rayserver systemd[1]: nginx.service: Failed with result 'exit-code'.
Aug 25 05:06:49 rayserver systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-core (--configure):
 installed nginx-core package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-core (<< 1.16.1-0ubuntu2.1.1~) | nginx-full (<< 1.16.1-0ubuntu2.1.1~) | nginx-light (<< 1.16.1-0ubunt
u2.1.1~) | nginx-extras (<< 1.16.1-0ubuntu2.1.1~); however:
  Package nginx-core is not configured yet.
  Package nginx-full is not installed.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

rayzorben avatar Aug 25 '20 05:08 rayzorben

Could you run wok manually and paste here the output?

Instructions in here: https://github.com/kimchi-project/kimchi/wiki/Troubleshooting#virtualization-tab-was-not-loaded

alinefm avatar Sep 03 '20 01:09 alinefm

Could you run wok manually and paste here the output?

Instructions in here: https://github.com/kimchi-project/kimchi/wiki/Troubleshooting#virtualization-tab-was-not-loaded

He can't even install it. I'm having the same issue. Looks like you might have posted to the wrong thingy - Saw the tab issue in another 'ticket'.

kaboddy avatar Sep 09 '20 03:09 kaboddy

Had the same issue with the recent install script, the issue seems to be that the cert is generated by starting wokd. but nginx alredy references the cert before starting wokd.

Workaround here is start service wokd start wait some time till /etc/wok/wok-cert.pem is generated then resume the install.

TheGreatGooo avatar Sep 10 '20 00:09 TheGreatGooo