Can't get it to work on my Synology

Hello :smiley:

I am following this guide: https://jasonloongphotos.com/2017/synology-snmp-network-monitoring-with-librenms-docker/

I tried it twice, but it fails everytime.

I have followed the STEP BY STEP, which starts around at 15% of the page.

I have installed mariadb and librenms fine.

It goes wrong with this command:

 docker exec librenms sh -c "cd /opt/librenms && php /opt/librenms/build-base.php"

The output I get is:

Error response from daemon: Container 2ee2596596969454 is not running

When I try to start it manually (in the Synology Docker GUI) it stops after a few seconds.

Then, when I do:

docker logs librenms

I get:

ERROR: App_key is unset. /etc/my_init.d/librenms_104_config failed with status 1

This error, via Google, led me to:

https://community.librenms.org/t/librenms-docker-on-synology-starting-then-stopping/5695

When I do:

docker run --rm jarischaefer/docker-librenms generate_key

I get, after a second or two:

 fatal: not a git repository (or any of the parent directories): .git base64:5yvgsdkflsktletkkldakjf

When I try this: ``` docker run --rm jarischaefer/docker-librenms generate_key,

so with the ```

All I get is:

 > 

And since I am a complete noob when it comes to these matters, I am now lost and would humbly ask for some help :smiley:

Thank you in advance,

Bye

