filebrowser ; errors , needs setup #20

Closed
opened 2023-11-24 12:11:29 -05:00 by sickprodigy · 2 comments
Owner

Errors currently:

2023-11-24T17:09:02.646772948Z [migrations] started
2023-11-24T17:09:02.646835363Z [migrations] no migrations found
2023-11-24T17:09:02.815139389Z ───────────────────────────────────────
2023-11-24T17:09:02.815176365Z   _____ __ __ _____ _____ _____ _____ 
2023-11-24T17:09:02.815182489Z  |     |  |  |   __|_   _|     |     |
2023-11-24T17:09:02.815187532Z  |   --|  |  |__   | | | |  |  | | | |
2023-11-24T17:09:02.815191534Z  |_____|_____|_____| |_| |_____|_|_|_|
2023-11-24T17:09:02.815194668Z        _____ __ __ _ __    ____  
2023-11-24T17:09:02.815197917Z       | __  |  |  | |  |  |    \ 
2023-11-24T17:09:02.815201317Z       | __ -|  |  | |  |__|  |  |
2023-11-24T17:09:02.815204359Z       |_____|_____|_|_____|____/ 
2023-11-24T17:09:02.815207586Z 
2023-11-24T17:09:02.815210675Z   Based on images from linuxserver.io
2023-11-24T17:09:02.815214828Z ───────────────────────────────────────
2023-11-24T17:09:02.815453032Z 
2023-11-24T17:09:02.815471242Z To support LSIO projects visit:
2023-11-24T17:09:02.815477518Z https://www.linuxserver.io/donate/
2023-11-24T17:09:02.815482915Z 
2023-11-24T17:09:02.815487734Z ───────────────────────────────────────
2023-11-24T17:09:02.815493528Z GID/UID
2023-11-24T17:09:02.815498259Z ───────────────────────────────────────
2023-11-24T17:09:02.818118859Z 
2023-11-24T17:09:02.818144126Z User UID:    1000
2023-11-24T17:09:02.818149918Z User GID:    1006
2023-11-24T17:09:02.818154837Z ───────────────────────────────────────
2023-11-24T17:09:02.818160642Z 
2023-11-24T17:09:02.846856536Z [custom-init] No custom files found, skipping...
2023-11-24T17:09:02.861034535Z crontab: can't open 'abc': No such file or directory
2023-11-24T17:09:02.864597030Z crond[135]: crond (busybox 1.35.0) started, log level 5
2023-11-24T17:09:02.865588090Z [ls.io-init] done.
2023-11-24T17:09:02.939695646Z panic: While parsing config: unexpected end of JSON input
2023-11-24T17:09:02.939712385Z 
2023-11-24T17:09:02.939715877Z goroutine 1 [running]:
2023-11-24T17:09:02.940393184Z github.com/filebrowser/filebrowser/v2/cmd.initConfig()
2023-11-24T17:09:02.940398917Z 	/home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a
2023-11-24T17:09:02.940638767Z github.com/spf13/cobra.(*Command).preRun(...)
2023-11-24T17:09:02.940656581Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946
2023-11-24T17:09:02.940661491Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4})
2023-11-24T17:09:02.940698762Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e
2023-11-24T17:09:02.940705166Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040)
2023-11-24T17:09:02.940709380Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5
2023-11-24T17:09:02.940713545Z github.com/spf13/cobra.(*Command).Execute(...)
2023-11-24T17:09:02.940719905Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
2023-11-24T17:09:02.940723951Z github.com/filebrowser/filebrowser/v2/cmd.Execute()
2023-11-24T17:09:02.940744198Z 	/home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a
2023-11-24T17:09:02.940762641Z main.main()
2023-11-24T17:09:02.940774260Z 	/home/runner/work/filebrowser/filebrowser/main.go:8 +0xf
2023-11-24T17:09:03.952201898Z panic: While parsing config: unexpected end of JSON input
2023-11-24T17:09:03.952226327Z 
2023-11-24T17:09:03.952232027Z goroutine 1 [running]:
2023-11-24T17:09:03.952235946Z github.com/filebrowser/filebrowser/v2/cmd.initConfig()
2023-11-24T17:09:03.952240209Z 	/home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a
2023-11-24T17:09:03.952244002Z github.com/spf13/cobra.(*Command).preRun(...)
2023-11-24T17:09:03.952248257Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946
2023-11-24T17:09:03.952254381Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4})
2023-11-24T17:09:03.952270666Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e
2023-11-24T17:09:03.952286386Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040)
2023-11-24T17:09:03.952350577Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5
2023-11-24T17:09:03.952361513Z github.com/spf13/cobra.(*Command).Execute(...)
2023-11-24T17:09:03.952366758Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
2023-11-24T17:09:03.952371555Z github.com/filebrowser/filebrowser/v2/cmd.Execute()
2023-11-24T17:09:03.952380644Z 	/home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a
2023-11-24T17:09:03.952384869Z main.main()
2023-11-24T17:09:03.952411085Z 	/home/runner/work/filebrowser/filebrowser/main.go:8 +0xf
2023-11-24T17:09:04.964743908Z panic: While parsing config: unexpected end of JSON input
2023-11-24T17:09:04.964765880Z 
2023-11-24T17:09:04.964771702Z goroutine 1 [running]:
2023-11-24T17:09:04.964776551Z github.com/filebrowser/filebrowser/v2/cmd.initConfig()
2023-11-24T17:09:04.964781570Z 	/home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a
2023-11-24T17:09:04.964797386Z github.com/spf13/cobra.(*Command).preRun(...)
2023-11-24T17:09:04.964802652Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946
2023-11-24T17:09:04.964808173Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4})
2023-11-24T17:09:04.964812897Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e
2023-11-24T17:09:04.964836267Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040)
2023-11-24T17:09:04.964849500Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5
2023-11-24T17:09:04.964870981Z github.com/spf13/cobra.(*Command).Execute(...)
2023-11-24T17:09:04.964877827Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
2023-11-24T17:09:04.964883448Z github.com/filebrowser/filebrowser/v2/cmd.Execute()
2023-11-24T17:09:04.964899632Z 	/home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a
2023-11-24T17:09:04.964907421Z main.main()
2023-11-24T17:09:04.964924600Z 	/home/runner/work/filebrowser/filebrowser/main.go:8 +0xf
2023-11-24T17:09:05.976048744Z panic: While parsing config: unexpected end of JSON input
2023-11-24T17:09:05.976077795Z 
2023-11-24T17:09:05.976083473Z goroutine 1 [running]:
2023-11-24T17:09:05.976088511Z github.com/filebrowser/filebrowser/v2/cmd.initConfig()
2023-11-24T17:09:05.976093104Z 	/home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a
2023-11-24T17:09:05.976098197Z github.com/spf13/cobra.(*Command).preRun(...)
2023-11-24T17:09:05.976102689Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946
2023-11-24T17:09:05.976130506Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4})
2023-11-24T17:09:05.976150058Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e
2023-11-24T17:09:05.976155773Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040)
2023-11-24T17:09:05.976160418Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5
2023-11-24T17:09:05.976164811Z github.com/spf13/cobra.(*Command).Execute(...)
2023-11-24T17:09:05.976168637Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
2023-11-24T17:09:05.976172870Z github.com/filebrowser/filebrowser/v2/cmd.Execute()
2023-11-24T17:09:05.976177893Z 	/home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a
2023-11-24T17:09:05.976181772Z main.main()
2023-11-24T17:09:05.976185266Z 	/home/runner/work/filebrowser/filebrowser/main.go:8 +0xf
2023-11-24T17:09:06.987453928Z panic: While parsing config: unexpected end of JSON input
2023-11-24T17:09:06.987478416Z 
2023-11-24T17:09:06.987485017Z goroutine 1 [running]:
2023-11-24T17:09:06.987498839Z github.com/filebrowser/filebrowser/v2/cmd.initConfig()
2023-11-24T17:09:06.987502158Z 	/home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a
2023-11-24T17:09:06.987505106Z github.com/spf13/cobra.(*Command).preRun(...)
2023-11-24T17:09:06.987507789Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946
2023-11-24T17:09:06.987512874Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4})
2023-11-24T17:09:06.987563069Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e
2023-11-24T17:09:06.987574991Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040)
2023-11-24T17:09:06.987580731Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5
2023-11-24T17:09:06.987585479Z github.com/spf13/cobra.(*Command).Execute(...)
2023-11-24T17:09:06.987590118Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
2023-11-24T17:09:06.987608829Z github.com/filebrowser/filebrowser/v2/cmd.Execute()
2023-11-24T17:09:06.987616779Z 	/home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a
2023-11-24T17:09:06.987621234Z main.main()
2023-11-24T17:09:06.987654319Z 	/home/runner/work/filebrowser/filebrowser/main.go:8 +0xf
2023-11-24T17:09:08.004418803Z panic: While parsing config: unexpected end of JSON input
2023-11-24T17:09:08.004441859Z 
2023-11-24T17:09:08.004447441Z goroutine 1 [running]:
2023-11-24T17:09:08.004452042Z github.com/filebrowser/filebrowser/v2/cmd.initConfig()
2023-11-24T17:09:08.004455272Z 	/home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a
2023-11-24T17:09:08.004458451Z github.com/spf13/cobra.(*Command).preRun(...)
2023-11-24T17:09:08.004461509Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946
2023-11-24T17:09:08.004466399Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4})
2023-11-24T17:09:08.004499557Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e
2023-11-24T17:09:08.004513619Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040)
2023-11-24T17:09:08.004524419Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5
2023-11-24T17:09:08.004531587Z github.com/spf13/cobra.(*Command).Execute(...)
2023-11-24T17:09:08.004536694Z 	/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
2023-11-24T17:09:08.004542335Z github.com/filebrowser/filebrowser/v2/cmd.Execute()
2023-11-24T17:09:08.004575227Z 	/home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a
2023-11-24T17:09:08.004586401Z main.main()
2023-11-24T17:09:08.004593966Z 	/home/runner/work/filebrowser/filebrowser/main.go:8 +0xf


docker-compose.yml

---
version: "2.1"
services:
  filebrowser:
    image: filebrowser/filebrowser:s6
    container_name: filebrowser
    environment:
      - PUID=1000
      - PGID=1006
      - TZ=America/New_York
    volumes:
      - /srv/samba/media/Documents/prodigy/Coding-Programming/docker-containers/filebrowser:/srv
      - /srv/samba/media/Documents/prodigy/Coding-Programming/docker-containers/filebrowser/filebrowser.db:/database/filebrowser.db
      - /srv/samba/media/Documents/prodigy/Coding-Programming/docker-containers/filebrowser/settings.json:/config/settings.json
    ports:
      - 8189:80
    restart: unless-stopped
    stdin_open: true    # to attach to containers
    tty: true           # also used to attach to containers
#    network_mode: service:wireguard     # To run through vpn service container, in turn UI port must be forwarded inside vpn. No local access unless otherwise defined
    networks:           # Specify network for container
      - homelab
networks:    # I don't know why but you have to specify the network 2x. In service, and in this tag area..
  homelab:
    external: true      # This option causes compose to join the above network instead of making a _default one (supposedly)

I believe the settings.json file needs to be initialized or else root will only have access to it.

Errors currently: ``` 2023-11-24T17:09:02.646772948Z [migrations] started 2023-11-24T17:09:02.646835363Z [migrations] no migrations found 2023-11-24T17:09:02.815139389Z ─────────────────────────────────────── 2023-11-24T17:09:02.815176365Z _____ __ __ _____ _____ _____ _____ 2023-11-24T17:09:02.815182489Z | | | | __|_ _| | | 2023-11-24T17:09:02.815187532Z | --| | |__ | | | | | | | | | 2023-11-24T17:09:02.815191534Z |_____|_____|_____| |_| |_____|_|_|_| 2023-11-24T17:09:02.815194668Z _____ __ __ _ __ ____ 2023-11-24T17:09:02.815197917Z | __ | | | | | | \ 2023-11-24T17:09:02.815201317Z | __ -| | | | |__| | | 2023-11-24T17:09:02.815204359Z |_____|_____|_|_____|____/ 2023-11-24T17:09:02.815207586Z 2023-11-24T17:09:02.815210675Z Based on images from linuxserver.io 2023-11-24T17:09:02.815214828Z ─────────────────────────────────────── 2023-11-24T17:09:02.815453032Z 2023-11-24T17:09:02.815471242Z To support LSIO projects visit: 2023-11-24T17:09:02.815477518Z https://www.linuxserver.io/donate/ 2023-11-24T17:09:02.815482915Z 2023-11-24T17:09:02.815487734Z ─────────────────────────────────────── 2023-11-24T17:09:02.815493528Z GID/UID 2023-11-24T17:09:02.815498259Z ─────────────────────────────────────── 2023-11-24T17:09:02.818118859Z 2023-11-24T17:09:02.818144126Z User UID: 1000 2023-11-24T17:09:02.818149918Z User GID: 1006 2023-11-24T17:09:02.818154837Z ─────────────────────────────────────── 2023-11-24T17:09:02.818160642Z 2023-11-24T17:09:02.846856536Z [custom-init] No custom files found, skipping... 2023-11-24T17:09:02.861034535Z crontab: can't open 'abc': No such file or directory 2023-11-24T17:09:02.864597030Z crond[135]: crond (busybox 1.35.0) started, log level 5 2023-11-24T17:09:02.865588090Z [ls.io-init] done. 2023-11-24T17:09:02.939695646Z panic: While parsing config: unexpected end of JSON input 2023-11-24T17:09:02.939712385Z 2023-11-24T17:09:02.939715877Z goroutine 1 [running]: 2023-11-24T17:09:02.940393184Z github.com/filebrowser/filebrowser/v2/cmd.initConfig() 2023-11-24T17:09:02.940398917Z /home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a 2023-11-24T17:09:02.940638767Z github.com/spf13/cobra.(*Command).preRun(...) 2023-11-24T17:09:02.940656581Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946 2023-11-24T17:09:02.940661491Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4}) 2023-11-24T17:09:02.940698762Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e 2023-11-24T17:09:02.940705166Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040) 2023-11-24T17:09:02.940709380Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5 2023-11-24T17:09:02.940713545Z github.com/spf13/cobra.(*Command).Execute(...) 2023-11-24T17:09:02.940719905Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968 2023-11-24T17:09:02.940723951Z github.com/filebrowser/filebrowser/v2/cmd.Execute() 2023-11-24T17:09:02.940744198Z /home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a 2023-11-24T17:09:02.940762641Z main.main() 2023-11-24T17:09:02.940774260Z /home/runner/work/filebrowser/filebrowser/main.go:8 +0xf 2023-11-24T17:09:03.952201898Z panic: While parsing config: unexpected end of JSON input 2023-11-24T17:09:03.952226327Z 2023-11-24T17:09:03.952232027Z goroutine 1 [running]: 2023-11-24T17:09:03.952235946Z github.com/filebrowser/filebrowser/v2/cmd.initConfig() 2023-11-24T17:09:03.952240209Z /home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a 2023-11-24T17:09:03.952244002Z github.com/spf13/cobra.(*Command).preRun(...) 2023-11-24T17:09:03.952248257Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946 2023-11-24T17:09:03.952254381Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4}) 2023-11-24T17:09:03.952270666Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e 2023-11-24T17:09:03.952286386Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040) 2023-11-24T17:09:03.952350577Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5 2023-11-24T17:09:03.952361513Z github.com/spf13/cobra.(*Command).Execute(...) 2023-11-24T17:09:03.952366758Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968 2023-11-24T17:09:03.952371555Z github.com/filebrowser/filebrowser/v2/cmd.Execute() 2023-11-24T17:09:03.952380644Z /home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a 2023-11-24T17:09:03.952384869Z main.main() 2023-11-24T17:09:03.952411085Z /home/runner/work/filebrowser/filebrowser/main.go:8 +0xf 2023-11-24T17:09:04.964743908Z panic: While parsing config: unexpected end of JSON input 2023-11-24T17:09:04.964765880Z 2023-11-24T17:09:04.964771702Z goroutine 1 [running]: 2023-11-24T17:09:04.964776551Z github.com/filebrowser/filebrowser/v2/cmd.initConfig() 2023-11-24T17:09:04.964781570Z /home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a 2023-11-24T17:09:04.964797386Z github.com/spf13/cobra.(*Command).preRun(...) 2023-11-24T17:09:04.964802652Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946 2023-11-24T17:09:04.964808173Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4}) 2023-11-24T17:09:04.964812897Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e 2023-11-24T17:09:04.964836267Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040) 2023-11-24T17:09:04.964849500Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5 2023-11-24T17:09:04.964870981Z github.com/spf13/cobra.(*Command).Execute(...) 2023-11-24T17:09:04.964877827Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968 2023-11-24T17:09:04.964883448Z github.com/filebrowser/filebrowser/v2/cmd.Execute() 2023-11-24T17:09:04.964899632Z /home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a 2023-11-24T17:09:04.964907421Z main.main() 2023-11-24T17:09:04.964924600Z /home/runner/work/filebrowser/filebrowser/main.go:8 +0xf 2023-11-24T17:09:05.976048744Z panic: While parsing config: unexpected end of JSON input 2023-11-24T17:09:05.976077795Z 2023-11-24T17:09:05.976083473Z goroutine 1 [running]: 2023-11-24T17:09:05.976088511Z github.com/filebrowser/filebrowser/v2/cmd.initConfig() 2023-11-24T17:09:05.976093104Z /home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a 2023-11-24T17:09:05.976098197Z github.com/spf13/cobra.(*Command).preRun(...) 2023-11-24T17:09:05.976102689Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946 2023-11-24T17:09:05.976130506Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4}) 2023-11-24T17:09:05.976150058Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e 2023-11-24T17:09:05.976155773Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040) 2023-11-24T17:09:05.976160418Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5 2023-11-24T17:09:05.976164811Z github.com/spf13/cobra.(*Command).Execute(...) 2023-11-24T17:09:05.976168637Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968 2023-11-24T17:09:05.976172870Z github.com/filebrowser/filebrowser/v2/cmd.Execute() 2023-11-24T17:09:05.976177893Z /home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a 2023-11-24T17:09:05.976181772Z main.main() 2023-11-24T17:09:05.976185266Z /home/runner/work/filebrowser/filebrowser/main.go:8 +0xf 2023-11-24T17:09:06.987453928Z panic: While parsing config: unexpected end of JSON input 2023-11-24T17:09:06.987478416Z 2023-11-24T17:09:06.987485017Z goroutine 1 [running]: 2023-11-24T17:09:06.987498839Z github.com/filebrowser/filebrowser/v2/cmd.initConfig() 2023-11-24T17:09:06.987502158Z /home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a 2023-11-24T17:09:06.987505106Z github.com/spf13/cobra.(*Command).preRun(...) 2023-11-24T17:09:06.987507789Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946 2023-11-24T17:09:06.987512874Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4}) 2023-11-24T17:09:06.987563069Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e 2023-11-24T17:09:06.987574991Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040) 2023-11-24T17:09:06.987580731Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5 2023-11-24T17:09:06.987585479Z github.com/spf13/cobra.(*Command).Execute(...) 2023-11-24T17:09:06.987590118Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968 2023-11-24T17:09:06.987608829Z github.com/filebrowser/filebrowser/v2/cmd.Execute() 2023-11-24T17:09:06.987616779Z /home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a 2023-11-24T17:09:06.987621234Z main.main() 2023-11-24T17:09:06.987654319Z /home/runner/work/filebrowser/filebrowser/main.go:8 +0xf 2023-11-24T17:09:08.004418803Z panic: While parsing config: unexpected end of JSON input 2023-11-24T17:09:08.004441859Z 2023-11-24T17:09:08.004447441Z goroutine 1 [running]: 2023-11-24T17:09:08.004452042Z github.com/filebrowser/filebrowser/v2/cmd.initConfig() 2023-11-24T17:09:08.004455272Z /home/runner/work/filebrowser/filebrowser/cmd/root.go:415 +0x32a 2023-11-24T17:09:08.004458451Z github.com/spf13/cobra.(*Command).preRun(...) 2023-11-24T17:09:08.004461509Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:946 2023-11-24T17:09:08.004466399Z github.com/spf13/cobra.(*Command).execute(0x126a040, {0xc0000340b0, 0x4, 0x4}) 2023-11-24T17:09:08.004499557Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:876 +0x59e 2023-11-24T17:09:08.004513619Z github.com/spf13/cobra.(*Command).ExecuteC(0x126a040) 2023-11-24T17:09:08.004524419Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5 2023-11-24T17:09:08.004531587Z github.com/spf13/cobra.(*Command).Execute(...) 2023-11-24T17:09:08.004536694Z /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968 2023-11-24T17:09:08.004542335Z github.com/filebrowser/filebrowser/v2/cmd.Execute() 2023-11-24T17:09:08.004575227Z /home/runner/work/filebrowser/filebrowser/cmd/cmd.go:9 +0x1a 2023-11-24T17:09:08.004586401Z main.main() 2023-11-24T17:09:08.004593966Z /home/runner/work/filebrowser/filebrowser/main.go:8 +0xf ``` docker-compose.yml ``` --- version: "2.1" services: filebrowser: image: filebrowser/filebrowser:s6 container_name: filebrowser environment: - PUID=1000 - PGID=1006 - TZ=America/New_York volumes: - /srv/samba/media/Documents/prodigy/Coding-Programming/docker-containers/filebrowser:/srv - /srv/samba/media/Documents/prodigy/Coding-Programming/docker-containers/filebrowser/filebrowser.db:/database/filebrowser.db - /srv/samba/media/Documents/prodigy/Coding-Programming/docker-containers/filebrowser/settings.json:/config/settings.json ports: - 8189:80 restart: unless-stopped stdin_open: true # to attach to containers tty: true # also used to attach to containers # network_mode: service:wireguard # To run through vpn service container, in turn UI port must be forwarded inside vpn. No local access unless otherwise defined networks: # Specify network for container - homelab networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area.. homelab: external: true # This option causes compose to join the above network instead of making a _default one (supposedly) ``` I believe the settings.json file needs to be initialized or else root will only have access to it.
Author
Owner

switched to a different situation
SickGaming/streaming-team#1

uploads.sickgaming.net

using xbackbone

switched to a different situation https://gitea.rcs1.top/SickGaming/streaming-team/issues/1 uploads.sickgaming.net using xbackbone
Author
Owner

using filegator now. replaced filebrowser and pretty similar. Don't have it setup to uploads.sickgaming. Still have xbackbone for it. Still working on filegator.

using filegator now. replaced filebrowser and pretty similar. Don't have it setup to uploads.sickgaming. Still have xbackbone for it. Still working on filegator.
Sign in to join this conversation.
No description provided.