Jump to content

Polyglot is not starting after upgrading to 2.2.11


pgattu

Recommended Posts

I upgraded Polyglot from 2.2.3 to 2.2.11 via the Polyglot user interface since it prompted me to upgrade in the user interface. Polyglot is installed on a Raspberry Pi.

I see the following messages in .polyglot/log/debug.log

4/11/2021, 16:58:25 [polyglot] debug: Created PID file: /home/pi/.polyglot/polyglot.pid
4/11/2021, 16:58:26 [polyglot] info: Starting Polyglot....
4/11/2021, 16:58:26 [polyglot] info: Settings: Polyglot Version 2.2.11
4/11/2021, 16:58:26 [polyglot] info: Settings: Retrieved config from database
4/11/2021, 16:58:26 [polyglot] info: Settings: Retrieved config overrides from .env and updated database
4/11/2021, 16:58:26 [polyglot] debug: TLS: Found Keys and Certificate data in database. Exporting to /home/pi/.polyglot/ssl/
4/11/2021, 16:58:27 [polyglot] debug: Checking for DB Maintenence needs...

At the command line when I start "./polyglot-v2-linux-armv7", I am seeing the following SSL error:

4/11/2021, 16:58:25 [polyglot] debug: Created PID file: /home/pi/.polyglot/polyglot.pid
4/11/2021, 16:58:26 [polyglot] info: Starting Polyglot....
4/11/2021, 16:58:26 [polyglot] info: Settings: Polyglot Version 2.2.11
4/11/2021, 16:58:26 [polyglot] info: Settings: Retrieved config from database
4/11/2021, 16:58:26 [polyglot] info: Settings: Retrieved config overrides from .env and updated database
4/11/2021, 16:58:26 [polyglot] debug: TLS: Found Keys and Certificate data in database. Exporting to /home/pi/.polyglot/ssl/
4/11/2021, 16:58:27 [polyglot] debug: Checking for DB Maintenence needs...
4/11/2021, 16:58:27 [polyglot] debug: DB Version Found: 2 no maintenence necessary.
4/11/2021, 16:58:27 [polyglot] info: Aedes MQTT Broker Service: Started on port 1883
4/11/2021, 16:58:27 [polyglot] error: Startup error. Shutting down: Error: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small
4/11/2021, 16:58:27 [polyglot] info: Polyglot shutdown complete with code: 1

Looks like the upgrade was unsuccessful, but it did not report any errors in the UI. The admin UI does not load. How can I fix the issue?

Link to comment
Share on other sites

The following solved the issue for me.

 

SSL Error 'ee key too small'

I've had several linux users run into the error 'ee key too small' when trying to start Polyglot.

sudo nano /etc/ssl/openssl.cnf

Change the line:

CipherString = DEFAULT@SECLEVEL=2
to
CipherString = DEFAULT@SECLEVEL=1
Link to comment
Share on other sites

  • 1 year later...

Just had the same issue going from 2.2.3 to 2.2.11 and that was the fix.  My symptom was PolyGlot kept trying to restart and fail.  Found that with "ps -ef | grep poly".  It returned a new process number each time I ran ps.  I thought this info may help someone that runs ps and sees it there.  The process was running at any given moment but then died and restarted. 

I had the sane result of not being able to connect to the UI.  First time it failed I moved the /home/pi/polyglot/polyglot-v2-linux-armv7.old to  polyglot-v2-linux-armv7 and V2.2.3 came back up fine.  Now on 2.2.11 thanks to this Openssl fix, thanks!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.5k
    • Total Posts
      367.6k
×
×
  • Create New...