[PR #3186] [MERGED] Ensure author and items folder is created before restoring backup #3895

Closed
opened 2026-04-25 00:17:28 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/3186
Author: @nichwall
Created: 7/21/2024
Status: Merged
Merged: 7/22/2024
Merged by: @advplyr

Base: masterHead: author_image_restore


📝 Commits (1)

  • ee27151 Ensure author folder is created before extracting files

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 server/managers/BackupManager.js (+2 -0)

📄 Description

Fixes https://github.com/advplyr/audiobookshelf/issues/2904

If the metadata-authors/ folder does not contain a directory in it, the extraction will not create the /metadata/authors folder, causing a server crash and incomplete restore of the backup.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/3186 **Author:** [@nichwall](https://github.com/nichwall) **Created:** 7/21/2024 **Status:** ✅ Merged **Merged:** 7/22/2024 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `author_image_restore` --- ### 📝 Commits (1) - [`ee27151`](https://github.com/advplyr/audiobookshelf/commit/ee271519f9d3fe3e7844a5920e89b125e9e41808) Ensure author folder is created before extracting files ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/managers/BackupManager.js` (+2 -0) </details> ### 📄 Description Fixes https://github.com/advplyr/audiobookshelf/issues/2904 If the `metadata-authors/` folder does not contain a directory in it, the extraction will not create the `/metadata/authors` folder, causing a server crash and incomplete restore of the backup. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:17:28 +02:00
adam closed this issue 2026-04-25 00:17:29 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3895