Try without ``` (I’ve edited that post to format it correctly)

Docker on Synology can be quite painful,

anyways your APP key is after that error message “base64:5yvgsdkflsktletkkldakj…” that should help you continue the guide.

For info, the official librenms docker container is here https://github.com/librenms/docker but it’s likely you would want to forget the docker GUI and go straight to terminal so you can use docker-compose if you choose that approach

Thank you. That is what I did first. That gives:

fatal: not a git repository (or any of the parent directories): .git base64:5yvgsdkflsktletkkldakjf

Thank you. I don’t see how, since the container still is not running. What do I need to do with that APP_key?

When you run the docker image you need to put it into environment variable according the guide:

-e APP_KEY=paste_your_generated_APP_key_here

Thank you, and sorry for not responding sooner. Adding the APP_KEY helped, insofar that it now starts. But when accessing in the GUI, I get:

 Whoops, looks like something went wrong. Check your librenms.log

The log says:

[2019-08-07 19:47:06] production.ERROR: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. {"exception":"[object] (RuntimeException(code: 0): The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. at /opt/librenms/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:43)
[stacktrace]
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(28): Illuminate\\Encryption\\Encrypter->__construct('=kwWtjgx0Kzj+ax...', 'AES-256-CBC')
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(776): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}(Object(App\\Application), Array)
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(658): Illuminate\\Container\\Container->build(Object(Closure))
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(609): Illuminate\\Container\\Container->resolve('encrypter', Array)
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(759): Illuminate\\Container\\Container->make('encrypter', Array)
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(912): Illuminate\\Foundation\\Application->make('encrypter')
#6 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(840): Illuminate\\Container\\Container->resolveClass(Object(ReflectionParameter))
#7 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(807): Illuminate\\Container\\Container->resolveDependencies(Array)
#8 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(658): Illuminate\\Container\\Container->build('App\\\\Http\\\\Middle...')
#9 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(609): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Middle...', Array)
#10 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(759): Illuminate\\Container\\Container->make('App\\\\Http\\\\Middle...', Array)
#11 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(152): Illuminate\\Foundation\\Application->make('App\\\\Http\\\\Middle...')
#12 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#13 /opt/librenms/app/Http/Middleware/CheckInstalled.php(46): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#14 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): App\\Http\\Middleware\\CheckInstalled->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#15 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#16 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Router.php(684): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#18 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Router.php(659): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#19 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#20 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Router.php(614): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#21 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#22 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#23 /opt/librenms/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#24 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(31): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#28 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#29 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(31): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#30 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#33 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#35 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(62): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#36 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#39 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#40 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#41 /opt/librenms/html/index.php(53): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#42 {main}
"} 
[2019-08-07 19:47:06] production.ERROR: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. {"exception":"[object] (RuntimeException(code: 0): The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. at /opt/librenms/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:43)
[stacktrace]
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(28): Illuminate\\Encryption\\Encrypter->__construct('=kwWtjgx0Kzj+ax...', 'AES-256-CBC')
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(776): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}(Object(App\\Application), Array)
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(658): Illuminate\\Container\\Container->build(Object(Closure))
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(609): Illuminate\\Container\\Container->resolve('encrypter', Array)
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(759): Illuminate\\Container\\Container->make('encrypter', Array)
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(912): Illuminate\\Foundation\\Application->make('encrypter')
#6 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(840): Illuminate\\Container\\Container->resolveClass(Object(ReflectionParameter))
#7 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(807): Illuminate\\Container\\Container->resolveDependencies(Array)
#8 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(658): Illuminate\\Container\\Container->build('App\\\\Http\\\\Middle...')
#9 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(609): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Middle...', Array)
#10 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(759): Illuminate\\Container\\Container->make('App\\\\Http\\\\Middle...', Array)
#11 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(215): Illuminate\\Foundation\\Application->make('App\\\\Http\\\\Middle...')
#12 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))
#13 /opt/librenms/html/index.php(58): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))
#14 {main}
"} 
/opt/librenms/discovery.php new 2019-08-07 19:50:02 - 0 devices discovered in 0.002 secs
/opt/librenms/poller.php 20 2019-08-07 19:50:04 - 1 devices polled in 1.660 secs
/opt/librenms/poller.php 7 2019-08-07 19:50:07 - 1 devices polled in 4.064 secs
/opt/librenms/poller.php 3 2019-08-07 19:50:08 - 1 devices polled in 4.873 secs
/opt/librenms/poller.php 19 2019-08-07 19:50:08 - 1 devices polled in 5.269 secs
/opt/librenms/poller.php 18 2019-08-07 19:50:09 - 1 devices polled in 3.307 secs
/opt/librenms/poller.php 17 2019-08-07 19:50:09 - 1 devices polled in 5.843 secs
/opt/librenms/poller.php 14 2019-08-07 19:50:10 - 1 devices polled in 2.180 secs
/opt/librenms/poller.php 1 2019-08-07 19:50:16 - 1 devices polled in 13.23 secs
/opt/librenms/poller.php 6 2019-08-07 19:50:16 - 1 devices polled in 13.26 secs
/opt/librenms/poller.php 16 2019-08-07 19:50:21 - 1 devices polled in 17.67 secs
/opt/librenms/discovery.php new 2019-08-07 19:55:02 - 0 devices discovered in 0.002 secs
/opt/librenms/poller.php 20 2019-08-07 19:55:05 - 1 devices polled in 1.732 secs
/opt/librenms/poller.php 7 2019-08-07 19:55:07 - 1 devices polled in 4.034 secs
/opt/librenms/poller.php 19 2019-08-07 19:55:08 - 1 devices polled in 4.988 secs
/opt/librenms/poller.php 3 2019-08-07 19:55:08 - 1 devices polled in 4.859 secs
/opt/librenms/poller.php 18 2019-08-07 19:55:09 - 1 devices polled in 3.317 secs
/opt/librenms/poller.php 17 2019-08-07 19:55:09 - 1 devices polled in 5.783 secs
/opt/librenms/poller.php 14 2019-08-07 19:55:10 - 1 devices polled in 2.150 secs
/opt/librenms/poller.php 6 2019-08-07 19:55:16 - 1 devices polled in 13.28 secs
/opt/librenms/poller.php 1 2019-08-07 19:55:16 - 1 devices polled in 13.20 secs
/opt/librenms/poller.php 16 2019-08-07 19:55:21 - 1 devices polled in 17.83 secs
/opt/librenms/discovery.php new 2019-08-07 20:00:01 - 0 devices discovered in 0.005 secs
/opt/librenms/poller.php 20 2019-08-07 20:00:04 - 1 devices polled in 1.658 secs
/opt/librenms/poller.php 7 2019-08-07 20:00:06 - 1 devices polled in 3.871 secs
/opt/librenms/poller.php 3 2019-08-07 20:00:07 - 1 devices polled in 4.697 secs
/opt/librenms/poller.php 19 2019-08-07 20:00:08 - 1 devices polled in 5.281 secs
/opt/librenms/poller.php 18 2019-08-07 20:00:08 - 1 devices polled in 3.328 secs
/opt/librenms/poller.php 17 2019-08-07 20:00:08 - 1 devices polled in 5.802 secs
/opt/librenms/poller.php 14 2019-08-07 20:00:09 - 1 devices polled in 2.145 secs
/opt/librenms/poller.php 1 2019-08-07 20:00:16 - 1 devices polled in 13.31 secs
/opt/librenms/poller.php 6 2019-08-07 20:00:16 - 1 devices polled in 13.26 secs
/opt/librenms/poller.php 16 2019-08-07 20:00:20 - 1 devices polled in 17.26 secs
/opt/librenms/discovery.php new 2019-08-07 20:05:01 - 0 devices discovered in 0.002 secs
/opt/librenms/poller.php 20 2019-08-07 20:05:04 - 1 devices polled in 1.684 secs
/opt/librenms/poller.php 7 2019-08-07 20:05:06 - 1 devices polled in 4.030 secs
/opt/librenms/poller.php 19 2019-08-07 20:05:07 - 1 devices polled in 4.988 secs
/opt/librenms/poller.php 3 2019-08-07 20:05:07 - 1 devices polled in 4.874 secs
/opt/librenms/poller.php 18 2019-08-07 20:05:08 - 1 devices polled in 3.364 secs
/opt/librenms/poller.php 17 2019-08-07 20:05:08 - 1 devices polled in 5.851 secs
/opt/librenms/poller.php 14 2019-08-07 20:05:09 - 1 devices polled in 2.126 secs
/opt/librenms/poller.php 6 2019-08-07 20:05:15 - 1 devices polled in 13.21 secs
/opt/librenms/poller.php 1 2019-08-07 20:05:16 - 1 devices polled in 13.22 secs
/opt/librenms/poller.php 16 2019-08-07 20:05:20 - 1 devices polled in 17.49 secs
/opt/librenms/discovery.php new 2019-08-07 20:10:01 - 0 devices discovered in 0.006 secs
/opt/librenms/poller.php 20 2019-08-07 20:10:04 - 1 devices polled in 1.680 secs
/opt/librenms/poller.php 7 2019-08-07 20:10:06 - 1 devices polled in 3.886 secs
/opt/librenms/poller.php 3 2019-08-07 20:10:07 - 1 devices polled in 4.594 secs
/opt/librenms/poller.php 19 2019-08-07 20:10:07 - 1 devices polled in 4.809 secs
/opt/librenms/poller.php 18 2019-08-07 20:10:08 - 1 devices polled in 3.136 secs
/opt/librenms/poller.php 17 2019-08-07 20:10:08 - 1 devices polled in 5.744 secs
/opt/librenms/poller.php 14 2019-08-07 20:10:09 - 1 devices polled in 2.104 secs
/opt/librenms/poller.php 6 2019-08-07 20:10:16 - 1 devices polled in 13.28 secs
/opt/librenms/poller.php 1 2019-08-07 20:10:16 - 1 devices polled in 13.24 secs
/opt/librenms/poller.php 16 2019-08-07 20:10:20 - 1 devices polled in 17.47 secs
[2019-08-07 20:10:37] production.ERROR: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. {"exception":"[object] (RuntimeException(code: 0): The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. at /opt/librenms/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:43)
[stacktrace]
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(28): Illuminate\\Encryption\\Encrypter->__construct('=kwWtjgx0Kzj+ax...', 'AES-256-CBC')
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(776): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}(Object(App\\Application), Array)
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(658): Illuminate\\Container\\Container->build(Object(Closure))
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(609): Illuminate\\Container\\Container->resolve('encrypter', Array)
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(759): Illuminate\\Container\\Container->make('encrypter', Array)
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(912): Illuminate\\Foundation\\Application->make('encrypter')
#6 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(840): Illuminate\\Container\\Container->resolveClass(Object(ReflectionParameter))
#7 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(807): Illuminate\\Container\\Container->resolveDependencies(Array)
#8 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(658): Illuminate\\Container\\Container->build('App\\\\Http\\\\Middle...')
#9 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(609): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Middle...', Array)
#10 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(759): Illuminate\\Container\\Container->make('App\\\\Http\\\\Middle...', Array)
#11 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(152): Illuminate\\Foundation\\Application->make('App\\\\Http\\\\Middle...')
#12 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#13 /opt/librenms/app/Http/Middleware/CheckInstalled.php(46): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#14 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): App\\Http\\Middleware\\CheckInstalled->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#15 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#16 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#17 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Router.php(684): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#18 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Router.php(659): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#19 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#20 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Router.php(614): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#21 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#22 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#23 /opt/librenms/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#24 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(31): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#28 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#29 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(31): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#30 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#33 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#35 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(62): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#36 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /opt/librenms/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /opt/librenms/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#39 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#40 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#41 /opt/librenms/html/index.php(53): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#42 {main}
"} 
[2019-08-07 20:10:37] production.ERROR: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. {"exception":"[object] (RuntimeException(code: 0): The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. at /opt/librenms/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:43)
[stacktrace]
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php(28): Illuminate\\Encryption\\Encrypter->__construct('=kwWtjgx0Kzj+ax...', 'AES-256-CBC')
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(776): Illuminate\\Encryption\\EncryptionServiceProvider->Illuminate\\Encryption\\{closure}(Object(App\\Application), Array)
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(658): Illuminate\\Container\\Container->build(Object(Closure))
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(609): Illuminate\\Container\\Container->resolve('encrypter', Array)
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(759): Illuminate\\Container\\Container->make('encrypter', Array)
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(912): Illuminate\\Foundation\\Application->make('encrypter')
#6 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(840): Illuminate\\Container\\Container->resolveClass(Object(ReflectionParameter))
#7 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(807): Illuminate\\Container\\Container->resolveDependencies(Array)
#8 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(658): Illuminate\\Container\\Container->build('App\\\\Http\\\\Middle...')
#9 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(609): Illuminate\\Container\\Container->resolve('App\\\\Http\\\\Middle...', Array)
#10 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(759): Illuminate\\Container\\Container->make('App\\\\Http\\\\Middle...', Array)
#11 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(215): Illuminate\\Foundation\\Application->make('App\\\\Http\\\\Middle...')
#12 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))
#13 /opt/librenms/html/index.php(58): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))
#14 {main}
"} 

How might this be fixed?

Thank you :smiley:

Solved it :smiley:

The app key needs to start with: base64:

I originally excluded that part, thinking only the spaghetti than came after it was the key.