App-lab does not load files

After trying to load a project, files does load into the IDE, in the left down area some sort of progress bars that stays animated forever but files are not loaded.
app-lab runs locally on the uno-q board (via ssh -X)

First I try to run app-lab via network/ssh, but these progress stays animated, but I find this in the logs:

Nov 09 12:25:43 uno-q-first sshd-session[1878]: error: no more sessions
Nov 09 12:25:43 uno-q-first sshd-session[1878]: error: no more sessions
Nov 09 12:25:43 uno-q-first sshd-session[1878]: error: no more sessions
Nov 09 12:25:43 uno-q-first sshd-session[1878]: error: no more sessions
Nov 09 12:25:43 uno-q-first sshd-session[1878]: error: no more sessions
Nov 09 12:25:43 uno-q-first sshd-session[1878]: error: no more sessions

After raising MaxSessions to 50 in sshd_config the source files does not load either, and these messages does not appear again .

1 Like

Hi @cassuu. I'm going to ask you to provide some additional information that might help us to identify the problem.


:red_exclamation_mark: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Click the "Applications" button at the top left corner of the UNO Q's Linux desktop.
    A menu will open.
  2. Select "Terminal Emulator" from the menu.
    A "Terminal" window will open.
  3. Type the following command at the command line prompt in the "Terminal" window:
    tree -a ~/ArduinoApps/copy-3-of-home-climate-monitoring-and-storage/
    
  4. Press the Enter key.
    You should now see a text representation of the file structure of your "Copy 3 of Home climate monitoring and storage" app printed in the terminal.
  5. Select the output from the command.
  6. Copy the selected output.
  7. Open a reply here on this forum topic by clicking the "Reply" button.
  8. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
  9. Press the Ctrl+V keyboard shortcut .
    This will paste the copied content into the code block.
  10. Move the cursor outside of the code block markup before you add any additional text to your reply.
  11. Click the "Reply" button to publish the post.

I seem to have a similar issue. I can start and stop one of my apps using ssh and arduino-app-cli but App Lab never manages to show the files and I cannot start or stop it from App Lab. None of my other user apps have this issue. One difference I used git on the command line to make the project folder a git repository so there is a .git hidden directory in there. I do not think this cause the issue as I do not think the problem started at that time. This app was my default app for a time. Later I made a different app the default app. I wonder if that has anything to do with it.

arduino@danp:~/ArduinoApps$ tree ~/ArduinoApps/ledmatrix
/home/arduino/ArduinoApps/ledmatrix
├── app.yaml
├── python
│ └── main.py
├── README.md
└── sketch
├── sketch.ino
└── sketch.yaml

It will start and show your files as soon as you delete .cache and data folders. But then your influx container will not start, so it so-so solution.

Obviously, AppLab should ignore big subfolders with 30Mb of data

In general, this AppLab bug is very easy to reproduce - copy climate example (you can't run it without copying anymore because of Modulino library). Change modulino from 5.0 to 6.1. Start it. All good so far. Data are collecting, web server is nice. Now close your AppLab and try to open your copy again - voila - it will not open. I did it 5 times already....

I believe this is the cause. I performed an investigation and found the fault reported by @cassuu occurs when there is any empty folder under the App. Unfortunately Git commands may produce empty folders, putting the App into a broken state.

The Arduino App Lab developers have already fixed the bug, but that was done after the time of the 0.2.0 release, so this is why we still encounter it.

Until the next release comes out, the workaround will be to delete any empty folders from the App. You can do that by the following procedure:

A. Open a Terminal

If using the UNO Q in "SBC Mode"

Use this procedure if you are using the UNO Q in single-board computer (SBC) mode:

  1. Click the "Applications" button at the top left corner of the UNO Q's Linux desktop.
    A menu will open.
  2. Select "Terminal Emulator" from the menu.

A "Terminal" window will open.

If using the UNO Q in "Hosted Mode"

Use this procedure if you are using the UNO Q in hosted mode (where you have it connected to your computer via a USB cable):

  1. Connect the UNO Q board to your computer with a USB cable.
  2. Click the following link to to download the ADB tool:
  3. Wait for the download to finish.
  4. Extract the downloaded file to any convenient location on your computer.
  5. Open a command line terminal in the folder you extracted ADB to.
  6. Type the following command at the command line prompt in the terminal:
    ./adb shell
    
  7. Press the Enter key.

ADB should now successfully open a shell on the Linux machine of the UNO Q, as indicated by the changed terminal prompt. Something like this:

arduino@foo:/$

B. Make a Backup of the App

Just to be safe, it is a good idea to make a backup copy of the App before proceeding. If you already have a backup mechanism in place, just use that. Otherwise, you can follow these instructions to save a copy:

  1. Type the following command at the command line prompt in the "Terminal" window:
    ls ~/ArduinoApps
    
  2. Press the Enter key.
    A list of the folders of your Apps will be shown.
  3. Type the following command at the command line prompt in the "Terminal" window:
    tar --create --file="$HOME/app-backup.tar" --directory="$HOME/ArduinoApps" <App folder>
    
  4. Replace the <App folder> placeholder in the command with the name of the folder of the broken App, as shown in the output from the ls command you ran in step (2).
  5. Press the Enter key.

C. Remove Empty Folders From App

  1. Type the following command at the command line prompt in the "Terminal" window:
    ls ~/ArduinoApps
    
  2. Press the Enter key.
    A list of the folders of your Apps will be shown.
  3. Type the following command at the command line prompt in the "Terminal" window:
    cd ~/ArduinoApps/<App folder>
    
  4. Replace the <App folder> placeholder in the command with the name of the folder of the broken App, as shown in the output from the ls command you ran in step (2).
  5. Press the Enter key.
  6. Type the following command at the command line prompt in the "Terminal" window:
    find . -type d -empty -delete
    
  7. Press the Enter key.

Please let us know if you have any questions or problems while following those instructions.

Now restart Arduino App Lab (it won't recognize the change to the App until you do this). Hopefully the App will now be in a functional state.

2 Likes

I just do the find with delete empty directorys.

Now app-lab gets murdered by the oom-killer: (As a first try to free some memoryI restart docker and arduino-app-cli via systemctl, but that doesnt help)

arduino@uno-q-first:~/ArduinoApps$ app-lab 

(process:1947963): Gtk-WARNING **: 15:28:38.470: Locale not supported by C library.
	Using the fallback 'C' locale.
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Ensure your X server supports DRI3 to get accelerated rendering

(process:1947995): Gtk-WARNING **: 15:28:41.012: Locale not supported by C library.
	Using the fallback 'C' locale.

** (WebKitWebProcess:1947995): WARNING **: 15:28:42.111: Can't connect to a11y bus: Could not connect: No such file or directory
ERR | failed to open app asset /home/arduino/ArduinoApps/copy-3-of-home-climate-monitoring-and-storage/assets/docs_assets/launch-app.png: no board connection available
ERR | failed to open app asset /home/arduino/ArduinoApps/copy-3-of-home-climate-monitoring-and-storage/assets/docs_assets/climate-monitoring.png: no board connection available
ERR | failed to open app asset /home/arduino/ArduinoApps/copy-3-of-home-climate-monitoring-and-storage/assets/docs_assets/hardware-setup.png: no board connection available
Killed
arduino@uno-q-first:~/ArduinoApps$ ps aux --sort -rss | head  -n 10
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     1947705  0.5  1.4 1964708 25068 ?       Ssl  15:27   0:01 /usr/sbin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
arduino  1947675  0.9  1.2 1436888 22832 ?       Ssl  15:27   0:03 /usr/bin/arduino-app-cli daemon --port 8800 --log-level error
root         509  1.0  1.0 2005772 19252 ?       Ssl  Nov11  43:12 /usr/bin/containerd
lightdm      989  0.1  1.0 816596 18500 ?        Ssl  Nov11   4:58 /usr/sbin/lightdm-gtk-greeter
root         537  0.0  0.8 751460 14336 tty7     Ssl+ Nov11   3:15 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root         463  0.0  0.4 342488  7860 ?        Ssl  Nov11   1:11 /usr/sbin/NetworkManager --no-daemon
root           1  0.0  0.3  26060  6408 ?        Ss   Nov11   0:20 /sbin/init
root         464  0.0  0.2  18660  4608 ?        Ss   Nov11   0:06 /usr/sbin/wpa_supplicant -u -s -O DIR=/run/wpa_supplicant GROUP=netdev
root         230  0.0  0.2  62664  4540 ?        Ss   Nov11   0:06 /usr/lib/systemd/systemd-journald
arduino@uno-q-first:~/ArduinoApps$ ps aux --sort -vsz | head  -n 10
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         509  1.0  1.0 2005772 19368 ?       Ssl  Nov11  43:12 /usr/bin/containerd
root     1947705  0.3  1.4 1964708 26332 ?       Ssl  15:27   0:01 /usr/sbin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
arduino  1947675  0.6  1.5 1436888 28168 ?       Ssl  15:27   0:03 /usr/bin/arduino-app-cli daemon --port 8800 --log-level error
root         541  0.0  0.2 1230972 4368 ?        Ssl  Nov11   3:48 /usr/bin/arduino-router --unix-port /var/run/arduino-router.sock --serial-port /dev/ttyHS1 --serial-baudrate 115200
lightdm      989  0.1  1.0 816596 18500 ?        Ssl  Nov11   4:59 /usr/sbin/lightdm-gtk-greeter
root         537  0.0  0.8 751460 14356 tty7     Ssl+ Nov11   3:15 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
lightdm      986  0.0  0.0 724240     8 ?        S<sl Nov11   0:00 /usr/bin/wireplumber
arduino     1100  0.0  0.0 643056     8 ?        Ssl  Nov11   0:00 /usr/bin/wireplumber
root        4076  0.0  0.1 496804  2256 ?        Ssl  Nov11   0:36 /usr/libexec/fwupd/fwupd
arduino@uno-q-first:~/ArduinoApps$ free -m
               total        used        free      shared  buff/cache   available
Mem:            1740         364        1223          32         258        1376
Swap:            870         226         643
arduino@uno-q-first:~/ArduinoApps$ 



[Fri Nov 14 15:29:12 2025] SkiaGPUWorker invoked oom-killer: gfp_mask=0x40cc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_COMP), order=0, oom_score_adj=0
[Fri Nov 14 15:29:12 2025] CPU: 3 UID: 1000 PID: 1948032 Comm: SkiaGPUWorker Not tainted 6.16.7-g0dd6551ae96b #1 PREEMPT 
[Fri Nov 14 15:29:12 2025] Hardware name: Arduino Imola/Imola, BIOS 2025.07-rc1-g21292a3cdcb4 07/01/2025
[Fri Nov 14 15:29:12 2025] Call trace:
[Fri Nov 14 15:29:12 2025]  show_stack+0x18/0x24 (C)
[Fri Nov 14 15:29:12 2025]  dump_stack_lvl+0x60/0x80
[Fri Nov 14 15:29:12 2025]  dump_stack+0x18/0x24
[Fri Nov 14 15:29:12 2025]  dump_header+0x40/0x168
[Fri Nov 14 15:29:12 2025]  oom_kill_process+0x288/0x304
[Fri Nov 14 15:29:12 2025]  out_of_memory+0xec/0x58c
[Fri Nov 14 15:29:12 2025]  __alloc_frozen_pages_noprof+0xc1c/0xd2c
[Fri Nov 14 15:29:12 2025]  alloc_pages_mpol+0xb4/0x1a4
[Fri Nov 14 15:29:12 2025]  folio_alloc_mpol_noprof+0x14/0x68
[Fri Nov 14 15:29:12 2025]  shmem_alloc_folio+0xc0/0xe0
[Fri Nov 14 15:29:12 2025]  shmem_swapin_folio+0x758/0xd90
[Fri Nov 14 15:29:12 2025]  shmem_get_folio_gfp+0x19c/0x674
[Fri Nov 14 15:29:12 2025]  shmem_read_folio_gfp+0x4c/0x94
[Fri Nov 14 15:29:12 2025]  drm_gem_get_pages+0xa0/0x2b4 [drm]
[Fri Nov 14 15:29:12 2025]  get_pages+0x1a8/0x240 [msm]
[Fri Nov 14 15:29:12 2025]  msm_gem_fault+0x40/0x140 [msm]
[Fri Nov 14 15:29:12 2025]  __do_fault+0x3c/0x230
[Fri Nov 14 15:29:12 2025]  __handle_mm_fault+0xaa0/0x1864
[Fri Nov 14 15:29:12 2025]  handle_mm_fault+0x88/0x298
[Fri Nov 14 15:29:12 2025]  do_page_fault+0x200/0x760
[Fri Nov 14 15:29:12 2025]  do_translation_fault+0xb8/0xcc
[Fri Nov 14 15:29:12 2025]  do_mem_abort+0x40/0x90
[Fri Nov 14 15:29:12 2025]  el0_da+0x2c/0x9c
[Fri Nov 14 15:29:12 2025]  el0t_64_sync_handler+0xc4/0x138
[Fri Nov 14 15:29:12 2025]  el0t_64_sync+0x198/0x19c
[Fri Nov 14 15:29:12 2025] Mem-Info:
[Fri Nov 14 15:29:12 2025] active_anon:91766 inactive_anon:270089 isolated_anon:32
                            active_file:573 inactive_file:799 isolated_file:33
                            unevictable:2005 dirty:0 writeback:0
                            slab_reclaimable:5919 slab_unreclaimable:10622
                            mapped:528 shmem:12953 pagetables:3741
                            sec_pagetables:187 bounce:0
                            kernel_misc_reclaimable:0
                            free:5663 free_pcp:474 free_cma:1494
[Fri Nov 14 15:29:12 2025] Node 0 active_anon:448532kB inactive_anon:998568kB active_file:2872kB inactive_file:3176kB unevictable:8020kB isolated(anon):256kB isolated(file):136kB mapped:3264kB dirty:0kB writeback:0kB shmem:51812kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:43008kB writeback_tmp:0kB kernel_stack:6368kB pagetables:14964kB sec_pagetables:748kB all_unreclaimable? no Balloon:0kB
[Fri Nov 14 15:29:12 2025] Node 0 DMA free:23244kB boost:0kB min:22528kB low:28160kB high:33792kB reserved_highatomic:0KB free_highatomic:0KB active_anon:524380kB inactive_anon:922932kB active_file:2892kB inactive_file:3712kB unevictable:8020kB writepending:0kB present:2075648kB managed:1782416kB mlocked:32kB bounce:0kB free_pcp:552kB local_pcp:368kB free_cma:5984kB
[Fri Nov 14 15:29:12 2025] lowmem_reserve[]: 0 0 0 0
[Fri Nov 14 15:29:12 2025] Node 0 DMA: 146*4kB (UEC) 77*8kB (MEC) 230*16kB (UMEC) 151*32kB (UMEC) 65*64kB (UMEC) 24*128kB (UEC) 11*256kB (U) 4*512kB (U) 1*1024kB (U) 0*2048kB 0*4096kB = 22832kB
[Fri Nov 14 15:29:12 2025] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
[Fri Nov 14 15:29:12 2025] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=32768kB
[Fri Nov 14 15:29:12 2025] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[Fri Nov 14 15:29:12 2025] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=64kB
[Fri Nov 14 15:29:12 2025] 14652 total pagecache pages
[Fri Nov 14 15:29:12 2025] 25 pages in swap cache
[Fri Nov 14 15:29:12 2025] Free swap  = 0kB
[Fri Nov 14 15:29:12 2025] Total swap = 891204kB
[Fri Nov 14 15:29:12 2025] 518912 pages RAM
[Fri Nov 14 15:29:12 2025] 0 pages HighMem/MovableOnly
[Fri Nov 14 15:29:12 2025] 73308 pages reserved
[Fri Nov 14 15:29:12 2025] 8192 pages cma reserved
[Fri Nov 14 15:29:12 2025] 0 pages hwpoisoned
[Fri Nov 14 15:29:12 2025] Tasks state (memory values in pages):
[Fri Nov 14 15:29:12 2025] [  pid  ]   uid  tgid total_vm      rss rss_anon rss_file rss_shmem pgtables_bytes swapents oom_score_adj name
[Fri Nov 14 15:29:12 2025] [    230]     0   230    15666      187       64      123         0   110592      352          -250 systemd-journal
[Fri Nov 14 15:29:12 2025] [    270]   997   270    23124       93       64       29         0    86016      256             0 systemd-timesyn
[Fri Nov 14 15:29:12 2025] [    277]     0   277     9213      140       64       76         0    98304     1216         -1000 systemd-udevd
[Fri Nov 14 15:29:12 2025] [    395]     0   395    77485       69        0       69         0   102400      192             0 accounts-daemon
[Fri Nov 14 15:29:12 2025] [    398]     0   398     3252       72        0       72         0    69632      128             0 bluetoothd
[Fri Nov 14 15:29:12 2025] [    399]     0   399     1747       79       32       47         0    61440       32             0 cron
[Fri Nov 14 15:29:12 2025] [    401]   996   401     2567      143       64       79         0    61440      704          -900 dbus-daemon
[Fri Nov 14 15:29:12 2025] [    404]   989   404    95898       17       17        0         0   106496      640             0 polkitd
[Fri Nov 14 15:29:12 2025] [    405]     0   405     4327      141       64       77         0    65536     1504             0 rmtfs
[Fri Nov 14 15:29:12 2025] [    407]     0   407     4846      134       64       70         0    86016      256             0 systemd-logind
[Fri Nov 14 15:29:12 2025] [    410]     0   410      800       95        0       95         0    49152       32             0 tqftpserv
[Fri Nov 14 15:29:12 2025] [    411]     0   411   119173       77       32       45         0   163840     1248             0 udisksd
[Fri Nov 14 15:29:12 2025] [    463]     0   463    85622       99       50       49         0   172032     1152             0 NetworkManager
[Fri Nov 14 15:29:12 2025] [    464]     0   464     4665      108       32       76         0    77824      480             0 wpa_supplicant
[Fri Nov 14 15:29:12 2025] [    488]     0   488    99586       84       32       52         0   151552      480             0 ModemManager
[Fri Nov 14 15:29:12 2025] [    509]     0   509   501443      171       90       81         0   294912     3745          -999 containerd
[Fri Nov 14 15:29:12 2025] [    516]     0   516     2865      133       64       69         0    61440      256         -1000 sshd
[Fri Nov 14 15:29:12 2025] [    519]     0   519     1928      118       32       86         0    53248       32             0 agetty
[Fri Nov 14 15:29:12 2025] [    525]     0   525    95456       61       32       29         0   106496      160             0 lightdm
[Fri Nov 14 15:29:12 2025] [    527]     0   527     1831       65        0       65         0    57344       32             0 agetty
[Fri Nov 14 15:29:12 2025] [    537]     0   537   187865      178       43       71        64   516096     7328             0 Xorg
[Fri Nov 14 15:29:12 2025] [    541]     0   541   307743      282      211       71         0    94208      920             0 arduino-router
[Fri Nov 14 15:29:12 2025] [    561]     0   561     2864      111       32       79         0    57344      160             0 socat
[Fri Nov 14 15:29:12 2025] [    570]  1000   570    61586       70       32       38         0    94208      128             0 adbd
[Fri Nov 14 15:29:12 2025] [    673]     0   673    43278       67        0       67         0    98304      224             0 lightdm
[Fri Nov 14 15:29:12 2025] [    737]   103   737     6032      154       64       90         0    90112      864           100 systemd
[Fri Nov 14 15:29:12 2025] [    789]   103   789     6589      188       94       94         0    86016      352           100 (sd-pam)
[Fri Nov 14 15:29:13 2025] [    983]   103   983     2108       67        0       67         0    49152       96           200 dbus-daemon
[Fri Nov 14 15:29:13 2025] [    984]   103   984    24723      132       64       68         0    86016      384           200 pipewire
[Fri Nov 14 15:29:13 2025] [    985]   103   985    21300      125       64       61         0    69632       96           200 pipewire
[Fri Nov 14 15:29:13 2025] [    986]   103   986   181060       87       32       55         0   229376     1184           200 wireplumber
[Fri Nov 14 15:29:13 2025] [    987]   103   987    25144      107       64       43         0    90112      192           200 pipewire-pulse
[Fri Nov 14 15:29:13 2025] [    989]   103   989   204149      245      126       55        64   512000     4448             0 lightdm-gtk-gre
[Fri Nov 14 15:29:13 2025] [    994]   100   994     5310       60        0       60         0    53248       64             0 rtkit-daemon
[Fri Nov 14 15:29:13 2025] [   1013]   103  1013    95631      126       64       62         0   102400      128           200 at-spi-bus-laun
[Fri Nov 14 15:29:13 2025] [   1021]   103  1021     2107      105       64       41         0    53248       32           200 dbus-daemon
[Fri Nov 14 15:29:13 2025] [   1024]   103  1024    78404      113       32       81         0   110592      160           200 gvfsd
[Fri Nov 14 15:29:13 2025] [   1048]     0  1048     4644       60        0       60         0    86016      160             0 lightdm
[Fri Nov 14 15:29:13 2025] [   1050]   103  1050    42623       89       64       25         0    90112      160           200 at-spi2-registr
[Fri Nov 14 15:29:13 2025] [   1064]     0  1064     5528       46       32       14         0    86016      448             0 sshd-session
[Fri Nov 14 15:29:13 2025] [   1071]  1000  1071     6035      132       64       68         0    90112      896           100 systemd
[Fri Nov 14 15:29:13 2025] [   1076]  1000  1076     6589      188       94       94         0    81920      352           100 (sd-pam)
[Fri Nov 14 15:29:13 2025] [   1095]  1000  1095     2108      148       64       84         0    61440       96           200 dbus-daemon
[Fri Nov 14 15:29:13 2025] [   1096]  1000  1096    24634      106       32       74         0    90112      384           200 pipewire
[Fri Nov 14 15:29:13 2025] [   1097]  1000  1097    21300      109       32       77         0    73728       96           200 pipewire
[Fri Nov 14 15:29:13 2025] [   1100]  1000  1100   160764      132       64       68         0   204800     1056           200 wireplumber
[Fri Nov 14 15:29:13 2025] [   1101]  1000  1101    25144      111       32       79         0    94208      192           200 pipewire-pulse
[Fri Nov 14 15:29:13 2025] [   1104]  1000  1104     1788       55        0       55         0    49152       64           200 mpris-proxy
[Fri Nov 14 15:29:13 2025] [   1107]  1000  1107     7591      790      741       49         0   102400     1812             0 sshd-session
[Fri Nov 14 15:29:13 2025] [   1122]  1000  1122     2371       80        0       80         0    53248      672             0 bash
[Fri Nov 14 15:29:13 2025] [   1157]  1000  1157    78404       48        0       48         0   114688      160           200 gvfsd
[Fri Nov 14 15:29:13 2025] [   4076]     0  4076   124201      104       49       55         0   466944    11932             0 fwupd
[Fri Nov 14 15:29:13 2025] [1112313]  1000 1112313    42464      106       64       42         0    90112      128           200 gvfsd-metadata
[Fri Nov 14 15:29:13 2025] [1947337]     0 1947337     5528      123       64       59         0    94208      416             0 sshd-session
[Fri Nov 14 15:29:13 2025] [1947349]  1000 1947349     5593      127       85       42         0    94208      448             0 sshd-session
[Fri Nov 14 15:29:13 2025] [1947352]  1000 1947352     2311      110       64       46         0    53248      608             0 bash
[Fri Nov 14 15:29:13 2025] [1947364]  1000 1947364     1404       89       32       57         0    49152       32             0 dmesg
[Fri Nov 14 15:29:13 2025] [1947675]  1000 1947675   359222      249      207       42         0   581632    45280             0 arduino-app-cli
[Fri Nov 14 15:29:13 2025] [1947705]     0 1947705   491177      104       33       71         0   356352     6720          -500 dockerd
[Fri Nov 14 15:29:13 2025] [1947963]  1000 1947963 19418006   327014   326966        3        45  4403200    63296             0 app-lab
[Fri Nov 14 15:29:13 2025] [1947993]  1000 1947993 18296999      404      336       68         0   585728     2944             0 WebKitNetworkPr
[Fri Nov 14 15:29:13 2025] [1947995]  1000 1947995 18719183    22554    22439       67        48  1667072    26769             0 WebKitWebProces
[Fri Nov 14 15:29:13 2025] [1948059]     0 1948059     4576      125       64       61         0    77824      224             0 systemd-localed
[Fri Nov 14 15:29:13 2025] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=user.slice,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-2.scope,task=app-lab,pid=1947963,uid=1000
[Fri Nov 14 15:29:13 2025] Out of memory: Killed process 1947963 (app-lab) total-vm:77672024kB, anon-rss:1307864kB, file-rss:284kB, shmem-rss:180kB, UID:1000 pgtables:4300kB oom_score_adj:0

Trying to run app-lab on an "big" computer and connect via network to the uno q results to this:

journalctl:

Nov 14 15:42:09 uno-q-first sudo[1948435]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Nov 14 15:42:16 uno-q-first sudo[1948435]: pam_unix(sudo:session): session closed for user root
Nov 14 15:42:18 uno-q-first NetworkManager[463]: <info>  [1763131338.0915] audit: op="radio-control" arg="wireless-enabled:on" pid=1948492 uid=1000 result="success"
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:27 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:28 uno-q-first sshd-session[1948376]: error: no more sessions
Nov 14 15:42:39 uno-q-first systemd[1]: systemd-localed.service: Deactivated successfully.
Nov 14 15:43:31 uno-q-first sshd-session[1949089]: Invalid user toad from 192.168.230.2 port 42244
Nov 14 15:43:37 uno-q-first sshd-session[1949089]: Connection closed by invalid user toad 192.168.230.2 port 42244 [preauth]
Nov 14 15:43:45 uno-q-first sshd-session[1949184]: Accepted publickey for arduino from 192.168.230.2 port 51678 ssh2: RSA SHA256:rw3QPQZFVoIfWIZ317WKYmV7/TUAorpOGzt/lhkoig8
Nov 14 15:43:45 uno-q-first sshd-session[1949184]: pam_unix(sshd:session): session opened for user arduino(uid=1000) by arduino(uid=0)
Nov 14 15:43:45 uno-q-first systemd-logind[407]: New session 79 of user arduino.
Nov 14 15:43:45 uno-q-first systemd[1]: Started session-79.scope - Session 79 of User arduino.

Maxsessions are raised:

arduino@uno-q-first:~$ sudo grep MaxSe /etc/ssh/sshd_config
[sudo] password for arduino: 
MaxSessions 50
arduino@uno-q-first:~$ 

Console out from app-lab: (On the "big" computer)

$ ./Downloads/arduino-app-lab 
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
ERR | failed to open app asset /home/arduino/ArduinoApps/copy-3-of-home-climate-monitoring-and-storage/assets/docs_assets/hardware-setup.png: ssh: rejected: connect failed (open failed)
ERR | failed to open app asset /home/arduino/ArduinoApps/copy-3-of-home-climate-monitoring-and-storage/assets/docs_assets/launch-app.png: ssh: rejected: connect failed (open failed)
ERR | failed to open app asset /home/arduino/ArduinoApps/copy-3-of-home-climate-monitoring-and-storage/assets/docs_assets/climate-monitoring.png: ssh: rejected: connect failed (open failed)



Did you try rebooting the operating system?

Not really, I worked with linux machines that should not reboot without announcement.
Rebooting machines is really the last effort to me.

But I try, stay tuned.

No success:

$ ssh -X arduino@192.168.230.28
Linux uno-q-first 6.16.7-g0dd6551ae96b #1 SMP PREEMPT Tue Sep 23 12:46:06 UTC 2025 aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Nov 14 15:43:45 2025 from 192.168.230.2
arduino@uno-q-first:~$ app-lab 

(process:1181): Gtk-WARNING **: 15:55:36.961: Locale not supported by C library.
	Using the fallback 'C' locale.
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Ensure your X server supports DRI3 to get accelerated rendering

(process:1221): Gtk-WARNING **: 15:55:39.130: Locale not supported by C library.
	Using the fallback 'C' locale.

** (WebKitWebProcess:1221): WARNING **: 15:55:40.318: Can't connect to a11y bus: Could not connect: No such file or directory
ERR | failed to open app asset /home/arduino/ArduinoApps/copy-3-of-home-climate-monitoring-and-storage/assets/docs_assets/climate-monitoring.png: no board connection available
ERR | failed to open app asset /home/arduino/ArduinoApps/copy-3-of-home-climate-monitoring-and-storage/assets/docs_assets/hardware-setup.png: no board connection available
ERR | failed to open app asset /home/arduino/ArduinoApps/copy-3-of-home-climate-monitoring-and-storage/assets/docs_assets/launch-app.png: no board connection available
Killed
arduino@uno-q-first:~$ uptime
 15:56:52 up 2 min,  1 user,  load average: 1.90, 1.04, 0.41
arduino@uno-q-first:~$ free -m
               total        used        free      shared  buff/cache   available
Mem:            1740         375        1227          32         241        1365
Swap:            870         329         540
arduino@uno-q-first:~$ 

# during running app-lab:

arduino@uno-q-first:~$ vmstat -w 1
--procs-- -----------------------memory---------------------- ---swap-- -----io---- -system-- ----------cpu----------
   r    b         swpd         free         buff        cache   si   so    bi    bo   in   cs  us  sy  id  wa  st  gu
   1    0       143244       326184        12576       760504 2701 4961  8363  5603 1005    2   8   7  85   1   0   0
   1    0       143244       324228        12576       760504    0    0     0     0 1184 1619   9   3  88   0   0   0
   0    0       143244       324384        12576       760504    0    0     0     0  132  108   0   0 100   0   0   0
   0    0       143244       326372        12584       760496    0    0     0    48  234  195   0   0 100   0   0   0
   4    1       143244       322272        12864       760480    0    0   276    12 1086 1622   7   3  90   0   0   0
   3    0       143244       320752        12868       752908    0    0    64     0 5054 7237  28  14  57   0   0   0
   3    0       143124       309852        12868       754024  120    0   148     0 3053 3226  20  18  62   0   0   0
   0    0       143124       304900        12868       756456    0    0     0     0 2439 2712  11  15  74   0   0   0
   0    0       143124       308572        12868       756456    0    0     0     0 1432 1817   8   4  88   0   0   0
   0    0       143124       310968        12868       756456    0    0     0     0  230  178   0   0  99   0   0   0
   7    0       143044       293708        12868       759836   80    0  1224     0 2723 3515  35  11  54   1   0   0
   1    0       143044       275032        13072       764872    0    0   332     0 4269 6010  47  21  31   1   0   0
   9    1       143044        33156        13088       722844    0    0 29064     0 7642 9471  63  30   6   1   0   0
   9    0       147284        30284        12436       421784    0 2996 10612  2996 8122 5753  54  45   1   0   0   0
   8    0       258944        56936         2576       130424 5484 72292 11772 72356 5059 6261  32  67   0   0   0   0
  10    0       504764        58392         2400       130944 11552 228976 32888 228976 3422 5083  16  83   0   1   0   0
   8    0       734972        60928         2448       123480 10564 232368 47148 232380 6259 7463  12  87   1   0   0   0
   8    3       891204        22952         2176        58712 27960 185332 85044 185336 12197 8630  10  86   1   2   0   0
  15    9       891204        23400         2112        57964  828  980 658692   980 5004 15480   0  93   2   5   0   0
  38    1       884104        22552         2160        62548 1272 9212 1171188  9208 29801 108695   0  99   1   0   0   0
   2    3       491412      1145804         2596       203632 25136 7928 150696  8072 14585 118243   2  85   7   6   0   0
   0    0       357204      1229000         2596       176760 26112    0 56396     0 2389 2873   6  13  75   7   0   0
   0    0       357116      1228280         2596       177640   88    0   968     0  354  342   0   0  99   0   0   0
   0    0       357116      1236300         2596       177640    0    0     0     0  108   87   0   0 100   0   0   0
^C
arduino@uno-q-first:~$

Is there some possibility to enable more verbose debugging output from app-lab?
Please note the raised run-queue shortly before the crash in the vmstat output, maybe this could be related by extensive swapping.

Hi @cassuu

Are you trying to display the App Lab from the Uno Q on your local PC via X over SSH? Is it correct? What is your goal?

I tried it as an alternative for using app-lab on a "big" computer to get rid of these ssh errors.
I want to make shure that these problems are not related to ssh.

And mdns/avahi drives me nuts, and there is no possibility to connect to the board by name, and the connection does not use a running ssh-agent.

@cassuu

Those SSH errors are actually something new; we have never experienced them before. Can you please describe your scenario for the Uno Q? Where are all those SSH sessions starting from? Are they from an SSH-based app running on your PC?

Is the App Lab from your PC working with the Uno Q via network?

Do you have any firewall rules filtering UDP traffic on port 53? On your Linux host, double-check libnss-mdns is installed and configured correctly. Try running

avahi-browse -d local _arduino._tcp --resolve -t

Other avahi-browse commands may help troubleshoot mdns issues.

Please let me know.

In my case that seems to have resolved the issue.

1 Like

Confirmed, this resolves climate monitoring example second run as well

1 Like

I have an update to share on this :tada:. The fix I mentioned above is in the newly released version 0.2.4 of Arduino App Lab. So, after updating Arduino App Lab, you should be able to put your Apps under version control in Git repositories without any adverse side effects. And likewise problems won't be caused by other operations that produce empty folders.

The new version is provided for download from the "Software" page:

https://www.arduino.cc/en/software/#app-lab-section