• cablepick@lemmy.cablepick.net
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I just updated my comment to fix those two errors. This was copy/paste out of my notes txt file from figuring out how to do this.

    A dot after recursive will drop the git files into the current directory. In this case /root/lemmy/
    git clone https://github.com/LemmyNet/lemmy.git --recursive .

    And don’t run that first cargo command that I’ve since removed. Only the second one, now only one. This uses the git cargo files instead of the crates app (install lemmy_server.)
    cargo build --release --target-dir /root/lemmy/ --locked --features embed-pictrs

      • cablepick@lemmy.cablepick.net
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Let me know if it works. I had the same DB migration issues using the install lemmy_server options and found a post, I think on github, about there being an issues with there. I can’t find that post now.