![]() |
Official moOde 8 support thread - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Official moOde 8 support thread (/showthread.php?tid=4777) |
RE: Official moOde 8 support thread - UpsiUps - 03-17-2022 (03-17-2022, 11:53 AM)Tim Curtis Wrote:(03-17-2022, 11:22 AM)UpsiUps Wrote: I hate the Major version upgrades as I have to walk and find all my RPis in the house, plug th eSD card , burn a new one , plug the new one in and restart configuration ... Oh, last point has a significant improvement : backup and restore ! Not really: If you don't change the moodecfg.ini the system might get no IP and the hostname will be wrong. if you boot up multiple RPis you have the fun to find them on your local network.Only after that you could start the restore to fix things. So -IMHO- I think the sequence is better it is better to copy the moodecfg.ini before you boot up the first time. After that you start the restore to re-create your local radiostation etc. The restore will also find the configuration moodecfg.ini and will restore it a second time. That should not be a problem. The only observation is, that the source entry was now duplicated. Maybe I missunderstood the restore process: is there a way to start the restore on a fresh image ? E.g. by store the backup...zip on the /boot partition ? I am currently only aware to start the restore after mood has started and you could use the browser UI to upload the backup.zip file. In generic it is not a big issue. I would like to thank you that the major upgrade process is nowadays much easier than in the 5.x and less releases. - Update - I reviewed the source and found the challenge : Code: .... line 188 of backupmanager.py ... That's the reason, why the Source/Library entry is duplicated. Now, if I want to "restore" , why would i like to append it to the current moodecfg.ini ? I would rather think I would like to overwrite the moodecfg.ini even if it is in place, nor ? RE: Official moOde 8 support thread - Tim Curtis - 03-17-2022 Right, the fresh image scenario needs moodecfg.ini in /boot. Good points. I'll add to the TODO list to investigate. -Tim RE: Official moOde 8 support thread - Mr.R0b0t - 03-17-2022 Any solution to my problem? ![]() RE: Official moOde 8 support thread - Tim Curtis - 03-17-2022 (03-17-2022, 03:40 PM)Mr.R0b0t Wrote: Any solution to my problem? I wasn't able to repro it https://moodeaudio.org/forum/showthread.php?tid=4777&pid=40189#pid40189 But the log records below from your post #88 suggests that there is some sort of odd sample rate changes and buffer underruns happening. https://moodeaudio.org/forum/showthread.php?tid=4777&pid=40228#pid40228 Code: Mar 15 17:04:39.235 WARN sample rate change detected, last rate was 1087.3985895103685 Hz, module: camillalib::filedevice To troubleshoot try a fresh image on a bare Pi (No HAT board) with just Camilla turned on and set to whatever config file you were using on the Pi thats producing the errors. Put some audio files on a USB drive or the SDCard and use these to test with. We don't want any NAS, UPnP or any other renderers turned on. No local display etc, etc. The test system needs to be as basic as possible so that in the event the issue occurs a repro might be possible. RE: Official moOde 8 support thread - bitlab - 03-17-2022 (03-17-2022, 02:46 PM)UpsiUps Wrote: That piece of code is just fine. That few lines just detect what is present in a backup file. The only thing that is missing is that on restore first the already present source should be removed to allow multiple time restore of the ini. But there is a much simpler workflow available: instead of the moodecfg.ini place the backup file renamed to moodebackup.zip in the boot partition. RE: Official moOde 8 support thread - Tim Curtis - 03-17-2022 (03-17-2022, 09:43 PM)bitlab Wrote:(03-17-2022, 02:46 PM)UpsiUps Wrote: I forgot about that nice feature :-) The r801 sources are frozen but I'll plan to add documentation and improved help text for Backup/Restore in a post r801 release. RE: Official moOde 8 support thread - UpsiUps - 03-18-2022 (03-17-2022, 09:43 PM)bitlab Wrote:I think the "content.append()"is the "problem", as it will not overwrite if a config is present. Anyhow, I was not aware about that moodebackup.zip feature. That is exactly what I thought to prevent and do the restore. Will it also execute the optional script you put into the backup ?(03-17-2022, 02:46 PM)UpsiUps Wrote: RE: Official moOde 8 support thread - UpsiUps - 03-18-2022 (03-17-2022, 10:50 PM)Tim Curtis Wrote:Yes, I think the hint to the moodebackup.zip in /boot will solve the challenge . Hopefully only needed for Version r9.0(03-17-2022, 09:43 PM)bitlab Wrote:(03-17-2022, 02:46 PM)UpsiUps Wrote: ![]() ![]() RE: Official moOde 8 support thread - bitlab - 03-18-2022 (03-18-2022, 08:15 AM)UpsiUps Wrote:Again that isn't the actual problem. The part of the code you mention, is part of a function that checks what is inside a backup and returns an array like ['config', 'r_moode'].(03-17-2022, 09:43 PM)bitlab Wrote:I think the "content.append()"is the "problem", as it will not overwrite if a config is present. Anyhow, I was not aware about that moodebackup.zip feature. That is exactly what I thought to prevent and do the restore. Will it also execute the optional script you put into the backup ?(03-17-2022, 02:46 PM)UpsiUps Wrote: The way you suggest fixing is just 'fixing' the backup content detector by 'saying' the backup never contains a moodecfg.ini, this will break:
The real problem is that restore itselfs has a problem with erasing the existing sources before restoring the sources backup. Which results in double sources when a restore is performed twice. After quick checking it looks the optional script is not restored and executed from a backup, which is a bug. Will put it on the todo list. For now the workarround is to place the script from backup also in the /boot part. When the backup is restored it will pickup the script and execute it. RE: Official moOde 8 support thread - Malefoda - 03-18-2022 8.0.1 with 7.6.1 backed up settings applied is now working flawlessly. Screen rotation glitch on my Nexus 10 is now gone. Seems my RPi 2B is fine, maybe (as an expected bias than one day the RPi 2B will struggle with heavier software...) I find than some covers show up not as fast as in 7.6.1. And I wonder If the "m" and "Settings" menus transparency can be removed for good old solid menu... I guess it wasn't there on 7.6.1, was it? |