From 786e6cae9b81877f40bd6018bb9dc3875af8e7cc Mon Sep 17 00:00:00 2001 From: Manuel <30572287+manuel-rw@users.noreply.github.com> Date: Fri, 10 Nov 2023 22:22:39 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=B0=EF=B8=8F=20Update=20dead=20path=20(#1?= =?UTF-8?q?570)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- src/components/Onboarding/step-update-path-mappings.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b54ff506..9cd84be4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ RUN mv _node_modules node_modules EXPOSE $PORT ENV PORT=${PORT} -ENV DATABASE_URL "file:./database/db.sqlite" +ENV DATABASE_URL "file:/data/db.sqlite" ENV NEXTAUTH_URL "http://localhost:3000" ENV PORT 7575 ENV NEXTAUTH_SECRET NOT_IN_USE_BECAUSE_JWTS_ARE_UNUSED diff --git a/src/components/Onboarding/step-update-path-mappings.tsx b/src/components/Onboarding/step-update-path-mappings.tsx index e2542ee0a..68ab42672 100644 --- a/src/components/Onboarding/step-update-path-mappings.tsx +++ b/src/components/Onboarding/step-update-path-mappings.tsx @@ -16,7 +16,7 @@ const dockerRunCommand = `docker run \\ --restart unless-stopped \\ -p 7575:7575 \\ -v your-path/homarr/configs:/app/data/configs \\ --v your-path/homarr/data:/app/database \\ +-v your-path/homarr/data:/data \\ -v your-path/homarr/icons:/app/public/icons \\ -d ghcr.io/ajnart/homarr:latest`; @@ -31,7 +31,7 @@ services: restart: unless-stopped volumes: - ./homarr/configs:/app/data/configs - - ./homarr/data:/app/database + - ./homarr/data:/data - ./homarr/icons:/app/public/icons ports: - '7575:7575'`; @@ -165,7 +165,7 @@ export const StepUpdatePathMappings = ({ next }: { next: () => void }) => { After the new modal has opened, make sure that "Path" has been selected at the top - In the container path, enter /app/database + In the container path, enter /data In the host path, enter a new path on your host system. Choose a similar path, but the @@ -182,7 +182,7 @@ export const StepUpdatePathMappings = ({ next }: { next: () => void }) => { We are sadly not able to include upgrade guides for all kind of systems. If your system was not listed, you should mount this new mounting point in your container: - /app/database + /data