Starless-mc 19 - Starless 19 with multiple controllers (use V8 version)

Super, so this will get rid of them for testing:

mkdir -p /root/bad_pedalboards

for dir in /root/.pedalboards/*.pedalboard; do
    [ -d "$dir" ] || continue
    manifest="$dir/manifest.ttl"
    
    # Move if manifest.ttl is missing
    if [ ! -f "$manifest" ]; then
        echo "Moving (no manifest): $dir"
        mv "$dir" /root/bad_pedalboards/
        continue
    fi

    # Extract the referenced .ttl filename after rdfs:seeAlso
    target=$(grep -o '<[^>]*.ttl>' "$manifest" | tr -d '<>' | head -n 1)

    # Move if no target is listed or the target file does not exist
    if [ -z "$target" ] || [ ! -f "$dir/$target" ]; then
        echo "Moving (missing target '${target:-none}'): $dir"
        mv "$dir" /root/bad_pedalboards/
    fi
done

Now that should not arse anything up but maybe make a backup first!

Then reboot the dwarf.

Then try to save again and see what happens…

2 Likes

The saving still freezes the Dwarf and the webUI for about a minute, but no crash.
And then I deleted the tests pedalboards and the Dwarf became very very slow… I had to reboot again.

Arf, after another Save I did because the thumbnail was not generated I have a reboot again, but : it generate a thumbnail !?
There is maybe something in this area that would shift the focus away from your starless-MC.
I had struggle with image generation since I had my Dwarf, because the pedalboard is too big, or goes too far up or down…

If you run this again does it list anything new?

@rom can you get me a tar of the pedalboard from your dwarf, using the download icon in the pedalboards. I’m not sure loading it from the pedalboards site is working correctly.

Nope, result empyt !

Here it is !

Nice thanks. So both those cause the save issue?

1 Like

This is the same pedalboard (there is now two ways to export a pedalboard, don’t know why…)
image

And yes, I did just click on the Save button on the webUI (with the buffer at 128) and it crashes.

Nice thanks, on it now…

1 Like

It’s a Starless bug :frowning:

oh !
Still good to know where it’s from ! Do you know what’s the root of this bug ? (so I can avoid it until the update)

Sorry Rom I wasn’t clear

image

just this bug is from starless: wrong merge from upstream.

1 Like

I’m looking into it, that pedalboard has a variety of issues, has it been around long?

It has the look of a Windows PC after a few years when bits have been updated leaving broken bits behind and it’s struggling to keep going :slight_smile:

Even with the issues though it saves fine here in 10 seconds.

So I’m guessing it is probably your plugin/presets folder data that is pushing things over the edge.

How big a file can you load up to your sharing website?

Yeah, the 1st version I see in my Dwarf is saved in January 2023, and I have like a hundred updates since then.

I’ve added a 2To drive last year, so, I think I can send you the whole Dwarf for example, here it is :

Sorry, I could have guessed :face_with_spiral_eyes:

Thanks @rom, I will grab the stuff I need from them…

@Rom So, with all your stuff loaded on the Dwarf, and the V5 from the releases installed I still get no problems at all, pedalboard saves in around 10 seconds.

I know you use WIFI, could you try disabling the WIFI, connecting by USB and trying to save.

So all I have been doing is loading 26-11-25 - NEW GOSSIPER, moving a plugin and then clicking on save once.

@Rom Aha,I got it to go wrong once :slight_smile:

Did a save as, was very slow, then mod-ui was really slow, then after a while it goes back to normal.

[00:23:58.462709] 40     DEBUG  : host:process_read_message():1943               [host] received <- 'data_finish'
[00:23:58.478365] 15     DEBUG  : hmi:checker():251                              [hmi] received response <- b'r 0\x00'
[00:23:58.483361] 5      DEBUG  : hmi:checker():253                              [hmi] popped from queue: pn "26-11-25 - NEW GOSSIPER AC (4)" | CMD_PEDALBOARD_NAME_SET
[00:23:58.487143] 5      DEBUG  : hmi:checker():261                              [hmi] calling callback for pn "26-11-25 - NEW GOSSIPER AC (4)"
[00:23:58.494782] 7      DEBUG  : hmi:process_queue():336                        [hmi] queue is empty, nothing to do
[00:25:23.110237] 84613  DEBUG  : host:check_response():2313                     [host] received as response <- 'resp 0\x00'
[00:25:23.123883] 90302  INFO   : web:log_request():1946                         200 POST /pedalboard/save (192.168.51.101) 88860.98ms

Nearly 90 seconds to save pedalboard, in this time mod-ui is partially hung. So now to try to work out why this happens sometimes…

1 Like

Hi @Rom, do you only see this problem after saving as new?

This save as new can be before the save that then fails.

Edit: I think I have found the problem, when you save a new pedalboard the cache of pedalboards is reloaded.

[00:25:56.140982] 106    DEBUG  : webserver:_reset_get_all_pedalboards_cache_with_refresh_1():247 _reset_get_all_pedalboards_cache_with_refresh_1 start
[00:25:56.146198] 4      DEBUG  : utils:_get_all_pedalboards_user():895          _get_all_pedalboards_user start


[00:27:21.762306] 85616  DEBUG  : utils:_get_all_pedalboards_user():908          _get_all_pedalboards_user end
[00:27:21.765548] 4      DEBUG  : webserver:_reset_get_all_pedalboards_cache_with_refresh_1():249 _reset_get_all_pedalboards_cache_with_refresh_1 end

So getting your pedalboards takes 85 seconds, you don’t see this pause in the UI as the pedalboard is already saved. If you then try to save a pedalboard again in that period though it is blocked waiting for that refresh to finish, if this all takes too long then things can get restarted.

I don’t think this is an issue with this version, just an issue in general.

I will try to work out why things are so slow…

p.s. This is also probably what is messing up the thumbnails because I think they are done after, not absolutely sure about that yet though… Also it is why starting the browser the first time is so slow for you.

1 Like

Wow, thanks for the investigation !

I think really that you may have just got to the point where it’s overloaded, pedal overload!

I looked at speeding the getting of the pedalboards up but it was only a minor improvement.

For the saving though it calls this in two places.

  1. If saving new it loads them all to check for unique names.
  2. For both saving and saving new it calls it afterwards to refresh the pedalboard list.

For 1. There is actually a cache of pedalboards which it should use, I will look at fixing that.

For 2. This is just a lazy brute force thing, possibly no one thought a Rom user could exist with lots of very complex pedalboards :slight_smile: I’m guessing there should be a way of just sloting the new pedalboard into the existing cache to avoid this.

I will look into these two things and come up with something, might take a while as I am sick as a dog with some cold/flu type thing and getting sicker day by day. A simple solution for you to stop it happening is to move the (user) pedalboards you don’t really use somewhere else until I can get a fix…

Also there are bugs around the save button, you can actually click this multiple times when it is enabled causing total chaos! Maybe a save progress box would be good as well, I was finding it quite hard to actually work out from the UI if it was saving, or hanging, or anything really as there is no feedback.

All this code is three years old as well, so it’s like this in all versions of the current firmwares.

1 Like