I'm on oracle cloud ubutnu vps, and oracle autometically created opc [UID:1000] during creation of the instance, now issue is when I setup webui compose config I give UID 1001 and even tried to give 1000, in first cast I get error that I dont have permission to access /data directory, and in seconed case If i change the permission of volume directory to 1000:1000 then I get the broken ui. as below.
here the log from the container
[2024-01-27 10:37:22 +0530] [1] [INFO] Starting gunicorn 20.1.0
[2024-01-27 10:37:22 +0530] [1] [INFO] Listening at: http://0.0.0.0:5000 (1)
[2024-01-27 10:37:22 +0530] [1] [INFO] Using worker: sync
[2024-01-27 10:37:22 +0530] [7] [INFO] Booting worker with pid: 7
[2024-01-27 10:37:25,770] INFO in server: Headscale-WebUI Version: v0.6.2 / main
[2024-01-27 10:37:25,770] INFO in server: LOG LEVEL SET TO INFO
[2024-01-27 10:37:25,771] INFO in server: DEBUG STATE: False
[2024-01-27 10:37:25,771] INFO in server: Loading basic auth libraries and configuring app...
[2024-01-27 10:37:36,957] ERROR in helper: /data/key.txt EXIST: FAILED - NO ERROR
[2024-01-27 10:37:36,957] INFO in helper: All startup checks passed.
[2024-01-27 10:37:36,960] INFO in helper: Testing API key validity.
[2024-01-27 10:37:37,089] INFO in helper: Got a non-200 response from Headscale. Test failed (Response: 500)
[2024-01-27 10:37:37,384] ERROR in helper: /data/key.txt EXIST: FAILED - NO ERROR
[2024-01-27 10:37:37,384] INFO in helper: All startup checks passed.
[2024-01-27 10:37:37,386] INFO in helper: Testing API key validity.
[2024-01-27 10:37:37,551] INFO in helper: Got a non-200 response from Headscale. Test failed (Response: 500)
[2024-01-27 10:46:00,760] ERROR in helper: /data/key.txt EXIST: FAILED - NO ERROR
[2024-01-27 10:46:00,760] INFO in helper: All startup checks passed.
[2024-01-27 10:46:00,764] INFO in helper: Testing API key validity.
[2024-01-27 10:46:00,975] INFO in helper: Got a non-200 response from Headscale. Test failed (Response: 500)
[2024-01-27 10:46:01,494] ERROR in helper: /data/key.txt EXIST: FAILED - NO ERROR
[2024-01-27 10:46:01,495] INFO in helper: All startup checks passed.
[2024-01-27 10:46:01,497] INFO in helper: Testing API key validity.
[2024-01-27 10:46:01,664] INFO in helper: Got a non-200 response from Headscale. Test failed (Response: 500)
I'm on oracle cloud ubutnu vps, and oracle autometically created opc [UID:1000] during creation of the instance, now issue is when I setup webui compose config I give UID 1001 and even tried to give 1000, in first cast I get error that I dont have permission to access /data directory, and in seconed case If i change the permission of volume directory to 1000:1000 then I get the broken ui. as below. here the log from the container