Huginn: WebGUI isn't coming up (host OS: unRAID, official docker container)

Created on 21 Apr 2020  路  8Comments  路  Source: huginn/huginn

The container is starting and not automatically shutting back down, but the GUI isn't coming up.

Here's the log:

2020-04-20 10:06:46,378 WARN received SIGTERM indicating exit request
2020-04-20 10:06:46,378 INFO waiting for stdout to die
2020-04-20 10:06:49,382 INFO waiting for stdout to die
2020-04-20 10:06:49,383 INFO stopped: stdout (terminated by SIGTERM)
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32`.
Using rake 12.3.3
Using ace-rails-ap 2.0.1
Using concurrent-ruby 1.1.5
Using i18n 1.6.0
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 5.2.2.1
Using builder 3.2.3
Using erubi 1.8.0
Using mini_portile2 2.4.0
Using nokogiri 1.10.8
Using rails-dom-testing 2.0.3
Using crass 1.0.5
Using loofah 2.4.0
Using rails-html-sanitizer 1.0.4
Using actionview 5.2.2.1
Using rack 2.0.8
Using rack-test 1.1.0
Using actionpack 5.2.2.1
Using nio4r 2.3.1
Using websocket-extensions 0.1.3
Using websocket-driver 0.7.0
Using actioncable 5.2.2.1
Using globalid 0.4.2
Using activejob 5.2.2.1
Using mini_mime 1.0.1
Using mail 2.7.1
Using actionmailer 5.2.2.1
Using activemodel 5.2.2.1
Using arel 9.0.0
Using activerecord 5.2.2.1
Using mimemagic 0.3.3
Using marcel 0.3.3
Using activestorage 5.2.2.1
Using public_suffix 3.0.2
Using addressable 2.5.2
Using jmespath 1.1.3
Using aws-sdk-core 2.2.15
Using bcrypt 3.1.12
Using msgpack 1.2.4
Using bootsnap 1.3.0
Using kaminari-core 1.1.1
Using kaminari-actionview 1.1.1
Using kaminari-activerecord 1.1.1
Using kaminari 1.1.1
Using bundler 1.17.3
Using method_source 0.9.2
Using thor 0.19.4
Using railties 5.2.2.1
Using sprockets 3.7.2
Using sprockets-rails 3.2.1
Using rails 5.2.2.1
Using bootstrap-kaminari-views 0.0.5
Using buftok 0.2.0
Using coffee-script-source 1.12.2
Using execjs 2.7.0
Using coffee-script 2.4.1
Using coffee-rails 4.2.2
Using cookiejar 0.3.2
Using daemons 1.1.9
Using declarative 0.0.9
Using declarative-option 0.1.0
Using delayed_job 4.1.5
Using delayed_job_active_record 4.1.3 from https://github.com/dsander/delayed_job_active_record.git (at rails52@8efc7b1)
Using orm_adapter 0.5.0
Using responders 2.4.1
Using warden 1.2.8
Using devise 4.6.2
Using unf_ext 0.0.7.4
Using unf 0.1.4
Using domain_name 0.5.20170404
Using dotenv 2.0.1 from source at `vendor/gems/dotenv-2.0.1`
Using dotenv-rails 2.0.1 from source at `vendor/gems/dotenv-2.0.1`
Using hashie 3.5.6
Using multi_json 1.13.1
Using multipart-post 2.0.0
Using faraday 0.12.1
Using jwt 1.5.6
Using multi_xml 0.6.0
Using oauth2 1.4.0
Using dropbox-api 0.5.0 from https://github.com/dsander/dropbox-api.git (at 86cb7b5@86cb7b5)
Using eventmachine 1.2.7
Using em-socksify 0.3.0
Using http_parser.rb 0.6.0
Using em-http-request 1.1.2
Using equalizer 0.0.11
Using polyglot 0.3.5
Using treetop 1.6.9
Using erector 0.10.0 from https://github.com/dsander/erector.git (at fix-fixnum-warning@9ee3667)
Using et-orbi 1.0.9
Using ffi 1.9.25
Using ethon 0.12.0
Using evernote-thrift 1.25.1
Using oauth 0.4.7
Using evernote_oauth 0.2.3
Using faraday_middleware 0.12.2
Using sax-machine 1.3.2
Using feedjira 3.1.0
Using sass 3.4.23
Using font-awesome-sass 4.7.0
Using forecast_io 2.0.1
Using foreman 0.63.0
Using geokit 1.8.5
Using geokit-rails 2.2.0
Using little-plugger 1.1.4
Using logging 2.2.2
Using memoist 0.16.0
Using os 0.9.6
Using signet 0.7.3
Using googleauth 0.5.1
Using httpclient 2.8.3
Using mime-types-data 3.2016.0521
Using mime-types 3.1
Using uber 0.1.0
Using representable 3.0.4
Using retriable 3.0.2
Using google-api-client 0.13.0
Using google-cloud-env 1.0.0
Using google-cloud-core 1.0.0
Using google-cloud-translate 1.0.0
Using haversine 0.3.0
Using httparty 0.14.0
Using hipchat 1.2.0
Using httmultiparty 0.3.16
Using http-cookie 1.0.3
Using http-form_data 1.0.1
Using http 2.1.0
Using huginn_agent 0.4.0
Using hypdf 1.0.10
Using jquery-rails 4.2.2
Using json 2.3.0
Using to_regexp 0.2.1
Using jsonpath 1.0.1
Using kgio 2.10.0
Using kramdown 1.3.3
Using libv8 7.3.492.27.1 (x86_64-linux)
Using liquid 4.0.3
Using rb-fsevent 0.10.2
Using rb-inotify 0.9.10
Using listen 3.0.8
Using systemu 2.6.4
Using macaddr 1.7.1
Using memoizable 0.4.2
Using mini_magick 4.9.5
Using mini_racer 0.2.9
Using mqtt 0.3.1
Using mysql2 0.5.2
Using naught 1.1.0
Using net-ftp-list 3.2.8
Using netrc 0.11.0
Using omniauth 1.6.1
Using omniauth-oauth2 1.3.1
Using omniauth-37signals 1.0.5
Using omniauth-dropbox-oauth2 0.3.0 from https://github.com/bamorim/omniauth-dropbox-oauth2.git (at 3504670@3504670)
Using omniauth-oauth 1.1.0
Using omniauth-evernote 1.2.1
Using omniauth-tumblr 1.2
Using omniauth-twitter 1.3.0
Using omniauth-wunderlist 0.0.2
Using raindrops 0.17.0
Using rb-kqueue 0.2.4
Using rest-client 2.0.2
Using rturk 2.12.1
Using uuid 2.3.7
Using ruby-growl 4.1
Using rufus-scheduler 3.4.2
Using tilt 2.0.7
Using sass-rails 5.0.6
Using select2-rails 3.5.9.3
Using simple_oauth 0.3.1
Using slack-notifier 1.0.0
Using spectrum-rails 1.3.4
Using tumblr_client 0.8.5 from https://github.com/albertsun/tumblr_client.git (at e046fe6@e046fe6)
Using twilio-ruby 3.11.6
Using twitter 5.15.0 from https://github.com/sferik/twitter.git (at master@d11707e)
Using twitter-stream 0.1.15 from https://github.com/cantino/twitter-stream.git (at huginn@a80822d)
Using typhoeus 1.3.1
Using uglifier 2.7.2
Using unicorn 5.1.0
Using weibo_2 0.1.7 from https://github.com/albertsun/weibo_2.git (at master@ac38d04)
Using xmpp4r 0.5.6
Bundle complete! 109 Gemfile dependencies, 182 gems now installed.
Gems in the groups test and development were not installed.
Bundled gems are installed into `./vendor/bundle`
2020-04-20 10:07:12,962 INFO Included extra file "/etc/supervisor/conf.d/bootstrap.conf" during parsing
2020-04-20 10:07:12,962 INFO Included extra file "/etc/supervisor/conf.d/foreman.conf" during parsing
2020-04-20 10:07:12,962 INFO Included extra file "/etc/supervisor/conf.d/mysqld.conf" during parsing
2020-04-20 10:07:12,976 INFO RPC interface 'supervisor' initialized
2020-04-20 10:07:12,976 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2020-04-20 10:07:12,976 INFO supervisord started with pid 1
2020-04-20 10:07:13,979 INFO spawned: 'stdout' with pid 560
2020-04-20 10:07:13,980 INFO spawned: 'bootstrap' with pid 561
2020-04-20 10:07:13,989 INFO success: bootstrap entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-04-20 10:07:13,996 INFO exited: bootstrap (exit status 1; not expected)
2020-04-20 10:07:15,000 INFO success: stdout entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

I can get into the container console, not really sure what I'd be looking for then though.

Misc. info:

Bridged networking, non-privileged, outside port is 17050, default mapped folder for unRAID mappings.

In the mapped folder for persistent storage I see no files are created. If I understood that right it should at the very least create an empty SQLite db unless I configure MySQL or another full DB solution, right?.

Cheers and thanks so much in advance. :)

Most helpful comment

This should be fixed in the latest huginn/huginn image. Feel free to reopen the issue if you are still having issues.

All 8 comments

I'm also having this same issue, exact same log messages.

I'm hitting this exact issue as well with a fresh deployment. I installed this on unRaid with the community applications plugin. Consistently unable to load the Web GUI.

My logs:

Generating random APP_SECRET_TOKEN.
1+0 records in
1+0 records out
36 bytes copied, 1.8535e-05 s, 1.9 MB/s
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32`.
Using rake 12.3.3
Using ace-rails-ap 2.0.1
Using concurrent-ruby 1.1.5
Using i18n 1.6.0
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 5.2.2.1
Using builder 3.2.3
Using erubi 1.8.0
Using mini_portile2 2.4.0
Using nokogiri 1.10.8
Using rails-dom-testing 2.0.3
Using crass 1.0.5
Using loofah 2.4.0
Using rails-html-sanitizer 1.0.4
Using actionview 5.2.2.1
Using rack 2.0.8
Using rack-test 1.1.0
Using actionpack 5.2.2.1
Using nio4r 2.3.1
Using websocket-extensions 0.1.3
Using websocket-driver 0.7.0

Using actioncable 5.2.2.1
Using globalid 0.4.2
Using activejob 5.2.2.1
Using mini_mime 1.0.1
Using mail 2.7.1
Using actionmailer 5.2.2.1
Using activemodel 5.2.2.1
Using arel 9.0.0
Using activerecord 5.2.2.1
Using mimemagic 0.3.3
Using marcel 0.3.3
Using activestorage 5.2.2.1
Using public_suffix 3.0.2
Using addressable 2.5.2
Using jmespath 1.1.3
Using aws-sdk-core 2.2.15
Using bcrypt 3.1.12
Using msgpack 1.2.4
Using bootsnap 1.3.0
Using kaminari-core 1.1.1
Using kaminari-actionview 1.1.1
Using kaminari-activerecord 1.1.1
Using kaminari 1.1.1
Using bundler 1.17.3
Using method_source 0.9.2
Using thor 0.19.4
Using railties 5.2.2.1
Using sprockets 3.7.2
Using sprockets-rails 3.2.1
Using rails 5.2.2.1
Using bootstrap-kaminari-views 0.0.5
Using buftok 0.2.0
Using coffee-script-source 1.12.2
Using execjs 2.7.0
Using coffee-script 2.4.1
Using coffee-rails 4.2.2
Using cookiejar 0.3.2
Using daemons 1.1.9
Using declarative 0.0.9
Using declarative-option 0.1.0
Using delayed_job 4.1.5
Using delayed_job_active_record 4.1.3 from https://github.com/dsander/delayed_job_active_record.git (at rails52@8efc7b1)
Using orm_adapter 0.5.0
Using responders 2.4.1
Using warden 1.2.8
Using devise 4.6.2
Using unf_ext 0.0.7.4
Using unf 0.1.4
Using domain_name 0.5.20170404
Using dotenv 2.0.1 from source at `vendor/gems/dotenv-2.0.1`
Using dotenv-rails 2.0.1 from source at `vendor/gems/dotenv-2.0.1`
Using hashie 3.5.6
Using multi_json 1.13.1
Using multipart-post 2.0.0
Using faraday 0.12.1
Using jwt 1.5.6
Using multi_xml 0.6.0
Using oauth2 1.4.0
Using dropbox-api 0.5.0 from https://github.com/dsander/dropbox-api.git (at 86cb7b5@86cb7b5)
Using eventmachine 1.2.7
Using em-socksify 0.3.0
Using http_parser.rb 0.6.0
Using em-http-request 1.1.2
Using equalizer 0.0.11
Using polyglot 0.3.5
Using treetop 1.6.9
Using erector 0.10.0 from https://github.com/dsander/erector.git (at fix-fixnum-warning@9ee3667)

