-
-
Notifications
You must be signed in to change notification settings - Fork 62
Description
Environment
Docker (self-hosted)
Version
0.1.2
Describe the Issue
src/assets path is hard coded in code. Docker image use /app/dist/assets.
Additionally, /app/src/assets/i18n/en.json doesn't exists in image. The path is /app/dist/i18n/en.json
Logs
domain-locker-1 | Error loading translation file for language "en": Error: ENOENT: no such file or directory, open '/app/src/assets/i18n/en.json'
domain-locker-1 | at Module.readFileSync (node:fs:457:20)
domain-locker-1 | at dL.getTranslation (file:///app/dist/analog/server/chunks//renderer.mjs:23297:86)
domain-locker-1 | at e10.loadAndCompileTranslations (file:///app/dist/analog/server/chunks//renderer.mjs:23059:38)
domain-locker-1 | at e10.retrieveTranslations (file:///app/dist/analog/server/chunks//renderer.mjs:23052:140)
domain-locker-1 | at e10.setDefaultLang (file:///app/dist/analog/server/chunks//renderer.mjs:23032:24)
domain-locker-1 | at file:///app/dist/analog/server/chunks//renderer.mjs:23852:16
domain-locker-1 | at ui (file:///app/dist/analog/server/chunks//renderer.mjs:1797:12)
domain-locker-1 | at e10.runInitializers (file:///app/dist/analog/server/chunks//renderer.mjs:5595:21)
domain-locker-1 | at file:///app/dist/analog/server/chunks//renderer.mjs:7006:18
domain-locker-1 | at file:///app/dist/analog/server/chunks/_/renderer.mjs:6997:21 {
domain-locker-1 | errno: -2,
domain-locker-1 | code: 'ENOENT',
domain-locker-1 | syscall: 'open',
domain-locker-1 | path: '/app/src/assets/i18n/en.json'
domain-locker-1 | }
System
===================================
APP INFO
Version: 0.1.2
Env Type: selfHosted
Database: Postgres
App ID: domain-locker
Platform ID browser
===================================
HOST INFO
Protocol: https:
Host: domain-locker.domain.local
Origin: https://domain-locker.domain.local
===================================
BROWSER INFO
Language: fr (plus fr, fr-FR, en-US, en)
DNT: 1
Cookies: Enabled
JavaScript: Enabled
UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0
UA Data: Netscape V5.0 (X11) on Linux x86_64. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0
===================================
SYSTEM INFO
Platform: Linux x86_64
Public IP: FetchFailed
Hardware: 2 cores, GB memory
Screen: 1920x1080 (1 dpr)
Online: Yes
Timezone: Europe/Paris
Orientat: landscape-primary
Before submitting
- I have clearly described the issue and included all relevant information
- I have checked the documentation for a solution
- I have confirmed that this issue has not already been reported
- I have redacted any sensitive information from logs or debug data
- I agree to follow the Code of Conduct