cloudera / hue

Open source SQL Query Assistant service for Databases/Warehouses
https://cloudera.com
Apache License 2.0
1.17k stars 366 forks source link

docker run error Hue 4.11.0 (in macos m1 docker+colima),Can you give me a helping hand? #3274

Closed baiying319 closed 1 year ago

baiying319 commented 1 year ago

Error: Error: log config '/etc/hue/conf/log.conf' not found Process /usr/share/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.

[08/Apr/2023 01:32:53 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:32:53 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:32:55 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:32:55 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:32:55 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:32:56 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:32:56 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:32:57 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:32:57 -0700] backend WARNING httplib2 module not found Operations to perform: Apply all migrations: auth, authtoken, axes, beeswax, contenttypes, desktop, jobsub, oozie, pig, sessions, sites, useradmin Running migrations: No migrations to apply. [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 08:33:00 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue kt_renewer [08/Apr/2023 08:33:00 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue runcpserver [08/Apr/2023 08:33:00 ] supervisor INFO Started proceses (pid 37) /usr/share/hue/build/env/bin/hue kt_renewer [08/Apr/2023 08:33:00 ] supervisor INFO Started proceses (pid 39) /usr/share/hue/build/env/bin/hue runcpserver [08/Apr/2023 08:33:02 ] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 08:33:02 ] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 01:33:03 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:03 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:03 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:03 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:06 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:06 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:06 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:06 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:33:06 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:06 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:33:07 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:33:07 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:33:07 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:33:07 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:33:07 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:33:07 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:33:07 -0700] backend WARNING httplib2 module not found [08/Apr/2023 01:33:07 -0700] backend WARNING httplib2 module not found [08/Apr/2023 01:33:08 -0700] kt_renewer INFO Keytab renewer not starting, no keytab configured [08/Apr/2023 08:33:08 ] supervisor INFO Command "/usr/share/hue/build/env/bin/hue kt_renewer" exited normally. [08/Apr/2023 01:33:09 -0700] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 01:33:11 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:11 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:13 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:13 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:13 -0700] apps INFO AXES: blocking by IP only. ningjianwen@muzi  ~/docker-contain/docker-hue  docker logs cb6c34352c94 [08/Apr/2023 08:32:52 ] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 01:32:53 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:32:53 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:32:55 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:32:55 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:32:55 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:32:56 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:32:56 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:32:57 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:32:57 -0700] backend WARNING httplib2 module not found Operations to perform: Apply all migrations: auth, authtoken, axes, beeswax, contenttypes, desktop, jobsub, oozie, pig, sessions, sites, useradmin Running migrations: No migrations to apply. [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 01:32:58 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [08/Apr/2023 08:33:00 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue kt_renewer [08/Apr/2023 08:33:00 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue runcpserver [08/Apr/2023 08:33:00 ] supervisor INFO Started proceses (pid 37) /usr/share/hue/build/env/bin/hue kt_renewer [08/Apr/2023 08:33:00 ] supervisor INFO Started proceses (pid 39) /usr/share/hue/build/env/bin/hue runcpserver [08/Apr/2023 08:33:02 ] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 08:33:02 ] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 01:33:03 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:03 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:03 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:03 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:06 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:06 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:06 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:06 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:33:06 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:06 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:33:07 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:33:07 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:33:07 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:33:07 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:33:07 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:33:07 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:33:07 -0700] backend WARNING httplib2 module not found [08/Apr/2023 01:33:07 -0700] backend WARNING httplib2 module not found [08/Apr/2023 01:33:08 -0700] kt_renewer INFO Keytab renewer not starting, no keytab configured [08/Apr/2023 08:33:08 ] supervisor INFO Command "/usr/share/hue/build/env/bin/hue kt_renewer" exited normally. [08/Apr/2023 01:33:09 -0700] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 01:33:11 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:11 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:13 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:13 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:13 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:33:14 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:33:14 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:33:14 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:33:14 -0700] backend WARNING httplib2 module not found [08/Apr/2023 01:33:14 -0700] rungunicornserver INFO Welcome to Hue from Gunicorn server 4.11.0

Error: Error: log config '/etc/hue/conf/log.conf' not found

[08/Apr/2023 08:33:15 ] supervisor WARNING Exit code for /usr/share/hue/build/env/bin/hue runcpserver: 1 [08/Apr/2023 08:33:15 ] supervisor ERROR Process /usr/share/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it. [08/Apr/2023 08:33:15 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue runcpserver [08/Apr/2023 08:33:15 ] supervisor INFO Started proceses (pid 101) /usr/share/hue/build/env/bin/hue runcpserver [08/Apr/2023 08:33:17 ] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 01:33:18 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:18 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:20 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:20 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:20 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:33:21 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:33:21 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:33:21 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:33:21 -0700] backend WARNING httplib2 module not found [08/Apr/2023 01:33:23 -0700] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 01:33:25 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:25 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:27 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:27 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:27 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:33:28 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:33:28 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:33:28 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:33:28 -0700] backend WARNING httplib2 module not found [08/Apr/2023 01:33:29 -0700] rungunicornserver INFO Welcome to Hue from Gunicorn server 4.11.0

Error: Error: log config '/etc/hue/conf/log.conf' not found

[08/Apr/2023 08:33:29 ] supervisor WARNING Exit code for /usr/share/hue/build/env/bin/hue runcpserver: 1 [08/Apr/2023 08:33:29 ] supervisor ERROR Process /usr/share/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it. [08/Apr/2023 08:33:29 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue runcpserver [08/Apr/2023 08:33:29 ] supervisor INFO Started proceses (pid 145) /usr/share/hue/build/env/bin/hue runcpserver [08/Apr/2023 08:33:31 ] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 01:33:32 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:32 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:34 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:34 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:34 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:33:35 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:33:35 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:33:35 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:33:35 -0700] backend WARNING httplib2 module not found [08/Apr/2023 01:33:37 -0700] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 01:33:39 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:39 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:41 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:41 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:41 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:33:42 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:33:42 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:33:42 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:33:42 -0700] backend WARNING httplib2 module not found [08/Apr/2023 01:33:42 -0700] rungunicornserver INFO Welcome to Hue from Gunicorn server 4.11.0

Error: Error: log config '/etc/hue/conf/log.conf' not found

[08/Apr/2023 08:33:43 ] supervisor WARNING Exit code for /usr/share/hue/build/env/bin/hue runcpserver: 1 [08/Apr/2023 08:33:43 ] supervisor ERROR Process /usr/share/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it. [08/Apr/2023 08:33:43 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue runcpserver [08/Apr/2023 08:33:43 ] supervisor INFO Started proceses (pid 189) /usr/share/hue/build/env/bin/hue runcpserver [08/Apr/2023 08:33:44 ] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 01:33:46 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:46 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:48 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:48 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:48 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:33:49 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:33:49 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:33:49 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:33:49 -0700] backend WARNING httplib2 module not found [08/Apr/2023 01:33:51 -0700] settings INFO Welcome to Hue 4.11.0 [08/Apr/2023 01:33:52 -0700] backend WARNING mozilla_django_oidc module not found [08/Apr/2023 01:33:53 -0700] client WARNING gcs_oauth2_boto_plugin module not found [08/Apr/2023 01:33:55 -0700] apps INFO AXES: BEGIN LOG [08/Apr/2023 01:33:55 -0700] apps INFO AXES: Using django-axes version 5.13.0 [08/Apr/2023 01:33:55 -0700] apps INFO AXES: blocking by IP only. [08/Apr/2023 01:33:56 -0700] api3 WARNING simple_salesforce module not found [08/Apr/2023 01:33:56 -0700] jdbc WARNING Failed to import py4j [08/Apr/2023 01:33:56 -0700] views WARNING httplib2 module not found [08/Apr/2023 01:33:56 -0700] backend WARNING httplib2 module not found [08/Apr/2023 01:33:56 -0700] rungunicornserver INFO Welcome to Hue from Gunicorn server 4.11.0

Error: Error: log config '/etc/hue/conf/log.conf' not found

[08/Apr/2023 08:33:57 ] supervisor WARNING Exit code for /usr/share/hue/build/env/bin/hue runcpserver: 1 [08/Apr/2023 08:33:57 ] supervisor ERROR Process /usr/share/hue/build/env/bin/hue runcpserver has restarted more than 3 times in the last 42 seconds [08/Apr/2023 08:33:57 ] supervisor WARNING Supervisor shutting down! [08/Apr/2023 08:33:57 ] supervisor WARNING Waiting for children to exit for 5 seconds... [08/Apr/2023 08:33:57 ] supervisor ERROR Exception in supervisor main loop Traceback (most recent call last): File "/usr/share/hue/desktop/core/src/desktop/supervisor.py", line 385, in main wait_loop(sups, options) File "/usr/share/hue/desktop/core/src/desktop/supervisor.py", line 402, in wait_loop shutdown(sups) # shutdown() exits the process File "/usr/share/hue/desktop/core/src/desktop/supervisor.py", line 218, in shutdown sys.exit(1) SystemExit: 1 [08/Apr/2023 08:33:57 ] supervisor WARNING Supervisor shutting down! [08/Apr/2023 08:33:57 ] supervisor WARNING Waiting for children to exit for 5 seconds...

anvy2 commented 1 year ago

Error: Error: log config '/etc/hue/conf/log.conf' not found. This seems to be the reason

This is indeed an issue with the docker image on docker hub. While this can be fixed by a simply adding a line in the Dockerfile at tools/docker/hue/Dockerfile and build the image yourself locally and use it. If needed you can install the missing dependencies through pip at this point too or just leave them as is.

Just add this line in the dockerfile.

COPY ./desktop/conf.dist/log.conf /etc/hue/conf/log.conf

baiying319 commented 1 year ago

Thank you for your help. I will try changing the dockerfile file. Besides, can I change the startup command to fix this error? -- docker run --name hue -d -p 8888:8888 -v /Users/muzi/docker-contain/docker-hue/conf/log.conf:/etc/hue/conf/log.conf gethue/hue. However, the results were not satisfactory. After checking the log information, an error was still reported.

[10/Apr/2023 01:49:31 ] settings INFO Welcome to Hue 4.11.0 [09/Apr/2023 18:49:33 -0700] backend WARNING mozilla_django_oidc module not found [09/Apr/2023 18:49:33 -0700] client WARNING gcs_oauth2_boto_plugin module not found [09/Apr/2023 18:49:36 -0700] apps INFO AXES: BEGIN LOG [09/Apr/2023 18:49:36 -0700] apps INFO AXES: Using django-axes version 5.13.0 [09/Apr/2023 18:49:36 -0700] apps INFO AXES: blocking by IP only. [09/Apr/2023 18:49:37 -0700] api3 WARNING simple_salesforce module not found [09/Apr/2023 18:49:37 -0700] jdbc WARNING Failed to import py4j [09/Apr/2023 18:49:37 -0700] views WARNING httplib2 module not found [09/Apr/2023 18:49:37 -0700] backend WARNING httplib2 module not found Operations to perform: Apply all migrations: auth, authtoken, axes, beeswax, contenttypes, desktop, jobsub, oozie, pig, sessions, sites, useradmin Running migrations: No migrations to apply. [09/Apr/2023 18:49:38 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [09/Apr/2023 18:49:39 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [10/Apr/2023 01:49:41 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue kt_renewer [10/Apr/2023 01:49:41 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue runcpserver [10/Apr/2023 01:49:41 ] supervisor INFO Started proceses (pid 38) /usr/share/hue/build/env/bin/hue runcpserver [10/Apr/2023 01:49:41 ] supervisor INFO Started proceses (pid 36) /usr/share/hue/build/env/bin/hue kt_renewer [10/Apr/2023 01:49:43 ] settings INFO Welcome to Hue 4.11.0 [10/Apr/2023 01:49:43 ] settings INFO Welcome to Hue 4.11.0 [09/Apr/2023 18:49:44 -0700] backend WARNING mozilla_django_oidc module not found [09/Apr/2023 18:49:44 -0700] backend WARNING mozilla_django_oidc module not found [09/Apr/2023 18:49:44 -0700] client WARNING gcs_oauth2_boto_plugin module not found [09/Apr/2023 18:49:44 -0700] client WARNING gcs_oauth2_boto_plugin module not found [09/Apr/2023 18:49:47 -0700] apps INFO AXES: BEGIN LOG [09/Apr/2023 18:49:47 -0700] apps INFO AXES: Using django-axes version 5.13.0 [09/Apr/2023 18:49:47 -0700] apps INFO AXES: blocking by IP only. [09/Apr/2023 18:49:47 -0700] apps INFO AXES: BEGIN LOG [09/Apr/2023 18:49:47 -0700] apps INFO AXES: Using django-axes version 5.13.0 [09/Apr/2023 18:49:47 -0700] apps INFO AXES: blocking by IP only. [09/Apr/2023 18:49:48 -0700] api3 WARNING simple_salesforce module not found [09/Apr/2023 18:49:48 -0700] jdbc WARNING Failed to import py4j [09/Apr/2023 18:49:48 -0700] api3 WARNING simple_salesforce module not found [09/Apr/2023 18:49:48 -0700] jdbc WARNING Failed to import py4j [09/Apr/2023 18:49:48 -0700] views WARNING httplib2 module not found [09/Apr/2023 18:49:48 -0700] backend WARNING httplib2 module not found [09/Apr/2023 18:49:48 -0700] views WARNING httplib2 module not found [09/Apr/2023 18:49:48 -0700] backend WARNING httplib2 module not found [09/Apr/2023 18:49:48 -0700] kt_renewer INFO Keytab renewer not starting, no keytab configured [10/Apr/2023 01:49:49 ] supervisor INFO Command "/usr/share/hue/build/env/bin/hue kt_renewer" exited normally. [09/Apr/2023 18:49:50 -0700] settings INFO Welcome to Hue 4.11.0 [09/Apr/2023 18:49:52 -0700] backend WARNING mozilla_django_oidc module not found [09/Apr/2023 18:49:52 -0700] client WARNING gcs_oauth2_boto_plugin module not found [09/Apr/2023 18:49:54 -0700] apps INFO AXES: BEGIN LOG [09/Apr/2023 18:49:54 -0700] apps INFO AXES: Using django-axes version 5.13.0 [09/Apr/2023 18:49:54 -0700] apps INFO AXES: blocking by IP only. [09/Apr/2023 18:49:55 -0700] api3 WARNING simple_salesforce module not found [09/Apr/2023 18:49:55 -0700] jdbc WARNING Failed to import py4j [09/Apr/2023 18:49:55 -0700] views WARNING httplib2 module not found [09/Apr/2023 18:49:55 -0700] backend WARNING httplib2 module not found [09/Apr/2023 18:49:56 -0700] rungunicornserver INFO Welcome to Hue from Gunicorn server 4.11.0 Traceback (most recent call last): File "/usr/share/hue/build/env/bin/hue", line 33, in sys.exit(load_entry_point('desktop', 'console_scripts', 'hue')()) File "/usr/share/hue/desktop/core/src/desktop/manage_entry.py", line 233, in entry execute_from_command_line(sys.argv) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py", line 419, in execute_from_command_line utility.execute() File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv self.execute(*args, cmd_options) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute output = self.handle(*args, *options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 49, in handle start_server(args, options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 214, in start_server rungunicornserver(args, options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 199, in rungunicornserver StandaloneApplication(handler_app, gunicorn_options).run() File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/arbiter.py", line 60, in init self.setup(app) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/arbiter.py", line 95, in setup self.log = self.cfg.logger_class(app.cfg) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/glogging.py", line 200, in init self.setup(cfg) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/glogging.py", line 255, in setup fileConfig(cfg.logconfig, defaults=defaults, File "/usr/lib/python3.8/logging/config.py", line 79, in fileConfig handlers = _install_handlers(cp, formatters) File "/usr/lib/python3.8/logging/config.py", line 141, in _install_handlers args = section.get("args", '()') File "/usr/lib/python3.8/configparser.py", line 1303, in get return _impl(self._name, option, raw=raw, vars=vars, File "/usr/lib/python3.8/configparser.py", line 799, in get return self._interpolation.before_get(self, section, option, value, File "/usr/lib/python3.8/configparser.py", line 395, in before_get self._interpolate_some(parser, option, L, value, section, defaults, 1) File "/usr/lib/python3.8/configparser.py", line 442, in _interpolate_some raise InterpolationSyntaxError( configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: "%LOG_DIR%/hue.uds',None,)" [10/Apr/2023 01:49:56 ] supervisor WARNING Exit code for /usr/share/hue/build/env/bin/hue runcpserver: 1 [10/Apr/2023 01:49:56 ] supervisor ERROR Process /usr/share/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it. [10/Apr/2023 01:49:56 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue runcpserver [10/Apr/2023 01:49:56 ] supervisor INFO Started proceses (pid 100) /usr/share/hue/build/env/bin/hue runcpserver [10/Apr/2023 01:49:58 ] settings INFO Welcome to Hue 4.11.0 [09/Apr/2023 18:49:59 -0700] backend WARNING mozilla_django_oidc module not found [09/Apr/2023 18:49:59 -0700] client WARNING gcs_oauth2_boto_plugin module not found [09/Apr/2023 18:50:01 -0700] apps INFO AXES: BEGIN LOG [09/Apr/2023 18:50:01 -0700] apps INFO AXES: Using django-axes version 5.13.0 [09/Apr/2023 18:50:01 -0700] apps INFO AXES: blocking by IP only. [09/Apr/2023 18:50:02 -0700] api3 WARNING simple_salesforce module not found [09/Apr/2023 18:50:02 -0700] jdbc WARNING Failed to import py4j [09/Apr/2023 18:50:02 -0700] views WARNING httplib2 module not found [09/Apr/2023 18:50:02 -0700] backend WARNING httplib2 module not found [09/Apr/2023 18:50:04 -0700] settings INFO Welcome to Hue 4.11.0 [09/Apr/2023 18:50:06 -0700] backend WARNING mozilla_django_oidc module not found [09/Apr/2023 18:50:06 -0700] client WARNING gcs_oauth2_boto_plugin module not found [09/Apr/2023 18:50:08 -0700] apps INFO AXES: BEGIN LOG [09/Apr/2023 18:50:08 -0700] apps INFO AXES: Using django-axes version 5.13.0 [09/Apr/2023 18:50:08 -0700] apps INFO AXES: blocking by IP only. [09/Apr/2023 18:50:09 -0700] api3 WARNING simple_salesforce module not found [09/Apr/2023 18:50:09 -0700] jdbc WARNING Failed to import py4j [09/Apr/2023 18:50:09 -0700] views WARNING httplib2 module not found [09/Apr/2023 18:50:09 -0700] backend WARNING httplib2 module not found [09/Apr/2023 18:50:10 -0700] rungunicornserver INFO Welcome to Hue from Gunicorn server 4.11.0 Traceback (most recent call last): File "/usr/share/hue/build/env/bin/hue", line 33, in sys.exit(load_entry_point('desktop', 'console_scripts', 'hue')()) File "/usr/share/hue/desktop/core/src/desktop/manage_entry.py", line 233, in entry execute_from_command_line(sys.argv) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py", line 419, in execute_from_command_line utility.execute() File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv self.execute(args, cmd_options) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute output = self.handle(*args, options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 49, in handle start_server(args, options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 214, in start_server rungunicornserver(args, options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 199, in rungunicornserver StandaloneApplication(handler_app, gunicorn_options).run() File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/arbiter.py", line 60, in init self.setup(app) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/arbiter.py", line 95, in setup self.log = self.cfg.logger_class(app.cfg) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/glogging.py", line 200, in init self.setup(cfg) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/glogging.py", line 255, in setup fileConfig(cfg.logconfig, defaults=defaults, File "/usr/lib/python3.8/logging/config.py", line 79, in fileConfig handlers = _install_handlers(cp, formatters) File "/usr/lib/python3.8/logging/config.py", line 141, in _install_handlers args = section.get("args", '()') File "/usr/lib/python3.8/configparser.py", line 1303, in get return _impl(self._name, option, raw=raw, vars=vars, File "/usr/lib/python3.8/configparser.py", line 799, in get return self._interpolation.before_get(self, section, option, value, File "/usr/lib/python3.8/configparser.py", line 395, in before_get self._interpolate_some(parser, option, L, value, section, defaults, 1) File "/usr/lib/python3.8/configparser.py", line 442, in _interpolate_some raise InterpolationSyntaxError( configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: "%LOG_DIR%/hue.uds',None,)" [10/Apr/2023 01:50:10 ] supervisor WARNING Exit code for /usr/share/hue/build/env/bin/hue runcpserver: 1 [10/Apr/2023 01:50:10 ] supervisor ERROR Process /usr/share/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it. [10/Apr/2023 01:50:10 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue runcpserver [10/Apr/2023 01:50:10 ] supervisor INFO Started proceses (pid 144) /usr/share/hue/build/env/bin/hue runcpserver [10/Apr/2023 01:50:12 ] settings INFO Welcome to Hue 4.11.0 [09/Apr/2023 18:50:13 -0700] backend WARNING mozilla_django_oidc module not found [09/Apr/2023 18:50:13 -0700] client WARNING gcs_oauth2_boto_plugin module not found [09/Apr/2023 18:50:15 -0700] apps INFO AXES: BEGIN LOG [09/Apr/2023 18:50:15 -0700] apps INFO AXES: Using django-axes version 5.13.0 [09/Apr/2023 18:50:15 -0700] apps INFO AXES: blocking by IP only. [09/Apr/2023 18:50:16 -0700] api3 WARNING simple_salesforce module not found [09/Apr/2023 18:50:16 -0700] jdbc WARNING Failed to import py4j [09/Apr/2023 18:50:16 -0700] views WARNING httplib2 module not found [09/Apr/2023 18:50:16 -0700] backend WARNING httplib2 module not found [09/Apr/2023 18:50:18 -0700] settings INFO Welcome to Hue 4.11.0 [09/Apr/2023 18:50:20 -0700] backend WARNING mozilla_django_oidc module not found [09/Apr/2023 18:50:20 -0700] client WARNING gcs_oauth2_boto_plugin module not found [09/Apr/2023 18:50:22 -0700] apps INFO AXES: BEGIN LOG [09/Apr/2023 18:50:22 -0700] apps INFO AXES: Using django-axes version 5.13.0 [09/Apr/2023 18:50:22 -0700] apps INFO AXES: blocking by IP only. [09/Apr/2023 18:50:23 -0700] api3 WARNING simple_salesforce module not found [09/Apr/2023 18:50:23 -0700] jdbc WARNING Failed to import py4j [09/Apr/2023 18:50:23 -0700] views WARNING httplib2 module not found [09/Apr/2023 18:50:23 -0700] backend WARNING httplib2 module not found [09/Apr/2023 18:50:24 -0700] rungunicornserver INFO Welcome to Hue from Gunicorn server 4.11.0 Traceback (most recent call last): File "/usr/share/hue/build/env/bin/hue", line 33, in sys.exit(load_entry_point('desktop', 'console_scripts', 'hue')()) File "/usr/share/hue/desktop/core/src/desktop/manage_entry.py", line 233, in entry execute_from_command_line(sys.argv) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py", line 419, in execute_from_command_line utility.execute() File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv self.execute(*args, *cmd_options) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute output = self.handle(args, options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 49, in handle start_server(args, options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 214, in start_server rungunicornserver(args, options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 199, in rungunicornserver StandaloneApplication(handler_app, gunicorn_options).run() File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/arbiter.py", line 60, in init self.setup(app) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/arbiter.py", line 95, in setup self.log = self.cfg.logger_class(app.cfg) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/glogging.py", line 200, in init self.setup(cfg) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/glogging.py", line 255, in setup fileConfig(cfg.logconfig, defaults=defaults, File "/usr/lib/python3.8/logging/config.py", line 79, in fileConfig handlers = _install_handlers(cp, formatters) File "/usr/lib/python3.8/logging/config.py", line 141, in _install_handlers args = section.get("args", '()') File "/usr/lib/python3.8/configparser.py", line 1303, in get return _impl(self._name, option, raw=raw, vars=vars, File "/usr/lib/python3.8/configparser.py", line 799, in get return self._interpolation.before_get(self, section, option, value, File "/usr/lib/python3.8/configparser.py", line 395, in before_get self._interpolate_some(parser, option, L, value, section, defaults, 1) File "/usr/lib/python3.8/configparser.py", line 442, in _interpolate_some raise InterpolationSyntaxError( configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: "%LOG_DIR%/hue.uds',None,)" [10/Apr/2023 01:50:24 ] supervisor WARNING Exit code for /usr/share/hue/build/env/bin/hue runcpserver: 1 [10/Apr/2023 01:50:24 ] supervisor ERROR Process /usr/share/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it. [10/Apr/2023 01:50:24 ] supervisor INFO Starting process /usr/share/hue/build/env/bin/hue runcpserver [10/Apr/2023 01:50:24 ] supervisor INFO Started proceses (pid 188) /usr/share/hue/build/env/bin/hue runcpserver [10/Apr/2023 01:50:26 ] settings INFO Welcome to Hue 4.11.0 [09/Apr/2023 18:50:27 -0700] backend WARNING mozilla_django_oidc module not found [09/Apr/2023 18:50:27 -0700] client WARNING gcs_oauth2_boto_plugin module not found [09/Apr/2023 18:50:29 -0700] apps INFO AXES: BEGIN LOG [09/Apr/2023 18:50:29 -0700] apps INFO AXES: Using django-axes version 5.13.0 [09/Apr/2023 18:50:29 -0700] apps INFO AXES: blocking by IP only. [09/Apr/2023 18:50:30 -0700] api3 WARNING simple_salesforce module not found [09/Apr/2023 18:50:30 -0700] jdbc WARNING Failed to import py4j [09/Apr/2023 18:50:30 -0700] views WARNING httplib2 module not found [09/Apr/2023 18:50:30 -0700] backend WARNING httplib2 module not found [09/Apr/2023 18:50:32 -0700] settings INFO Welcome to Hue 4.11.0 [09/Apr/2023 18:50:34 -0700] backend WARNING mozilla_django_oidc module not found [09/Apr/2023 18:50:34 -0700] client WARNING gcs_oauth2_boto_plugin module not found [09/Apr/2023 18:50:36 -0700] apps INFO AXES: BEGIN LOG [09/Apr/2023 18:50:36 -0700] apps INFO AXES: Using django-axes version 5.13.0 [09/Apr/2023 18:50:36 -0700] apps INFO AXES: blocking by IP only. [09/Apr/2023 18:50:37 -0700] api3 WARNING simple_salesforce module not found [09/Apr/2023 18:50:37 -0700] jdbc WARNING Failed to import py4j [09/Apr/2023 18:50:37 -0700] views WARNING httplib2 module not found [09/Apr/2023 18:50:37 -0700] backend WARNING httplib2 module not found [09/Apr/2023 18:50:38 -0700] rungunicornserver INFO Welcome to Hue from Gunicorn server 4.11.0 Traceback (most recent call last): File "/usr/share/hue/build/env/bin/hue", line 33, in sys.exit(load_entry_point('desktop', 'console_scripts', 'hue')()) File "/usr/share/hue/desktop/core/src/desktop/manage_entry.py", line 233, in entry execute_from_command_line(sys.argv) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py", line 419, in execute_from_command_line utility.execute() File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/init.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv self.execute(*args, *cmd_options) File "/usr/share/hue/build/env/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute output = self.handle(args, **options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 49, in handle start_server(args, options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 214, in start_server rungunicornserver(args, options) File "/usr/share/hue/desktop/core/src/desktop/management/commands/rungunicornserver.py", line 199, in rungunicornserver StandaloneApplication(handler_app, gunicorn_options).run() File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/arbiter.py", line 60, in init self.setup(app) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/arbiter.py", line 95, in setup self.log = self.cfg.logger_class(app.cfg) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/glogging.py", line 200, in init self.setup(cfg) File "/usr/share/hue/build/env/lib/python3.8/site-packages/gunicorn/glogging.py", line 255, in setup fileConfig(cfg.logconfig, defaults=defaults, File "/usr/lib/python3.8/logging/config.py", line 79, in fileConfig handlers = _install_handlers(cp, formatters) File "/usr/lib/python3.8/logging/config.py", line 141, in _install_handlers args = section.get("args", '()') File "/usr/lib/python3.8/configparser.py", line 1303, in get return _impl(self._name, option, raw=raw, vars=vars, File "/usr/lib/python3.8/configparser.py", line 799, in get return self._interpolation.before_get(self, section, option, value, File "/usr/lib/python3.8/configparser.py", line 395, in before_get self._interpolate_some(parser, option, L, value, section, defaults, 1) File "/usr/lib/python3.8/configparser.py", line 442, in _interpolate_some raise InterpolationSyntaxError( configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: "%LOG_DIR%/hue.uds',None,)" [10/Apr/2023 01:50:38 ] supervisor WARNING Exit code for /usr/share/hue/build/env/bin/hue runcpserver: 1 [10/Apr/2023 01:50:38 ] supervisor ERROR Process /usr/share/hue/build/env/bin/hue runcpserver has restarted more than 3 times in the last 42 seconds [10/Apr/2023 01:50:39 ] supervisor WARNING Supervisor shutting down! [10/Apr/2023 01:50:39 ] supervisor WARNING Waiting for children to exit for 5 seconds... [10/Apr/2023 01:50:39 ] supervisor ERROR Exception in supervisor main loop Traceback (most recent call last): File "/usr/share/hue/desktop/core/src/desktop/supervisor.py", line 385, in main wait_loop(sups, options) File "/usr/share/hue/desktop/core/src/desktop/supervisor.py", line 402, in wait_loop shutdown(sups) # shutdown() exits the process File "/usr/share/hue/desktop/core/src/desktop/supervisor.py", line 218, in shutdown sys.exit(1) SystemExit: 1 [10/Apr/2023 01:50:39 ] supervisor WARNING Supervisor shutting down! [10/Apr/2023 01:50:39 ] supervisor WARNING Waiting for children to exit for 5 seconds...

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days.

bjornalm commented 1 year ago

See PR https://github.com/cloudera/hue/pull/3275

Harshg999 commented 1 year ago

Hey @baiying319, can you check the latest Hue image? It should be fixed now.