Using et-orbi 1.0.9
Using ffi 1.9.25
Using ethon 0.12.0
Using evernote-thrift 1.25.1
Using oauth 0.4.7
Using evernote_oauth 0.2.3
Using faraday_middleware 0.12.2
Using sax-machine 1.3.2
Using feedjira 3.1.0
Using sass 3.4.23
Using font-awesome-sass 4.7.0
Using forecast_io 2.0.1
Using foreman 0.63.0
Using geokit 1.8.5
Using geokit-rails 2.2.0
Using little-plugger 1.1.4
Using logging 2.2.2
Using memoist 0.16.0
Using os 0.9.6
Using signet 0.7.3
Using googleauth 0.5.1
Using httpclient 2.8.3
Using mime-types-data 3.2016.0521
Using mime-types 3.1
Using uber 0.1.0
Using representable 3.0.4
Using retriable 3.0.2
Using google-api-client 0.13.0
Using google-cloud-env 1.0.0
Using google-cloud-core 1.0.0
Using google-cloud-translate 1.0.0
Using haversine 0.3.0
Using httparty 0.14.0
Using hipchat 1.2.0
Using httmultiparty 0.3.16
Using http-cookie 1.0.3
Using http-form_data 1.0.1
Using http 2.1.0
Using huginn_agent 0.4.0
Using hypdf 1.0.10
Using jquery-rails 4.2.2
Using json 2.3.0
Using to_regexp 0.2.1
Using jsonpath 1.0.1
Using kgio 2.10.0
Using kramdown 1.3.3
Using libv8 7.3.492.27.1 (x86_64-linux)
Using liquid 4.0.3
Using rb-fsevent 0.10.2
Using rb-inotify 0.9.10
Using listen 3.0.8
Using systemu 2.6.4
Using macaddr 1.7.1
Using memoizable 0.4.2
Using mini_magick 4.9.5
Using mini_racer 0.2.9
Using mqtt 0.3.1
Using mysql2 0.5.2
Using naught 1.1.0
Using net-ftp-list 3.2.8
Using netrc 0.11.0
Using omniauth 1.6.1
Using omniauth-oauth2 1.3.1
Using omniauth-37signals 1.0.5
Using omniauth-dropbox-oauth2 0.3.0 from https://github.com/bamorim/omniauth-dropbox-oauth2.git (at 3504670@3504670)
Using omniauth-oauth 1.1.0
Using omniauth-evernote 1.2.1
Using omniauth-tumblr 1.2
Using omniauth-twitter 1.3.0
Using omniauth-wunderlist 0.0.2
Using raindrops 0.17.0
Using rb-kqueue 0.2.4
Using rest-client 2.0.2
Using rturk 2.12.1
Using uuid 2.3.7
Using ruby-growl 4.1
Using rufus-scheduler 3.4.2
Using tilt 2.0.7
Using sass-rails 5.0.6
Using select2-rails 3.5.9.3
Using simple_oauth 0.3.1
Using slack-notifier 1.0.0
Using spectrum-rails 1.3.4
Using tumblr_client 0.8.5 from https://github.com/albertsun/tumblr_client.git (at e046fe6@e046fe6)
Using twilio-ruby 3.11.6
Using twitter 5.15.0 from https://github.com/sferik/twitter.git (at master@d11707e)
Using twitter-stream 0.1.15 from https://github.com/cantino/twitter-stream.git (at huginn@a80822d)
Using typhoeus 1.3.1
Using uglifier 2.7.2
Using unicorn 5.1.0
Using weibo_2 0.1.7 from https://github.com/albertsun/weibo_2.git (at master@ac38d04)
Using xmpp4r 0.5.6
Bundle complete! 109 Gemfile dependencies, 182 gems now installed.
Gems in the groups test and development were not installed.
Bundled gems are installed into `./vendor/bundle`
2020-04-22 15:47:25,845 INFO Included extra file "/etc/supervisor/conf.d/bootstrap.conf" during parsing
2020-04-22 15:47:25,845 INFO Included extra file "/etc/supervisor/conf.d/foreman.conf" during parsing
2020-04-22 15:47:25,845 INFO Included extra file "/etc/supervisor/conf.d/mysqld.conf" during parsing
2020-04-22 15:47:25,853 INFO RPC interface 'supervisor' initialized
2020-04-22 15:47:25,853 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2020-04-22 15:47:25,853 INFO supervisord started with pid 1
2020-04-22 15:47:26,856 INFO spawned: 'stdout' with pid 369
2020-04-22 15:47:26,857 INFO spawned: 'bootstrap' with pid 370
2020-04-22 15:47:26,864 INFO success: bootstrap entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-04-22 15:47:26,876 INFO exited: bootstrap (exit status 1; not expected)
2020-04-22 15:47:27,877 INFO success: stdout entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

