YunoHost-Apps / invoiceninja5_ynh

InvoiceNinja5 package for YunoHost
https://www.invoiceninja.org/
GNU General Public License v3.0
11 stars 6 forks source link

All uploaded documents (PDF files, images) are gone after update from 5.8.30 to 5.8.37 #252

Closed CodeShakingSheep closed 3 months ago

CodeShakingSheep commented 3 months ago

Describe the bug

All my previously uploaded files are gone after the update.

Context

Steps to reproduce

Just update the app via webadmin interface.

Expected behavior

My uploaded files should remain present and accessible.

Logs

No relevant logs.

Analysis

I think it's because of this commit: https://github.com/YunoHost-Apps/invoiceninja5_ynh/commit/8f3eba479986f5ce2ea2e052f91013c811a5b951 As invoiceninja5 stores uploaded documents in app directory those directories need to be preserved using e.g. --keep="/public/storage".

After restoring to previous version fortunately all my uploaded documents are back.

rndmh3ro commented 3 months ago

Sorry!

I know what caused this and will revert the change.

rndmh3ro commented 3 months ago

I updated the version to 5.8.37~ynh2. If it is available, then it should be possible to update without losing anything.

CodeShakingSheep commented 3 months ago

I updated the version to 5.8.37~ynh2. If it is available, then it should be possible to update without losing anything.

I just updated to 5.8.37~ynh2 and everything seems fine. My logo and documents are still there. Thank you for the fast fix. :pray: