Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect instructions for installing from scratch #3045

Closed
2 of 4 tasks
ctsrc opened this issue Jun 12, 2023 · 2 comments
Closed
2 of 4 tasks

Incorrect instructions for installing from scratch #3045

ctsrc opened this issue Jun 12, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ctsrc
Copy link

ctsrc commented Jun 12, 2023

  • Did you check to see if this issue already exists?
  • Is this only a single bug? Do not put multiple bugs in one issue.
  • Is this a question or discussion? Don't use this, use https://lemmy.ml/c/lemmy_support .
  • Is this a UI / front end issue? Use the lemmy-ui repo.

Issue Summary

Documentation https://join-lemmy.org/docs/en/administration/from_scratch.html has the following step

cargo install lemmy_server --target-dir /usr/bin/ --locked --features embed-pictrs

This does not put lemmy_server in /usr/bin/. What it does do is to put all of the build artifacts in /usr/bin which is not desired. And it still puts the final binary in $HOME/.cargo/bin/

Steps to Reproduce

Follow the steps in https://join-lemmy.org/docs/en/administration/from_scratch.html

Technical details

  • Please post your log: sudo docker-compose logs > lemmy_log.out.
  • What OS are you trying to install lemmy on?
  • Any browser console errors?
@ctsrc ctsrc added the bug Something isn't working label Jun 12, 2023
@ctsrc
Copy link
Author

ctsrc commented Jun 12, 2023

Solution is to change the step into

cargo install lemmy_server --root /usr/ --locked --features embed-pictrs

https://stackoverflow.com/questions/43109558/how-do-i-change-where-cargo-install-places-binaries

@ctsrc
Copy link
Author

ctsrc commented Jun 12, 2023

Duplicate of LemmyNet/lemmy-docs#212

@ctsrc ctsrc closed this as completed Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant