Package Details: audiobookshelf v2.17.3-1

Git Clone URL: https://aur.archlinux.org/audiobookshelf.git (read-only, click to copy)
Package Base: audiobookshelf
Description: Self-hosted audiobook server for managing and playing audiobooks
Upstream URL: https://github.com/advplyr/audiobookshelf
Licenses: GPL-3.0-only
Submitter: ruahcra
Maintainer: ruahcra (wnndgws)
Last Packager: ruahcra
Votes: 5
Popularity: 0.38
First Submitted: 2024-02-24 08:28 (UTC)
Last Updated: 2024-12-07 06:41 (UTC)

Latest Comments

1 2 Next › Last »

ruahcra commented on 2024-09-03 13:36 (UTC)

FYI I find that when running with the supplied systemd unit, it fails with the below error unless I create /usr/share/audiobookshelf and chown it to the audiobookshelf user. I haven't been able to figure out if it is a packaging bug or upstream bug. Help would be appreciated.

Sep 03 22:32:22 audiobookshelf systemd[1]: Started Self-hosted audiobook server for managing and playing audiobooks.
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]: pkg/prelude/bootstrap.js:1872
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:       throw error;
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:       ^
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]: Error: EACCES: permission denied, mkdir '/usr/share/audiobookshelf'
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:     at Object.mkdirSync (node:fs:1380:26)
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:     at Object.mkdirSync (pkg/prelude/bootstrap.js:1639:33)
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:     at createDirRecursively (pkg/prelude/bootstrap.js:256:8)
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:     at createDirRecursively (pkg/prelude/bootstrap.js:255:5)
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:     at createDirRecursively (pkg/prelude/bootstrap.js:255:5)
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:     at createDirRecursively (pkg/prelude/bootstrap.js:255:5)
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:     at process.dlopen (pkg/prelude/bootstrap.js:2217:7)
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:     at Module._extensions..node (node:internal/modules/cjs/loader:1473:18)
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:     at Module.load (node:internal/modules/cjs/loader:1207:32)
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:     at Module._load (node:internal/modules/cjs/loader:1023:12) {
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:   errno: -13,
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:   code: 'EACCES',
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:   syscall: 'mkdir',
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]:   path: '/usr/share/audiobookshelf'
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]: }
Sep 03 22:32:23 audiobookshelf audiobookshelf[74432]: Node.js v20.11.1
Sep 03 22:32:23 audiobookshelf systemd[1]: audiobookshelf.service: Main process exited, code=exited, status=1/FAILURE

EnragedN3wb commented on 2024-07-20 11:18 (UTC) (edited on 2024-07-20 11:19 (UTC) by EnragedN3wb)

Good call C0rn3j, after another system update all is working now. :)

C0rn3j commented on 2024-07-20 08:14 (UTC) (edited on 2024-07-20 08:14 (UTC) by C0rn3j)

Builds fine here both on my server and in a clean chroot, maybe it was a transient issue of npm?

@ruahcra could you please swap md5 for something more modern? sha256 is fine

EnragedN3wb commented on 2024-07-20 06:31 (UTC)

Ah ok, thanks for confirmation it's not just me! Can be hard to tell sometimes when your new. :P

ruahcra commented on 2024-07-20 01:35 (UTC)

It's broken for me as well. Haven't been able to figure it out yet otherwise would push a fix.

EnragedN3wb commented on 2024-07-20 00:17 (UTC) (edited on 2024-07-20 00:19 (UTC) by EnragedN3wb)

So I'm rather new to Linux, but every problem I've had so far I've been able to solve except installing this. It goes fine up until it hits

"npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs"

which seems normal from other people's installs, but then it just seems to sit there forever. If I could get an error or see what exactly it was doing maybe I could figure it out, but unlike most things so far this just gives me a spinning indicator in the terminal so I have no idea what to do & would really appreciate if someone could nudge me in the right direction if they have encountered this before!

I'm using CachyOS with KDE plasma if that helps.

C0rn3j commented on 2024-04-27 17:55 (UTC)

Thanks for maintaining this!
I suggest you try namcap on both the PKGBUILD and the built package, it will catch things like the non-SPDX license or using md5 instead of sha256 sums.

techbolt commented on 2024-04-27 17:26 (UTC) (edited on 2024-04-27 17:28 (UTC) by techbolt)

hmmm I just checked /etc/makepkg.conf on my installation of Manjaro and I can see it shows:

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#-- lto:        Add compile flags for building with link time optimization
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)

so am I correct in interpreting that Manjaro suppresses it by default... if yes, that perhaps does explain why it built on mine without any issue.

ruahcra commented on 2024-04-26 22:49 (UTC)

Maybe you haven't updated your /etc/makepkg.conf (check if there is a /etc/makepkg.conf.pacnew file) so your config is still set to !debug (or you have it set to !debug in $XDG_CONFIG_HOME/pacman/makepkg.conf or ~/.makepkg.conf) ?

techbolt commented on 2024-04-26 19:42 (UTC) (edited on 2024-04-26 19:43 (UTC) by techbolt)

I think with the comment below you have got to the bottom of it anyway, but just for the sake of completeness:

What is the size of /usr/bin/audioshelf for you?

It is 91.1MB

What I don't get is how come it worked for me then if that upstream bug causes the issue and you had to apply the interim fix. :/