Git Product home page Git Product logo

audiobookshelf_ynh's People

Contributors

alexaubin avatar ericgaspar avatar lukeossevoort avatar navanchauhan avatar oniricorpe avatar thovi98 avatar yalh76 avatar yunohost-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

audiobookshelf_ynh's Issues

When attempting to update, audiobookshelf tries to backup podcast libraries, which I dont have space for

Describe the bug

When I try to update audiobookshelf, it tries to create a backup which includes the hundreds of GB of podcast audio files that I have downloaded, so the backup fails due to lack of disk space.

Context

  • Hardware: Desktop
  • YunoHost version: unknown what the version of yunohost was when this bug occured. current yunohost version is 11.2.5
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • If upgrading, current package version: I do not know what version of audiobookshelf this bug initially appeared in, but the version I have now is 2.5.0~ynh1

Steps to reproduce

yunohost app update audiobookshelf

Expected behavior

Replicate the upgrade / backup functions of nextcloud, IE: Dont try to backup all the media that are downloaded / managed by the app, just backup the configs.

Logs

I dont see logs related to the attempted upgrade /backup in /yunohost/admin/#/tools/logs. I attempted this yesterday and in the interim the logs must have gotten purged or something. (signing up for github on tor browser is a huge pain in the butt, but today it worked).

The error in questions was along the lines of:

attempting to create a backup of audiobookshelf failed, 500gb of space needed, not enough space on disk

Cannot Install on a Pi 4 (4GB)

Describe the bug

Unable to install on a Raspberry Pi 4 (4GB) with 1GB of SWAP

Context

Info: WARNING - ./install: line 164: 12190 Killed                  /opt/node_n/n/versions/node/16/bin/npm ci

I am assuming this is a memory issue as I am able to install this on a Pi 4 (8GB) with 100M of SWAP. Needs more investigation, but I am leaving this issue open for now

Test Apps with Server

Need to test Android and iOS apps with the server and make sure everything is working

Unable to upload any of my audiobooks

Hardware: Thinkpad Laptop – Intel i5 – 4GB RAM
YunoHost version: Latest ISO – fresh install
I have access to my server : SSH & Web Admin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance? : No
If yes, please explain:

Description of my issue:
Hi all, I can't upload any of my audiobooks. I get the following error:

<title>413 Request Entity Too Large</title><script type="text/javascript" src="/ynh_portal.js"></script><script type="text/javascript" src="/ynhtheme/custom_portal.js"></script>

413 Request Entity Too Large


nginx

Any idea how I can fix it?

audiobookshelf broken after upgrade

Describe the bug

App service crashes immediatly after I try to start it. I cant restore from backup because of #95

Context

  • Hardware: Desktop
  • YunoHost version: 11.2.5
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • If upgrading, current package version: 2.5.0~ynh1

Steps to reproduce

yunohost app update audiobookshelf --no-safety-backup

yunohost service restart audiobookshelf

Expected behavior

Start the software.

Logs

I have to read through logs line by line to redact potentially de-anonimizing info so lmk if need more details

[20xx-xx-xx xx:xx:x6] INFO: === Starting Server ===
[20xx-xx-xx xx:xx:x6] INFO: [Server] Init v2.5.0
[20xx-xx-xx xx:xx:x6] INFO: [Database] Initializing db at "/home/yunohost.app/audiobookshelf/config/absdatabase.sqlite"
[20xx-xx-xx xx:xx:x6] INFO: [Database] Db connection was successful
[20xx-xx-xx xx:xx:x6] INFO: [Database] Db initialized with models: user, library, libraryFolder, book, podcast, podcastEpisode, libraryItem, mediaProgress, series, bookSeries, author, bookAuthor, collection, collectionBook, playlist, playlistMediaItem, device, playbackSession, feed, feedEpisode, setting
[20xx-xx-xx xx:xx:x6] WARN: [ServerSettings] Invalid metadataFileFormat abs (as of v2.4.5 only json is supported) (ServerSettings.js:114)
[20xx-xx-xx xx:xx:x6] INFO: [dbMigration] Migration patch 2.3.0+ - extraData columns already on model
[20xx-xx-xx xx:xx:x6] INFO: [dbMigration] Applying migration patch from 2.3.0+
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Loading db data at "/home/yunohost.app/audiobookshelf/config/libraryItems/data"
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Loading db data file "/home/yunohost.app/audiobookshelf/config/libraryItems/data/data.0.json"
[oldDbFiles] Db file "/home/yunohost.app/audiobookshelf/config/libraryItems/data/data.0.json" processed
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Processed db data file with 13 entities
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Loading db data file "/home/yunohost.app/audiobookshelf/config/libraryItems/data/data.1.json"
[oldDbFiles] Db file "/home/yunohost.app/audiobookshelf/config/libraryItems/data/data.1.json" processed
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Processed db data file with 11 entities
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Loading db data file "/home/yunohost.app/audiobookshelf/config/libraryItems/data/data.2.json"
[oldDbFiles] Db file "/home/yunohost.app/audiobookshelf/config/libraryItems/data/data.2.json" processed
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Processed db data file with 16 entities
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Loading db data file "/home/yunohost.app/audiobookshelf/config/libraryItems/data/data.3.json"
[oldDbFiles] Db file "/home/yunohost.app/audiobookshelf/config/libraryItems/data/data.3.json" processed
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Processed db data file with 10 entities
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Loading db data file "/home/yunohost.app/audiobookshelf/config/libraryItems/data/data.4.json"
[oldDbFiles] Db file "/home/yunohost.app/audiobookshelf/config/libraryItems/data/data.4.json" processed
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Processed db data file with 12 entities
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] Finished loading db data with 62 entities
[20xx-xx-xx xx:xx:x7] INFO: [oldDbFiles] 62 libraryItems loaded
node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error
    at Database.<anonymous> (/var/www/audiobookshelf/node_modules/sequelize/lib/dialects/sqlite/query.js:185:27)
    at /var/www/audiobookshelf/node_modules/sequelize/lib/dialects/sqlite/query.js:183:50
    at new Promise (<anonymous>)
    at Query.run (/var/www/audiobookshelf/node_modules/sequelize/lib/dialects/sqlite/query.js:183:12)
    at /var/www/audiobookshelf/node_modules/sequelize/lib/sequelize.js:315:28
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async SQLiteQueryInterface.select (/var/www/audiobookshelf/node_modules/sequelize/lib/dialects/abstract/query-interface.js:407:12)
    at async Function.findAll (/var/www/audiobookshelf/node_modules/sequelize/lib/model.js:1140:21)
    at async Function.getAllOldLibraryItems (/var/www/audiobookshelf/server/models/LibraryItem.js:116:24) {
  name: 'SequelizeDatabaseError',
  parent: [Error: SQLITE_ERROR: no such column: libraryItem.size] {
    errno: 1,
    code: 'SQLITE_ERROR',
    sql: 'SELECT `libraryItem`.`id`, 

"error 413: Request entity too large" when uploading

Describe the bug

I can't upload anything. No matter the file i use, it results by a "error 413: Request entity too large".
Steps to reproduce the issue

Context

  • Hardware: Desktop PC
  • YunoHost version: 4.3.6.3
  • I have access to my server: Full
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
    • If yes, please explain:
  • Using, or trying to install package version/branch: 2.0.23~ynh1

Steps to reproduce

1.Create a library
2.Try to upload a file

Expected behavior

Content uploaded.

Logs

Didn't leave any trace in the logs.

Upload of files is not possible

Describe the bug

Link to forum entry https://forum.yunohost.org/t/audiobookshelf-upload-of-files-is-not-possible/28648/1

I installed the app from the official application "store". I have created a new user and try to upload a simple audiofile into the audiobookshel app.
Unforunately I get an error message called.

<html>

<head><title>413 Request Entity Too Large</title></head>

<body>

<center><h1>413 Request Entity Too Large</h1></center>

<hr><center>nginx</center>

</body>

</html>

Context

  • Hardware: Dedicated AMD ryzon computer with Proxmox. yunohost runs as a VM
  • YunoHost version: 11.2.10.3
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yes
    • If yes, please explain: I mount nfs folders from a NAS
  • Using, or trying to install package version/branch: 2.8.1

Steps to reproduce

  • If the error occurs in your browser, explain what you did:
    1. Go to 'upload'
    2. Click on 'choose file'
    3. Choose file and click upload
    4. See error

Expected behavior

The file uploads and is available in the UI.

What I tried to do

I checked the nginx configuration file and it shows at text /etc/nginx/conf.d/audiobookshelf.<mydomain.tld>.d/audiobookshelf.conf

It says that the upload limit is set to 10G

#sub_path_only rewrite ^/$ / permanent;
location / {

  proxy_pass http://127.0.0.1:8096;
  proxy_redirect    off;
  proxy_set_header  Host $host;
  proxy_set_header  X-Real-IP $remote_addr;
  proxy_set_header  X-Forwarded-Proto $scheme;
  proxy_set_header  X-Forwarded-Port $server_port;
  proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header  X-Forwarded-Host $server_name;
        
  proxy_pass_request_headers on;

  #WebSocket Support
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection $http_connection;

  client_max_body_size 10G;

  # Include SSOWAT user panel.
  include conf.d/yunohost_panel.conf.inc;
}

Logs

Where can I find logs for the application?

When an operation fails, YunoHost provides a simple way to share the logs.

  • In the webadmin, the error message contains a link to the relevant log page. On that page, you will be able to 'Share with Yunopaste'. If you missed it, the logs of previous operations are also available under Tools > Logs.
  • In command line, the command to share the logs is displayed at the end of the operation and looks like yunohost log display [log name] --share. If you missed it, you can find the log ID of a previous operation using yunohost log list.

After sharing the log, please copypaste directly the link provided by YunoHost (to help readability, no need to copypaste the entire content of the log here, just the link is enough...)

If applicable and useful, add screenshots to help explain your problem.

Cannot create library, cannot create user "Verify Token User Not Found"

Describe the bug

After installing the app and logging in as default root user without password I cannot create a new user, I cannot create a library either. I get error messages instead. "Library must have a name" (when creating a library with a name) or "Not found" (when creating a user)

Looking at the logs I find the following:

ERROR: Verify Token User Not Found bG9yZW56Oitib2hlTTE1eQ==

or

ERROR: JWT Verify Token Failed JsonWebTokenError: jwt malformed

Full log: https://paste.yunohost.org/zokajewiyi

Context

  • Hardware: VPS bought online.
  • YunoHost version: 4.3.6.3
  • I have access to my server: Through SSH | through the webadmin.
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.