mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-31 00:48:39 +02:00
[Bug]: No start after update from 2.3.1 to 2.3.2 of audiobookshelf with linux directly (without docker or simmilar) #1259
Closed
opened 2026-04-24 23:37:40 +02:00 by adam
·
12 comments
No Branch/Tag Specified
master
auth_sessions_enhancements
account_sessions_table
logout_all_devices
pw_change_invalidates_sessions
book_tags_genres_dedupe
episode_download_fallback
Issue-4540-SortBy-StartedDate-and-FinishedDate
episode_meta_tagging
fix_authorize_race_condition
redirect_transcode_requests
progress_updated_sort
fix_ereader_socket_event
fix_change_empty_root_password
fix_podcast_session_track_index
fix_set_token
session_modal_user
localize_durations
fix_oidc_create_user
jwt_auth_refactor
fix_scanner_deleting_single_file_books
fix_mediaprogress_updatedat_2
experimental_next_client
podcast_episode_duration
episode-timestamps-clickable
book_author_secondary_sort_title
podcast_useragents
pathexists_user_access
fix_pathexists_join
book_author_secondary_sort
clean_duplicate_mediaprogress
sanitize_html_description
trix_prevent_attachments
check_path_api_fix
fix_mediaprogress_updatedat
increase_express_json_limit
fix_dockerfile_nunicode
search_episodes
audiobook_tools_update
episode_secondary_sorts
hls_stream_url_update
new_session_track_endpoint
audiobook_tools_enhancements
watcher_rescans_update
player_track_tooltip
fix_exclude_prefixes_crash
socket_item_events
fix_podcast_episode_scanner_promise
new_stats_controller
count_cache_for_userpermissions
parsing-opf-v3
validate_migration_files
fix-quick-match-all-crash
fix-chapter-end-sleep-timer
stringify_sequelize_query
remove-col-ambiguity
fix_next_prev_edit_description
details_trim_whitespace
fix_content_url_basepath
fix_logger_fatal
progress_bar_visibility
batch-edit-populate-map-details
feed_generator_updates
bookmark-modal-updates
migrate-library-item-in-scanner
migrate-new-library-items
migrate-podcasts-new-library-item-2
migrate-podcasts-new-library-item
fix-remove-episode-from-playlist
playback-session-use-new-library-item
refactor-library-item
fix-heatmap-caption
feed-episodes-upsert
share-media-player-media-session-api
remove-old-playlist
remove_old_collection_object
plugin-implementation-demo
feed_migration
refactor-feeds-from-item
fix_remove_authors_no_books
v2.17.3-fk-constraints-migration
migrations-first-upgrade
sqlite_2
feature/nuxt-target-server
waveform
sqlite
playlists
video
v2.36.0
v2.35.1
v2.35.0
v2.34.0
v2.33.2
v2.33.1
v2.33.0
v2.32.1
v2.32.0
v2.31.0
v2.30.0
v2.29.0
v2.28.0
v2.27.0
v2.26.3
v2.26.2
v2.26.1
v2.26.0
v2.25.1
v2.25.0
v2.24.0
v2.23.0
v2.22.0
v2.21.0
v2.20.0
v2.19.5
v2.19.4
v2.19.3
v2.19.2
v2.19.1
v2.19.0
v2.18.1
v2.18.0
v2.17.7
v2.17.6
v2.17.5
v2.17.4
v2.17.3
v2.17.2
v2.17.1
v2.17.0
v2.16.2
v2.16.1
v2.16.0
v2.15.1
v2.15.0
v2.14.0
v2.13.4
v2.13.3
v2.13.2
v2.13.1
v2.13.0
v2.12.3
v2.12.2
v2.12.1
v2.12.0
v2.11.0
v2.10.1
v2.10.0
v2.9.0
v2.8.1
v2.8.0
v2.7.2
v2.7.1
v2.7.0
v2.6.0
v2.5.0
v2.4.4
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.5
v2.3.4
v2.3.3
v2.3.2
v2.3.1
v2.3.0
v2.2.23
v2.2.22
v2.2.21
v2.2.20
v2.2.19
v2.2.18
v2.2.17
v2.2.16
v2.2.15
v2.2.14
v2.2.13
v2.2.12
v2.2.11
v2.2.10
v2.2.9
v2.2.8
v2.2.7
v2.2.6
v2.2.5
v2.2.4
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.5
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.24
v2.0.23
v2.0.22
v2.0.21
v2.0.20
v2.0.19
v2.0.18
v2.0.17
v2.0.16
v2.0.15
v2.0.14
v2.0.13
v2.0.12
v2.0.11
v2.0.10
v2.0.9
v2.0.8
v2.0.7
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v1.7.2
v1.7.1
v1.7.0
v1.6.0
v1.5.5
v1.5.0
v1.4.11
v1.4.9
v1.4.7
v1.4.6
v1.4.4
v1.4.2
v1.4.0
v1.4.1
v1.3.4
v1.3.3
v1.3.1
v1.2.8
v1.2.6
v1.2.5
v1.2.4
v1.2.1
v1.1.15
v1.1.14
v1.1.13
v1.1.12
v1.1.11
v1.1.10
v1.1.9
v1.1.8
v1.0.0
0.9.61-beta.0
0.9.61-beta
Labels
Clear labels
authentication
backlog
bug
chapter editor
config-issue
ebooks
encoding/embedding
enhancement
help wanted
listening sessions & progress
planned
possible plugin
progress sync
pull-request
sorting/filtering/searching
unable to reproduce
upload
users & permissions
waiting
Mirrored from GitHub Pull Request
No labels
bug
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
adam (Adam Melkus)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/audiobookshelf#1259
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Hallo951 on GitHub (Jul 18, 2023).
Describe the issue
Hi,
oh man, my problems don't stop after the update from 2.2.23 with abs. I use abs with linux ubuntu without docker. In the version 2.2.23 abs ran with me without problems. I updated abs first from version 2.2.23 to version 2.3.0 with the known problem that my database was not migrated. An update to version 2.3.1 unfortunately did not bring my data back, because the file olddb.zip was missing under linux ubuntu for whatever reason. But in the version 2.3.1 it ran then first again, after I have read all my data again.
Just now I have updated from version 2.3.1 to version 2.3.2. Now abs does not work at all, or is in an infinite loop when starting. My little mini computer is now always running at high speed because it tries to start abs all the time but it doesn't work. I have now turned off the computer from abs. The abs update went through without any problems. I have attached the linux log file to identify the error.
How do I get abs to run again without losing all my data? @advplyr can you help me?
Logfiles:
syslog.log
apport.log
Steps to reproduce the issue
Audiobookshelf version
2.3.2
How are you running audiobookshelf?
Debian/PPA
@kaiminator commented on GitHub (Jul 18, 2023):
got the same with docker/docker-compose
Attaching to Audiobookshelf\ Audiobookshelf | \ Audiobookshelf | <--- Last few GCs ---> Audiobookshelf | Audiobookshelf | Audiobookshelf | <--- JS stacktrace ---> Audiobookshelf | Audiobookshelf | Audiobookshelf | # Audiobookshelf | # Fatal javascript OOM in GC during deserialization Audiobookshelf | # Audiobookshelf | Audiobookshelf exited with code 133@Maxklos commented on GitHub (Jul 18, 2023):
I got the Error:
[Error: SQLITE_CONSTRAINT: FOREIGN KEY constraint failed]but i think it is a similar ProblemIn the Changenotes is a hint for the solution -> v2.3.2
I renamed my
config/absdatabase.sqlitefile toabsdatabase.sqlite.oldand restarted the Docker Container.Now my ABD Server is running again.
@kaiminator commented on GitHub (Jul 18, 2023):
tried it before - does not work for me
Attaching to Audiobookshelf
Audiobookshelf |
Audiobookshelf | <--- Last few GCs --->
Audiobookshelf |
Audiobookshelf |
Audiobookshelf | <--- JS stacktrace --->
Audiobookshelf |
Audiobookshelf |
Audiobookshelf | #
Audiobookshelf | # Fatal javascript OOM in GC during deserialization
Audiobookshelf | #
Audiobookshelf |
Audiobookshelf exited with code 133
@Hallo951 commented on GitHub (Jul 18, 2023):
Unfortunately, that didn't work for me either. The error remains the same... @advplyr do you have another idea?
@derkington commented on GitHub (Jul 18, 2023):
Same problem for me on Linux (not a container). My logs show the same as what has been reported in the syslog file attached by Hallo951. I have stopped the audiobookshelf service for now.
@CoryM commented on GitHub (Jul 19, 2023):
In 2.3.2 added NODE_OPTIONS=--max-old-space-size=8096 to the Dockerfile. this causes node to grab 8 gigs of ram and then release it on startup.
Add this to your docker-compose.yaml file
If your using "docker run" then add bellow to work around the issue.
-e "NODE_OPTIONS=--max-old-space-size=1024"-- EDIT --
I run mine on a 2G Raspberry Pi 4 and could not run it, had to find out why.
@cdmatter commented on GitHub (Jul 19, 2023):
I was getting the same errors as @kaiminator with my docker instance of audiobookshelf. Applying the environment edit to my docker compose file as suggested by @CoryM fixed my issue and now my audiobookshlef container is running again! I am running Armbian with OMV6 installed (using the openmediavault-compose plugin for docker) on an ODROID HC2 (similar to an XU4). Thanks!
@Hallo951 commented on GitHub (Jul 19, 2023):
Hmm, nice if this works under Docker but how do I solve the problem directly under Linux Ubuntu?
@kaiminator commented on GitHub (Jul 19, 2023):
Can confirm this works under raspbian/arm/pi 4
@Hallo951 commented on GitHub (Jul 19, 2023):
I don't know if it helps but here I found a post about setting a node option on Linux. I'm not a computer expert on Linux directley, so I can't do much with it, but maybe the link helps to solve the problem.
Link: https://stackoverflow.com/questions/56982005/where-do-i-set-node-options-max-old-space-size-2048
Edit: Can it be that one can enter here in the line ExecStart that somehow?
Edit2: Or alternatively directly in the Environmental File? Can you just write the command -e "NODE_OPTIONS=--max-old-space-size=1024" in there and it works?
@Hallo951 commented on GitHub (Jul 19, 2023):
Ha, I solved it. Adudiobookshelf (Abs) is now running again under Linux directly (without docker or ....). Jeppi :)
My procedure and solution was as follows:
For a better overview here is a screenshot of my environment file:

With this I was able to fix the error. And the great thing is, I don't know how he did it, but my complete progress is back too. Great!!!
@advplyr For future versions, could you make it so that this NODE_OPTIONS is automatically set in the environment file?
@advplyr commented on GitHub (Nov 10, 2023):
We don't want to require users to have 8GB of available space in order to install Abs