Jump to content

LordSith77

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by LordSith77

  1. I have a new error now: (have updated to 2.0.2)

    When trying to scan for new books I just added, I keep getting this error. What am I missing here?

    2022-04-24 21:32:13
    
    ERROR
    
    [FfmpegHelpers] Extract Cover Error Error: ffmpeg exited with code 1: av_interleaved_write_frame(): Input/output error frame= 1 fps=0.0 q=6.9 size=N/A time=00:00:00.00 bitrate=N/A speed= 11x frame= 1 fps=0.0 q=6.9 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=0.00149x video:30kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Conversion failed!

    I did verify that I have ffmpeg installed. Any time I try to scan for new books, I get socket timed out, and/or the scanning just goes away with nothing being done.

  2. 8 minutes ago, advplyr said:

     

    This is still a permission issue on your end. Abs doesn't have permission to read stats on the files/folders in your audiobooks directory.

    I changed the permissions on the audiobookshelf folder to 777 recursive and that seemed to do the trick. Now the books are loading up. 

    Hopefully this will be the last problem I come across. LOL 
    Again, thanks for your help. 

    • Like 1
  3. 1 hour ago, LordSith77 said:

    So I put it back to the /usr/share/audiobookshelf/audiobooks and now it's working again. So it was just my own stupidity. LOL

     

    Thank you for your help, and a wonderful script. 

    Still getting permission errors, and no books showing up.

    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/T'
    
    2022-04-22 22:12:36
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/V'
    
    2022-04-22 22:12:36
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/W'
    
    2022-04-22 22:12:36
    
    ERROR
    
    Root path has no media folders 0
    
    2022-04-22 22:12:36
    
    INFO
    
    [Scanner] Library scan lscan_pgnxmpre7n8uwk1lq1 completed in 0:00.0 | 0 Added | 0 Updated | 0 Missing
    
    2022-04-22 22:12:36
    
    INFO
    
    [LibraryController] Scan complete
    
    2022-04-22 22:12:38
    
    INFO
    
    [Scanner] Starting library scan lscan_xf4ill9vy9rjfbsvjg for Main
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/A'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/B'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/C'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/D'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/E'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/F'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/G'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/I'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/J'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/K'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/L'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/M'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/N'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/O'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/P'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/R'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/S'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/T'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/V'
    
    2022-04-22 22:12:38
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/W'
    
    2022-04-22 22:12:38
    
    ERROR
    
    Root path has no media folders 0
    
    2022-04-22 22:12:38
    
    INFO
    
    [Scanner] Library scan lscan_xf4ill9vy9rjfbsvjg completed in 0:00.0 | 0 Added | 0 Updated | 0 Missing
    
    2022-04-22 22:12:38
    
    INFO
    
    [LibraryController] Scan complete
    
    2022-04-22 22:12:45
    
    INFO
    
    [Scanner] Starting library scan lscan_3zkqb8xbcyuzqoevq1 for Main
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/A'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/B'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/C'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/D'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/E'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/F'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/G'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/I'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/J'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/K'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/L'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/M'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/N'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/O'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/P'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/R'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/S'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/T'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/V'
    
    2022-04-22 22:12:45
    
    ERROR
    
    [fileUtils] Recurse files file "undefined" has error Error: EACCES: permission denied, stat '/usr/share/audiobookshelf/audiobooks/W'
    
    2022-04-22 22:12:45
    
    ERROR
    
    Root path has no media folders 0
    
    2022-04-22 22:12:45
    
    INFO
    
    [Scanner] Library scan lscan_3zkqb8xbcyuzqoevq1 completed in 0:00.0 | 0 Added | 0 Updated | 0 Missing
    
    2022-04-22 22:12:45
    
    INFO
    
    [LibraryController] Scan complete

     

  4. 3 minutes ago, advplyr said:

     

    Can you `journalctl -u audiobookshelf`

    Apr 22 13:35:22 pppwh systemd[1]: audiobookshelf.service: Main process exited, code=exited, status=7/NOTRUNNING
    Apr 22 13:35:22 pppwh systemd[1]: audiobookshelf.service: Failed with result 'exit-code'.
    Apr 22 13:35:22 pppwh systemd[1]: audiobookshelf.service: Scheduled restart job, restart counter is at 3.
    Apr 22 13:35:22 pppwh systemd[1]: Stopped Self-hosted audiobook server for managing and playing audiobooks.
    Apr 22 13:35:22 pppwh systemd[1]: Started Self-hosted audiobook server for managing and playing audiobooks.
    Apr 22 13:35:23 pppwh audiobookshelf[12619]: production Config /usr/share/audiobookshelf/config /usr/share/audiobookshelf/metadata /home/jim/Documents/Audiobooks
    Apr 22 13:35:23 pppwh audiobookshelf[12619]: fs.js:921
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:   handleErrorFromBinding(ctx);
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:   ^
    Apr 22 13:35:23 pppwh audiobookshelf[12619]: Error: EACCES: permission denied, mkdir '/home/jim/Documents/Audiobooks'
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:     at Object.mkdirSync (fs.js:921:3)
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:     at Object.mkdirSync (pkg/prelude/bootstrap.js:1599:33)
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:     at Object.<anonymous> (/snapshot/audiobookshelf/node_modules/fs-extra/lib/mkdirs/make-dir.js:23:13)
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:     at new Server (/snapshot/audiobookshelf/server/Server.js)
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:     at Object.<anonymous> (/snapshot/audiobookshelf/prod.js)
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:     at Module._compile (pkg/prelude/bootstrap.js:1887:22)
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:     at Module.load (internal/modules/cjs/loader.js:863:32)
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:     at Function.runMain (pkg/prelude/bootstrap.js:1940:12) {
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:   errno: -13,
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:   syscall: 'mkdir',
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:   code: 'EACCES',
    Apr 22 13:35:23 pppwh audiobookshelf[12619]:   path: '/home/jim/Documents/Audiobooks'
    Apr 22 13:35:23 pppwh audiobookshelf[12619]: }
    Apr 22 13:35:23 pppwh systemd[1]: audiobookshelf.service: Main process exited, code=exited, status=7/NOTRUNNING
    Apr 22 13:35:23 pppwh systemd[1]: audiobookshelf.service: Failed with result 'exit-code'.
    Apr 22 13:35:23 pppwh systemd[1]: audiobookshelf.service: Scheduled restart job, restart counter is at 4.
    Apr 22 13:35:23 pppwh systemd[1]: Stopped Self-hosted audiobook server for managing and playing audiobooks.
    Apr 22 13:35:23 pppwh systemd[1]: Started Self-hosted audiobook server for managing and playing audiobooks.
    Apr 22 13:35:23 pppwh audiobookshelf[12647]: production Config /usr/share/audiobookshelf/config /usr/share/audiobookshelf/metadata /home/jim/Documents/Audiobooks
    Apr 22 13:35:23 pppwh audiobookshelf[12647]: fs.js:921
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:   handleErrorFromBinding(ctx);
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:   ^
    Apr 22 13:35:23 pppwh audiobookshelf[12647]: Error: EACCES: permission denied, mkdir '/home/jim/Documents/Audiobooks'
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:     at Object.mkdirSync (fs.js:921:3)
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:     at Object.mkdirSync (pkg/prelude/bootstrap.js:1599:33)
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:     at Object.<anonymous> (/snapshot/audiobookshelf/node_modules/fs-extra/lib/mkdirs/make-dir.js:23:13)
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:     at new Server (/snapshot/audiobookshelf/server/Server.js)
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:     at Object.<anonymous> (/snapshot/audiobookshelf/prod.js)
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:     at Module._compile (pkg/prelude/bootstrap.js:1887:22)
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:     at Module.load (internal/modules/cjs/loader.js:863:32)
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:     at Function.runMain (pkg/prelude/bootstrap.js:1940:12) {
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:   errno: -13,
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:   syscall: 'mkdir',
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:   code: 'EACCES',
    Apr 22 13:35:23 pppwh audiobookshelf[12647]:   path: '/home/jim/Documents/Audiobooks'
    Apr 22 13:35:23 pppwh audiobookshelf[12647]: }
    Apr 22 13:35:23 pppwh systemd[1]: audiobookshelf.service: Main process exited, code=exited, status=7/NOTRUNNING
    Apr 22 13:35:23 pppwh systemd[1]: audiobookshelf.service: Failed with result 'exit-code'.
    Apr 22 13:35:24 pppwh systemd[1]: audiobookshelf.service: Scheduled restart job, restart counter is at 5.
    Apr 22 13:35:24 pppwh systemd[1]: Stopped Self-hosted audiobook server for managing and playing audiobooks.
    Apr 22 13:35:24 pppwh systemd[1]: audiobookshelf.service: Start request repeated too quickly.
    Apr 22 13:35:24 pppwh systemd[1]: audiobookshelf.service: Failed with result 'exit-code'.
    Apr 22 13:35:24 pppwh systemd[1]: Failed to start Self-hosted audiobook server for managing and playing audiobooks.

    It looks like a permission error, but I'm not understanding why. I did edit the config, to point to /home/jim/Documents/Audiobooks but that's it. I left everything else the same.

  5. 24 minutes ago, advplyr said:

     

    I pushed version 2.0.1 recently, are you using that debian package?

    wget https://advplyr.github.io/audiobookshelf-ppa/audiobookshelf_2.0.1_amd64.deb
    sudo apt install ./audiobookshelf_2.0.1_amd64.deb

    Is how I installed it on my server. But the systemctl audiobookshelf.service is still failing for some reason. It was up and running, until I rebooted the system.

     

    Here's the output from the status:

    audiobookshelf.service - Self-hosted audiobook server for managing and playing audiobooks
         Loaded: loaded (/lib/systemd/system/audiobookshelf.service; enabled; vendor preset: enabled)
         Active: failed (Result: exit-code) since Fri 2022-04-22 13:35:24 CDT; 1h 47min ago
        Process: 12647 ExecStart=/usr/share/audiobookshelf/audiobookshelf (code=exited, status=7)
       Main PID: 12647 (code=exited, status=7)
    
    Apr 22 13:35:24 pppwh systemd[1]: audiobookshelf.service: Scheduled restart job, restart counter is at 5.
    Apr 22 13:35:24 pppwh systemd[1]: Stopped Self-hosted audiobook server for managing and playing audiobooks.
    Apr 22 13:35:24 pppwh systemd[1]: audiobookshelf.service: Start request repeated too quickly.
    Apr 22 13:35:24 pppwh systemd[1]: audiobookshelf.service: Failed with result 'exit-code'.
    Apr 22 13:35:24 pppwh systemd[1]: Failed to start Self-hosted audiobook server for managing and playing audiobooks.

     

  6. 46 minutes ago, LordSith77 said:

    I've installed this on my Ubuntu 20 server, and everything was going great. I had to restart the server, and now when I try to go to the page, it says the site can't be reached.  Does it need to be loaded at startup? If so, how? What's the command line to start the service? 

     

    Awesome job! I love it (well, when I had it working. LOL)

    I found the systemctl service, and it's reporting that it failed to start, with exit code 7. I uninstalled it completely and reinstalled it, not doing anything else and it's still fails to start. Any ideas?

  7. I've installed this on my Ubuntu 20 server, and everything was going great. I had to restart the server, and now when I try to go to the page, it says the site can't be reached.  Does it need to be loaded at startup? If so, how? What's the command line to start the service? 

     

    Awesome job! I love it (well, when I had it working. LOL)

×
×
  • Create New...