wikisuite / app-kimchi Goto Github PK
View Code? Open in Web Editor NEWKimchi app for ClearOS
Home Page: http://wikisuite.org/How-to-install-Kimchi-on-ClearOS
Kimchi app for ClearOS
Home Page: http://wikisuite.org/How-to-install-Kimchi-on-ClearOS
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.
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.
I'm running ClearOS Community 7.4 server. I've already installed KVM as per: https://www.clearos.com/resources/documentation/clearos/content:en_us:kb_7_install_virtualization_using_kvm
Then, I installed the app-kimchi ver. 1.1.8-1 as described here: http://wikisuite.org/How-to-install-Kimchi-on-ClearOS
The app refuses to run from the ClearOS webconfig (Status Stopped). The messages log doesn't give much in order to identify the problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.