Can you please check if the image huginnbuilder/huginn:pr-2768 from #2768 fixes the issue?

still errors for me, though it may be my volume setup:

bootstrap stdout | DATABASE_HOST=localhost
bootstrap stderr | mv: cannot create regular file '/var/lib/mysql/auto.cnf': Permission denied
mv: cannot create regular file '/var/lib/mysql/ca-key.pem': Permission denied
bootstrap stderr | mv: cannot create regular file '/var/lib/mysql/ca.pem': Permission denied
mv: cannot create regular file '/var/lib/mysql/client-cert.pem': Permission denied
mv: cannot create regular file '/var/lib/mysql/client-key.pem': Permission denied
mv: cannot create regular file '/var/lib/mysql/ib_buffer_pool': Permission denied
mv: cannot create regular file '/var/lib/mysql/ibdata1': Permission denied
mv: cannot create regular file '/var/lib/mysql/ib_logfile0': Permission denied
mv: cannot create regular file '/var/lib/mysql/ib_logfile1': Permission denied
mv: cannot create directory '/var/lib/mysql/mysql': Permission denied
mv: cannot create directory '/var/lib/mysql/performance_schema': Permission denied
mv: cannot create regular file '/var/lib/mysql/private_key.pem': Permission denied
mv: cannot create regular file '/var/lib/mysql/public_key.pem': Permission denied
mv: cannot create regular file '/var/lib/mysql/server-cert.pem': Permission denied
mv: cannot create regular file '/var/lib/mysql/server-key.pem': Permission denied
mv: cannot create directory '/var/lib/mysql/sys': Permission denied
2020-05-01 22:35:57,947 INFO exited: bootstrap (exit status 1; not expected)

I think that behavior has been like this since we switched the container to not run as root anymore.

chown 1001 <path to the volume on the host>

or

chmod 777 <path to the volume on the host>

Should fix it.

Okay, with the share owned by UID 1001 (which is sadly a random user on my system) this works fine on with Rockstor's docker setup.

This should be fixed in the latest huginn/huginn image. Feel free to reopen the issue if you are still having issues.

Not a bug - I got my environment variables wrong for postgres. Sorry for the errant notifications from me necroing this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheChrisK picture TheChrisK  路  4Comments

johnnyzen picture johnnyzen  路  6Comments

TOrfevres picture TOrfevres  路  3Comments

IAMEVANHE picture IAMEVANHE  路  3Comments

0xdevalias picture 0xdevalias  路  9Comments