Streama failed install broke my Nextcloud

My YunoHost server

Hardware: VM on my proxmox home server
YunoHost version: 3.8
I have access to my server : Through SSH and the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : nope, just ~10 apps running and a VPN client

Description of my issue

Hi,

I tried to install the Streama app to my server, but it failed and then removed itself properly. However it left my nextcloud install completely broken :sob: : files from others users were displayed to different users, shared devices (“Multimedia” and AWS bucket) were in error, and no occ files:scan would resolve it.

But the files themselves were untouched on the disk, so I believe it happened in the database somehow…

The only install errors I see are these :

2021-01-10 18:20:57,025: DEBUG - The following packages will be REMOVED:
2021-01-10 18:20:57,025: WARNING - E: Packages need to be removed but remove is disabled.
2021-01-10 18:20:57,026: DEBUG -   streama-ynh-deps

then 2021-01-10 18:20:57,440: WARNING - E: Package 'openjdk-11-jre-headless' has no installation candidate

Why was it impacted ? No other operation took place on the server this day, and I fail to see a reason. I can share logs as needed, and I welcome any help from the packagers to find the cause :wink:

As for me, I restored a backup and wait for a more stable app !

Hmyeah that’s very puzzling, can’t find anything obvious in the install/remove script of streama … Would help to share the full logs (both install and remove-after-failed-install) …

That would be install log and remove log ! The instance URL was supposed to be “poum.tchack.xyz” (but sometimes i see poum.maindomain.tld in the operation logs :face_with_raised_eyebrow: )

Nextcloud is last version of the package master and I did not tweak it, but maybe there’s something I forget ?

(The Streama installation is now normally resolved (it’s only available for Yunohost > 4.0), but no idea why Nextcloud was impacted)

Hm can’t find anything obvious … maybe the fact that it autoremoved some php packages (but that should be fine because apt only remove packages not used by anybody so nextcloud shouldnt be relying on these) :confused:

yeah, from what I saw it seemed to be more on the DB side. So in the end maybe it has nothing to do with Streama, and I encountered an edge-case with “shared folders” (/home/multimedia and others, I removed the re-added some of them a week before…).

Anyway thanks for taking some time to look into it :smiley: