Attempting to install a soundfont from Musical Artifacts seems to do something wrong. It crashes the webserver and leaves a copy of a significant portion of /sys inside the unpacked directory. This definitely feels like a truncated argument to something.
root@zynthian:/tmp# find C-piano-soundfont-flac/sys/ -maxdepth 2
C-piano-soundfont-flac/sys/
C-piano-soundfont-flac/sys/kernel
C-piano-soundfont-flac/sys/kernel/config
C-piano-soundfont-flac/sys/kernel/tracing
C-piano-soundfont-flac/sys/kernel/fscache
C-piano-soundfont-flac/sys/kernel/debug
C-piano-soundfont-flac/sys/kernel/profiling
C-piano-soundfont-flac/sys/kernel/uevent_helper
C-piano-soundfont-flac/sys/kernel/notes
C-piano-soundfont-flac/sys/kernel/fscaps
C-piano-soundfont-flac/sys/kernel/slab
C-piano-soundfont-flac/sys/kernel/mm
C-piano-soundfont-flac/sys/kernel/irq
C-piano-soundfont-flac/sys/kernel/security
C-piano-soundfont-flac/sys/kernel/cgroup
root@zynthian:/tmp# ls -lh C-piano-soundfont-flac
total 8.0K
drwxr-xr-x 5 root root 4.0K Aug 9 04:16 C-piano-soundfont-flac
drwxr-xr-x 3 root root 4.0K Aug 9 04:16 sys
root@zynthian:/tmp# du -hd0 C-piano-soundfont-flac/sys/
18M C-piano-soundfont-flac/sys/
I confirmed that there’s no weird/broken/malicious entry in the zipfile in question by manually unzipping it in-place.
I’m using Buster RC2 with updates as of last night (7 aug 2020).
I can confirm that systemctl restart zynthian-webconf restores webconf accessibility. There definitely seems to be a bug in the install method, because this happens for any soundfont I attempt to install using the webconf “musical artifacts” search.
Oh, I know where the issue tracker project is, I just didn’t have a way to get proper logs, so I wanted to ask here for ideas first. A crash like this seems like something I should get logs for, but I know nothing about the log structure, and since it’s the web process itself crashing, I can’t get them from the web.