Skip to content

[BUG] Error 500 after updating to v0.43.0 #1187

Description

@Streght

Prerequisites

Rclone Pre-flight Checklist (if applicable)

  • This issue is NOT related to rclone (skip if not using rclone)
  • I have tested rclone listremotes and rclone lsd remote: on the host and they work
  • I have verified the rclone config is mounted into the container
  • I have restarted the container after config changes

Bug Description

Hello,
I'm currently running Zerobyte in a LXC in PVE. After upgrading to v0.43.0, the app doesn't start, I have the following message :
{
"error": true,
"status": 500,
"unhandled": true
}
I added the log below.

Steps to Reproduce

  1. Update to 0.43.0
  2. Try accessing the application

Expected Behavior

The login page should be displayed.

Zerobyte version / commit

v0.43.0

Deployment Method

None

Backup/Repository Context

No response

Logs / Error Messages

Sep 26 21:44:21 zerobyte bun[13947]: ^
Sep 26 21:44:21 zerobyte bun[13947]: SyntaxError: Unexpected keyword 'if'. Cannot find scope for the label 'a'.
Sep 26 21:44:21 zerobyte bun[13947]: at (/opt/zerobyte/.output/server/_libs/@tanstack/react-router+[...].mjs:9291:1)
Sep 26 21:44:21 zerobyte bun[13947]: at native:11:43
Sep 26 21:44:21 zerobyte bun[13947]: at processTicksAndRejections (native:7:39)
Sep 26 21:47:22 zerobyte bun[13947]: 9286 | }
Sep 26 21:47:22 zerobyte bun[13947]: 9287 | } finally {
Sep 26 21:47:22 zerobyte bun[13947]: 9288 | request.currentTask = prevTask;
Sep 26 21:47:22 zerobyte bun[13947]: 9289 | }
Sep 26 21:47:22 zerobyte bun[13947]: 9290 | }Sep 26 21:47:22 zerobyte bun[13947]: 9291 | } else a: if (request$jscomp$0 = segment, 0 === request$jscomp$0.statu
s) {
Sep 26 21:47:22 zerobyte bun[13947]: ^
Sep 26 21:47:22 zerobyte bun[13947]: error: Unexpected keyword 'if'. Cannot find scope for the label 'a'.
Sep 26 21:47:22 zerobyte bun[13947]: status: 500,
Sep 26 21:47:22 zerobyte bun[13947]: statusText: undefined,
Sep 26 21:47:22 zerobyte bun[13947]: headers: undefined,
Sep 26 21:47:22 zerobyte bun[13947]: data: undefined,
Sep 26 21:47:22 zerobyte bun[13947]: body: undefined,
Sep 26 21:47:22 zerobyte bun[13947]: unhandled: true,
Sep 26 21:47:22 zerobyte bun[13947]: at (/opt/zerobyte/.output/server/_libs/@tanstack/react-router+[...].mjs:9291:1)
Sep 26 21:47:22 zerobyte bun[13947]: at native:11:43
Sep 26 21:47:22 zerobyte bun[13947]: at processTicksAndRejections (native:7:39)
Sep 26 21:47:22 zerobyte bun[13947]: 9286 | }
Sep 26 21:47:22 zerobyte bun[13947]: 9287 | } finally {
Sep 26 21:47:22 zerobyte bun[13947]: 9288 | request.currentTask = prevTask;
Sep 26 21:47:22 zerobyte bun[13947]: 9289 | }
Sep 26 21:47:22 zerobyte bun[13947]: 9290 | }Sep 26 21:47:22 zerobyte bun[13947]: 9291 | } else a: if (request$jscomp$0 = segment, 0 === request$jscomp$0.status) {
Sep 26 21:47:22 zerobyte bun[13947]: ^
Sep 26 21:47:22 zerobyte bun[13947]: SyntaxError: Unexpected keyword 'if'. Cannot find scope for the label 'a'.
Sep 26 21:47:22 zerobyte bun[13947]: at (/opt/zerobyte/.output/server/_libs/@tanstack/react-router+[...].mjs:9291:1)
Sep 26 21:47:22 zerobyte bun[13947]: at native:11:43
Sep 26 21:47:22 zerobyte bun[13947]: at processTicksAndRejections (native:7:39)
Sep 26 21:47:32 zerobyte bun[13947]: 9286 | }
Sep 26 21:47:32 zerobyte bun[13947]: 9287 | } finally {
Sep 26 21:47:32 zerobyte bun[13947]: 9288 | request.currentTask = prevTask;
Sep 26 21:47:32 zerobyte bun[13947]: 9289 | }
Sep 26 21:47:32 zerobyte bun[13947]: 9290 | }
Sep 26 21:47:32 zerobyte bun[13947]: 9291 | } else a: if (request$jscomp$0 = segment, 0 === request$jscomp$0.status) {
Sep 26 21:47:32 zerobyte bun[13947]: ^
Sep 26 21:47:32 zerobyte bun[13947]: error: Unexpected keyword 'if'. Cannot find scope for the label 'a'.
Sep 26 21:47:32 zerobyte bun[13947]: status: 500,
Sep 26 21:47:32 zerobyte bun[13947]: statusText: undefined,
Sep 26 21:47:32 zerobyte bun[13947]: headers: undefined,
Sep 26 21:47:32 zerobyte bun[13947]: data: undefined,
Sep 26 21:47:32 zerobyte bun[13947]: body: undefined,
Sep 26 21:47:32 zerobyte bun[13947]: unhandled: true,
Sep 26 21:47:32 zerobyte bun[13947]: at (/opt/zerobyte/.output/server/_libs/@tanstack/react-router+[...].mjs:9291:1)
Sep 26 21:47:32 zerobyte bun[13947]: at native:11:43
Sep 26 21:47:32 zerobyte bun[13947]: at processTicksAndRejections (native:7:39)
Sep 26 21:47:32 zerobyte bun[13947]: 9286 | }
Sep 26 21:47:32 zerobyte bun[13947]: 9287 | } finally {
Sep 26 21:47:32 zerobyte bun[13947]: 9288 | request.currentTask = prevTask;
Sep 26 21:47:32 zerobyte bun[13947]: 9289 | }
Sep 26 21:47:32 zerobyte bun[13947]: 9290 | }
Sep 26 21:47:32 zerobyte bun[13947]: 9291 | } else a: if (request$jscomp$0 = segment, 0 === request$jscomp$0.status) {
Sep 26 21:47:32 zerobyte bun[13947]: ^
Sep 26 21:47:32 zerobyte bun[13947]: SyntaxError: Unexpected keyword 'if'. Cannot find scope for the label 'a'.
Sep 26 21:47:32 zerobyte bun[13947]: at (/opt/zerobyte/.output/server/_libs/@tanstack/react-router+[...].mjs:9291:1)
Sep 26 21:47:32 zerobyte bun[13947]: at native:11:43
Sep 26 21:47:32 zerobyte bun[13947]: at processTicksAndRejections (native:7:39)

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions