Comments (8)
Did you follow the compilation instructions on the readme? In particular, you need to compile the app, otherwise you have nothing to serve for the frontend.
I think you're just a ./app/build.sh
away from happiness.
from lldap.
If that fixes your problem, then I'll have a look at why the files are not in the release tar.
from lldap.
Did you follow the compilation instructions on the readme? In particular, you need to compile the app, otherwise you have nothing to serve for the frontend. I think you're just a
./app/build.sh
away from happiness.
I did that for the build for aarch64. But doing it again I found that I did not saw an error:
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
Finished release [optimized] target(s) in 1.31s
[WARN]: :-) origin crate has no README
[INFO]: Installing wasm-bindgen...
Error: no prebuilt wasm-opt binaries are available for this platform: Unrecognized target!
To disable `wasm-opt`, add `wasm-opt = false` to your package metadata in your `Cargo.toml`.
./main.js → ./pkg/bundle.js...
created ./pkg/bundle.js in 948ms
Maybe related to rustwasm/wasm-pack#1102
cargo install wasm-pack
Updating crates.io index
Ignored package `wasm-pack v0.10.2` is already installed, use --force to override
from lldap.
I re-installed wasm-pack with
cargo install wasm-pack --git https://github.com/Nasafato/wasm-pack --rev 3122e7760051904394da3f6f79903b3036403377
But got another error:
./app/build.sh <main>
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
Finished release [optimized] target(s) in 0.83s
[WARN]: :-) origin crate has no README
[INFO]: Installing wasm-bindgen...
Tool: wasm-bindgen, Version: "0.2.76"
Tool: wasm-opt, Version: "version_78"
[INFO]: Optimizing wasm binaries with `wasm-opt`...
Error: Exec format error (os error 8)
To disable `wasm-opt`, add `wasm-opt = false` to your package metadata in your `Cargo.toml`.
./main.js → ./pkg/bundle.js...
from lldap.
Just tried the x86_64 release and got the same error (on distrib kde neon).
from lldap.
ok never mind, I'm don't know how to read, the folder app wasn't next to the binary.
You can then get the compiled server binary in target/armv7-unknown-linux-musleabihf/release/lldap and the various needed files (index.html, main.js, pkg folder) in the app folder. Copy them to the Raspberry Pi (or other target), with the folder structure maintained (app files in an app folder next to the binary).
from lldap.
I'm glad you got it working! Any idea on how to improve the docs to make it clearer for the next person?
from lldap.
I'm glad you got it working! Any idea on how to improve the docs to make it clearer for the next person?
I think I did not saw those instructions the first time because they are in the "cross compilation" section and not in the "from source". Because what I did wasn't a cross compilation.
from lldap.
Related Issues (20)
- [BUG] LLDAP stuck in restart loop with UNIQUE constraint failures on fresh sqlite install - lldap exited code 132 HOT 18
- Need Help. Invalid Login for Web Interface HOT 6
- [BUG] LDAP: Filtering custom attributes by value doesn't work HOT 2
- [FEATURE REQUEST] Documentation needs some clarification HOT 2
- [BUG] No documentation on SSL HOT 2
- [FEATURE REQUEST] Add entrydn as an attribute for groups to permit Duo directory synchronisation HOT 10
- [FEATURE REQUEST] Password Expiration Policy HOT 10
- [INTEGRATION] Grafana Integration HOT 4
- Is there a separate user password recovery service? HOT 1
- Question: Authelia Config: How to get user groups HOT 15
- Plea for a new release HOT 11
- [BUG] WebUI Case Sensitivity HOT 18
- [BUG] LLDAP_ADMIN_USERNAME should bootstrap admin username HOT 2
- [CLEANUP] Polish attribute creation form controls
- [CLEANUP] Use new form components across all components
- [FEATURE REQUEST] Add support for https HOT 3
- Attributes are not sorted, users are not sorted, or previous user didn't consume all the attributes HOT 20
- [BUG] First name and Last name are empty HOT 1
- [CLEANUP] Create component for confirmation dialogs
- [BUG] Regular users can view group attributes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lldap.