Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrading Audiobookshelf to the newest version, it removed all my libraries #145

Open
MakaryGo opened this issue Oct 1, 2024 · 3 comments

Comments

@MakaryGo
Copy link

MakaryGo commented Oct 1, 2024

Describe the bug

After upgrading Audiobookshelf to the newest version, it removed all my libraries, I had to restore from backup

Context

  • Hardware: VPS bought online
  • YunoHost version: 12.0.4.1 (testing)
  • 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
  • Using, or trying to install package version/branch: 2.13.4~ynh1
  • If upgrading, current package version: can be found in the admin, or with yunohost app info $app_id
    Previous one, I update everyday if needed

Steps to reproduce

I did upgrade the app through webadmin, tried command line as well, same result.
I upgraded to the lates version, upgrade performed succesfully, but removed all of the content - my two libraries, which files were located at `/var/www/audiobookshelf/.

Expected behavior

I expected to continue to use the app with the stuff I uploaded...

Logs

No error log since the upgrade was succesfull, here's the upgrade log:
Yunopaste

@Thovi98
Copy link
Member

Thovi98 commented Oct 1, 2024

Hmmm, indeed, such data is not supposed to be in the /var/www/audiobookshelf directory, but rather in /home/yunohost.app/audiobookshelf or in an external directory.
Could you move your library to an appropriate place an try again?

Sorry for the trouble.

@MakaryGo
Copy link
Author

MakaryGo commented Oct 1, 2024

Sure, but that seems to be the default directory that was created by the app, do I have to create the folders manually?

@Thovi98
Copy link
Member

Thovi98 commented Oct 1, 2024

Is it? If I remember correctly, at installation, you have to choose the directory where you have/want to have your files.
You can try by adding a new library in the settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants