mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #845] No such file or directory (os error 2) #302
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#302
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HikerBoricua on GitHub (Feb 18, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/845
Encountering the same issue in docker as #41, pointing a browser to the server's http port results in the title of this note ( #119 has the same title but is not docker-related). I'm unfamiliar with the logs, here's what I have:
docker run --name lldap_server -p 8002:3890 -p 8003:17170 -v /home/.../lldap_data:/data -v /home/.../lldap_server:/lldap_server lldap_server:next@nitnelave commented on GitHub (Feb 18, 2024):
This usually means that you don't have the app folder next to the binary, with the output of building the frontend. It should contain an index.html, some css, js, and a wasm module (compressed).
@nitnelave commented on GitHub (Feb 18, 2024):
Oh, that might just be the
WORKDIRcommand? I'm not entirely sure right now whether the app folder is searched based on the binary path or the current directory.@HikerBoricua commented on GitHub (Feb 18, 2024):
My guess is that it is relative to WORKDIR since pre-creating WORKDIR/app/[pkg, static, static/fonts] cured several error messages on 1st run. It is curious, though, that those pre-created folders have remained empty across several runs.
@nitnelave commented on GitHub (Feb 18, 2024):
They're not populated by the runtime, they contain the static assets for the frontend. They should be included in the lldap/lldap image.