Mobile version not loading: Loading failed for the module with source .../vite/

  • Used Zammad version: 6.3.0-1713857963.c5266fae.jammy
  • Used Zammad installation type: package
  • Operating system: Ubuntu 22.04
  • Browser + version: Firefox 125.0.3 (64-bit)

Expected behavior:

  • To see the mobile version loading by going to the domain.tld/mobile

Actual behavior:

  • It only shows the loading screen and an error that it cannot access the routes-*.js file

2024/05/03 09:42:48 [error] 1351#1351: *113 open() "/opt/zammad/public/assets/frontend/vite/assets/routes-B54YmEJE.js" failed (13: Permission denied), client: [REDACTED], server: my.domain.com, request: "GET /assets/frontend/vite/assets/routes-B54YmEJE.js HTTP/2.0", host: "my.domain.com", referrer: "https://my.domain.com/mobile"

Steps to reproduce the behavior:

  • Install Zammad from package, import OTRS.

My question is what are the correct permissions of the directory, since I was able to solve it with

chmod 664 /opt/zammad/public/assets/frontend/vite/assets/*

Thanks

Is this Problem still there, or did you fix it with:

I would go about, and have always a clean running showcase instance running on my System. Like that you can verify file permissions,…

1 Like

Permissions should be 644.

1 Like

Hello,

I am able to solve it with 664 but will now try with 644 as suggested by Mr. Generation.