Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick entry error 500 #104

Open
janleskovec opened this issue Aug 30, 2022 · 5 comments
Open

Quick entry error 500 #104

janleskovec opened this issue Aug 30, 2022 · 5 comments

Comments

@janleskovec
Copy link

Please complete the following information

  • Installation Type: [Docker]
  • Have you tried using the latest docker image / code base [yes]

Describe the bug
The quick entry returns an error 500, when uploading a photo.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the homescreen
  2. Select Photo
  3. Upload File
  4. See error

Expected behavior
A quick entry gets added

Logs

[GIN] 2022/08/30 - 12:52:25 | 500 |   12.813694ms |       10.0.1.27 | POST     "/api/quickEntries"
2022/08/30 12:52:25 [Recovery] 2022/08/30 - 12:52:25 panic recovered:
interface conversion: error is url.EscapeError, not validator.ValidationErrors
/usr/local/go/src/runtime/iface.go:261 (0x412d2b)
/usr/local/go/src/runtime/iface.go:271 (0x412c8f)
/api/common/utils.go:61 (0x9b413b)
/api/controllers/files.go:30 (0x9d7b14)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/context.go:165 (0x9b20f9)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/recovery.go:99 (0x9b20e0)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/context.go:165 (0x9ea0ab)
/api/main.go:68 (0x9ea08d)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/context.go:165 (0x9b20f9)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/recovery.go:99 (0x9b20e0)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/context.go:165 (0x9b11d3)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/logger.go:241 (0x9b1192)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/context.go:165 (0x9a7989)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/gin.go:489 (0x9a796f)
/go/pkg/mod/github.com/gin-gonic/gin@v1.7.1/gin.go:445 (0x9a745b)
/usr/local/go/src/net/http/server.go:2887 (0x6b5b22)
/usr/local/go/src/net/http/server.go:1952 (0x6b0f4c)
/usr/local/go/src/runtime/asm_amd64.s:1371 (0x473e60)

Additional context
This is a fresh installation on docker with the following compose file:

version: '2.1'
services:
  hammond:
    image: akhilrex/hammond
    container_name: hammond
    volumes:
      - /data/hammond/config:/config
      - /data/hammond/data:/assets
    ports:
      - 8083:3000
    restart: unless-stopped
@Johnson90512
Copy link

I'm getting this too.

@MrPresident2
Copy link

Also have the same problem while uploading a photo, any news about this?

@slimshizn
Copy link

There's a fix in another release, it didn't make it in the most recent release. Not sure when or if it'll go live.

@oskarslusitis
Copy link

Hey,
Sorry if I've missed the answer, has this been fixed? Just set up the Hammond on docker for the first time and this bug is still present.

@vel-crow
Copy link

vel-crow commented Jun 4, 2023

I have opened a new case, as this appears to be an issue in the latest docker image.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants