Skip to content

Gotify fails to start with docker after upgrading from 2.5.0 to 2.6.1 #754

@deffcolony

Description

@deffcolony

Can the issue be reproduced with the latest available release?

  • Yes with gotify/server:2.6.1

Which one is the environment gotify server is running in?

  • Docker
Docker startup command or config file here (please mask sensitive information)
version: "3.8"

services:
  gotify:
    image: gotify/server:2.6.1
    container_name: gotify
    restart: unless-stopped
    ports:
      - 9210:80
    environment:
      TZ: Etc/UTC
    volumes:
      - ./data:/app/data

Do you have an reverse proxy installed in front of gotify server? (Please select None if the problem can be reproduced without the presense of a reverse proxy)

  • None
Reverse proxy configuration (please mask sensitive information)

On which client do you experience problems? (Select as many as you can see)
not sure what to choose here since the server wont start at all

What did you do?
Upgrading gotify version 2.5.0 to 2.6.1. To be clear: Gotify server 2.5.0 works perfectly but version 2.6.1 seems to be not working (see docker logs below)
What did you expect to see?
That i can access the webui with version 2.6.1

What did you see instead? (Include screenshots, android logcat/request dumps if possible)
Docker logs:

	/usr/local/go/src/runtime/proc.go:424 +0xce fp=0xc000078718 sp=0xc0000786f8 pc=0x77436e

runtime.chanrecv(0xc0000b2690, 0x0, 0x1)

	/usr/local/go/src/runtime/chan.go:639 +0x41c fp=0xc000078790 sp=0xc000078718 pc=0x70a3dc

runtime.chanrecv1(0x0?, 0x0?)

	/usr/local/go/src/runtime/chan.go:489 +0x12 fp=0xc0000787b8 sp=0xc000078790 pc=0x709f92

runtime.unique_runtime_registerUniqueMapCleanup.func1(...)

	/usr/local/go/src/runtime/mgc.go:1732

runtime.unique_runtime_registerUniqueMapCleanup.gowrap1()

	/usr/local/go/src/runtime/mgc.go:1735 +0x2f fp=0xc0000787e0 sp=0xc0000787b8 pc=0x71e58f

runtime.goexit({})

	/usr/local/go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc0000787e8 sp=0xc0000787e0 pc=0x77c661

created by unique.runtime_registerUniqueMapCleanup in goroutine 1

	/usr/local/go/src/runtime/mgc.go:1730 +0x96

goroutine 7 gp=0xc0002bc380 m=nil [select]:

runtime.gopark(0xc000078f88?, 0x2?, 0xb8?, 0x45?, 0xc000078f84?)

	/usr/local/go/src/runtime/proc.go:424 +0xce fp=0xc000078e28 sp=0xc000078e08 pc=0x77436e

runtime.selectgo(0xc000078f88, 0xc000078f80, 0x0?, 0x0, 0x0?, 0x1)

	/usr/local/go/src/runtime/select.go:335 +0x7a5 fp=0xc000078f50 sp=0xc000078e28 pc=0x750265

database/sql.(*DB).connectionOpener(0xc0002f6820, {0x1705b30, 0xc0002f41e0})

	/usr/local/go/src/database/sql/sql.go:1253 +0x87 fp=0xc000078fb8 sp=0xc000078f50 pc=0xd3dfc7

database/sql.OpenDB.gowrap1()

	/usr/local/go/src/database/sql/sql.go:833 +0x28 fp=0xc000078fe0 sp=0xc000078fb8 pc=0xd3c1e8

runtime.goexit({})

	/usr/local/go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000078fe8 sp=0xc000078fe0 pc=0x77c661

created by database/sql.OpenDB in goroutine 1

	/usr/local/go/src/database/sql/sql.go:833 +0x130

goroutine 8 gp=0xc0002bc8c0 m=nil [chan receive]:

runtime.gopark(0xc000116080?, 0xff6ec09f99cfa?, 0x0?, 0xb8?, 0x1626af8?)

	/usr/local/go/src/runtime/proc.go:424 +0xce fp=0xc000088eb8 sp=0xc000088e98 pc=0x77436e

runtime.chanrecv(0xc000116000, 0xc000088fa8, 0x1)

	/usr/local/go/src/runtime/chan.go:639 +0x41c fp=0xc000088f30 sp=0xc000088eb8 pc=0x70a3dc
floorp_K3vVpc46tz.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions