From 55f8ee6d4361dcd5bd694b08d12701aa372f4881 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Mon, 7 Mar 2022 15:06:20 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Solution=20for=20app=20not=20sta?= =?UTF-8?q?rting=20in=202.0.4=20(#539)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #539 --- docs/troubleshooting.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 1dca6dcf..b98ca4b3 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -9,6 +9,7 @@ - [404 On Static Hosting](#404-on-static-hosting) - [Yarn Build or Run Error](#yarn-error) - [Auth Validation Error: "should be object"](#auth-validation-error-should-be-object) +- [App Not Starting After Update to 2.0.4](#app-not-starting-after-update-to-204) - [Keycloak Redirect Error](#keycloak-redirect-error) - [Docker Directory Error](#docker-directory) - [Config Not Updating](#config-not-updating) @@ -116,6 +117,18 @@ auth: --- +## App Not Starting After Update to 2.0.4 + +Version 2.0.4 introduced changes to how the config is read, and the app is build. If you were previously mounting `/public` as a volume, then this will over-write the build app, preventing it from starting. The solution is to just pass in the file(s) / sub-directories that you need. For example: + +```yaml +volumes: +- /srv/dashy/conf.yml:/app/public/conf.yml +- /srv/dashy/item-icons:/app/public/item-icons +``` + +--- + ## Keycloak Redirect Error Check the [browser's console output](#how-to-open-browser-console), if you've not set any headers, you will likely see a CORS error here, which would be the source of the issue.