LibremDB fails to install

What app is this about, and its version: LibremDB
What YunoHost version are you running: 12.1.39
What type of hardware are you using: VPS bought online

Describe your issue

Debian 12.

Something similar to Discourse installation fail I have been getting this error for more than a month now and did not get time to raise it earlier.
This was discussed on the XMPP chat, and they suggested I give the logs for npm/pnpm one as well.

FYI, the bin folder does contain pnpm as well, and I tried renaming and rerun the installation for libremdb, but it kept failing with the same error.

Earlier it had installed fine on a different server.

Share relevant logs or error messages

Install failure error: Bin Bytes

NPM/PNPM error from the path as mentioned in the above logs: Bin Bytes

Hi @mobi0001
This is a workaround till app package will be fixed.
First install libremdb via cli with --no-remove-on-failure (it will fail but the app partial installation wont’ be removed)

yunohost app install libremdb --no-remove-on-failure

Then open libremdb shell

yunohost app shell libremdb

and run -step by step-

pnpm install
NODE_ENV=production pnpm build
exit

Finally

systemctl start libremdb

Let us know if it worked.

1 Like

Thanks :slight_smile:

Let me try. How do I select the URL/Domain I need to install on?

Edit: I think I got it.

-a ARGS, --args ARGS Serialized arguments for app script (i.e. “domain=domain.tld&path=/path&init_main_permission=visitors”)

you will be shown the possibilities (existing domains). There is a wizard.

1 Like

Perfect, worked like a charm.

Terminal logs just in case: https://pb.fbin.in/?d775bf868e69fd76#AzWYRDvWXe1BuBMfeQixknJyEev7vdtXzk1BGWeeiC84

I did not have to go through that, as it is best to give initially itself, if one can manage. :slight_smile:

Sure.
The thread can be closed :wink:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.