Giter Site home page Giter Site logo

app-kimchi's People

Contributors

marclaporte avatar pcbaldwin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

app-kimchi's Issues

Failed to Start Kimchi after Updating to ver.1.1.8-1

Kimchi was running normally after updating the app to 1.1.8-1. I then stoped it from the app UI (inside clearos webconfig) and it refused to start again. Here is /log/messages when trying to start the app:

Dec 8 09:21:48 gateway engine: exception: error: /usr/clearos/apps/base/libraries/Shell.php (227): Command execution failed.
Dec 8 09:21:48 gateway engine: exception: debug backtrace: /usr/clearos/apps/base/libraries/Daemon.php (598): execute
Dec 8 09:21:48 gateway engine: exception: debug backtrace: /usr/clearos/apps/kimchi/controllers/server.php (114): set_running_state
Dec 8 09:21:48 gateway engine: exception: debug backtrace: GUI (0): start
Dec 8 09:21:48 gateway engine: exception: debug backtrace: /usr/clearos/framework/system/core/CodeIgniter.php (535): call_user_func_array
Dec 8 09:21:48 gateway engine: exception: debug backtrace: /usr/clearos/framework/htdocs/app/index.php (224): require_once

Wokd and libvirted daemons are working fine, but nginx is not. Here is nginx -t -c /etc/nginx/nginx.conf output:

nginx: [emerg] BIO_new_file("/etc/wok/dhparams.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/wok/dhparams.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

The file was in the server /etc/wok/dhparams.pem (it's still in locate database), but it has been deleted somehow during the update.

I regenerated the certificates using:
openssl req -x509 -newkey rsa:4096 -keyout /etc/wok/wok-key.pem -out /etc/wok/wok-cert.pem -days 365 -nodes -subj "/C=US/CN=wok/O=kimchi-project.org" >/dev/null 2>&1 || :
openssl dhparam 2048 -out /etc/wok/dhparams.pem

And now the app can start normally.

Failed to start after update

I'm not able to start Kimchi after installing it on ClearOS, I am seeing the follwing in the logs;

Feb 12 10:48:16 host systemd: Dependency After=wokd.service dropped from unit wokd.service
Feb 12 10:48:16 host systemd: Dependency After=wokd.service dropped from unit wokd.service
Feb 12 10:48:16 host webconfig: Redirecting to /bin/systemctl start wokd.service
Feb 12 10:48:16 host systemd: Cannot add dependency job for unit apache2.service, ignoring: Unit not found.
Feb 12 10:48:16 host wokd: Traceback (most recent call last):
Feb 12 10:48:16 host wokd: File "/usr/bin/wokd", line 30, in <module>
Feb 12 10:48:16 host wokd: import wok.server
Feb 12 10:48:16 host wokd: File "/usr/lib/python2.7/site-packages/wok/server.py", line 28, in <module>
Feb 12 10:48:16 host wokd: from wok import auth, config, websocket
Feb 12 10:48:16 host wokd: File "/usr/lib/python2.7/site-packages/wok/auth.py", line 35, in <module>
Feb 12 10:48:16 host wokd: from wok import template
Feb 12 10:48:16 host wokd: File "/usr/lib/python2.7/site-packages/wok/template.py", line 29, in <module>
Feb 12 10:48:16 host wokd: from wok import config as config
Feb 12 10:48:16 host wokd: File "/usr/lib/python2.7/site-packages/wok/config.py", line 164, in <module>
Feb 12 10:48:16 host wokd: class WokConfig(dict):
Feb 12 10:48:16 host wokd: File "/usr/lib/python2.7/site-packages/wok/config.py", line 228, in WokConfig
Feb 12 10:48:16 host wokd: font_dir = getattr(paths, "%s_dir" % font)
Feb 12 10:48:16 host wokd: AttributeError: 'Paths' object has no attribute 'fontawesome_dir'
Feb 12 10:48:16 host systemd: Dependency After=wokd.service dropped from unit wokd.service
Feb 12 10:48:16 host systemd: wokd.service: main process exited, code=exited, status=1/FAILURE
Feb 12 10:48:16 host kill: Usage:
Feb 12 10:48:16 host kill: kill [options] <pid|name> [...]
Feb 12 10:48:16 host kill: Options:
Feb 12 10:48:16 host kill: -a, --all              do not restrict the name-to-pid conversion to processes
Feb 12 10:48:16 host kill: with the same uid as the present process
Feb 12 10:48:16 host kill: -s, --signal <sig>     send specified signal
Feb 12 10:48:16 host kill: -q, --queue <sig>      use sigqueue(2) rather than kill(2)
Feb 12 10:48:16 host kill: -p, --pid              print pids without signaling them
Feb 12 10:48:16 host kill: -l, --list [=<signal>] list signal names, or convert one to a name
Feb 12 10:48:16 host kill: -L, --table            list signal names and numbers
Feb 12 10:48:16 host kill: -h, --help     display this help and exit
Feb 12 10:48:16 host kill: -V, --version  output version information and exit
Feb 12 10:48:16 host kill: For more details see kill(1).
Feb 12 10:48:16 host systemd: wokd.service: control process exited, code=exited status=1
Feb 12 10:48:16 host systemd: Unit wokd.service entered failed state.
Feb 12 10:48:16 host systemd: wokd.service failed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.