Zynthian not starting

Hi all ,
I spent a couple of days attempting to build a plugin on the zynthian.

I spent 24 hours or so attempting to upgrade gcc to version 11.
I did a lot of stuff attempting to upgrade cmake which worked out but getting gcc to 11 proved elusive. It seems that the “bullseye” version of the raspberry pi OS may have made life easier. I attempted to build it from sources but ended up nuking my zynthian using apt - update type commands. It now won’t connect to zynthian local but I can ssh into it still.
Perhaps even more foolish than using apt update when the thing displayed a red ERROR on boot up I then played around in the zynthian/scripts folder attempting to jolt the thing into some sort of bootstrapped state and get it to boot itself fresh for the first time. That didn’t do much other than nuke the web connection. It does not flash through and endless display of different lights. It would be an interesting artistic piece good for a dark cocktail party.
A left some output from terminal below perhaps someone has an idea of what I might do next. Can I say reflash an ssd and start from scratch somehow? When the machine mounts the ssd is it in read only mode or I have I nuked the image also ?
I have been a very naughty little boy this weekend haven’t I.

seanwayland@Air-de-sean zynthian % ssh root@zynthian.local
root@zynthian.local's password: 

 ##########################       ----------------------------------------
#                          #      ZynthianOS: Built on os.zynthian.org
#            ##            #      Timestamp: 2025-01-21
#      ##   #  #   ##      #      Optimized: Raspberry Pi 3 Model B Plus
#     #  #  #  #  #  #     #      ----------------------------------------
###   #  #  #  #  #  #   ###      Kit:           V4
#  #  #  #  #  #  #  #  #  #      Display:       ZynScreen 3.5 (v1)
#   ##   #  #  #  #   ##   #      Soundcard:     HifiBerry DAC+ ADC PRO
#         ##    ##         #      Wiring Layout: MCP23017_ZynScreen
#                          #      ----------------------------------------
 ##########################
                                  zynthian-ui: testing (5d8b77)
                                  zynthian-webconf: testing (841085)
                                  zyncoder: testing (c452d2)
                                  zynthian-sys: testing (ad43f0)
                                  zynthian-data: testing (ec1011)
                                  ---------------------------------------

Linux zynthian 6.6.72-v8+ #1839 SMP PREEMPT Fri Jan 17 16:49:11 GMT 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: Tue Jan 21 03:21:48 2025 from fe80::146a:6f0:3eb4:2590%eth0
root@zynthian:~# systemctl status
● zynthian
    State: degraded
     Jobs: 0 queued
   Failed: 1 units
    Since: Thu 1970-01-01 01:00:01 BST; 55 years 0 months ago
   CGroup: /
           ├─user.slice
           │ └─user-0.slice
           │   ├─session-3.scope
           │   │ ├─2617 sshd: root@pts/0
           │   │ ├─2685 -bash
           │   │ ├─2933 systemctl status
           │   │ └─2934 pager
           │   └─user@0.service
           │     └─init.scope
           │       ├─904 /lib/systemd/systemd --user
           │       └─908 (sd-pam)
           ├─init.scope
           │ └─1 /sbin/init splash
           └─system.slice
             ├─jack2.service
             │ └─482 /usr/local/bin/jackd -P 70 -t 2000 -s -d alsa -d hw:sndrpihifiberry -r 
             ├─zynthian.service
             │ ├─ 483 /bin/sh /usr/bin/startx ./zynthian.sh -- -r -nocursor -s 0
             │ ├─ 591 xinit ./zynthian.sh -- /usr/bin/X :0 -r -nocursor -s 0 -auth /tmp/serv
             │ ├─ 598 /usr/lib/xorg/Xorg :0 -r -nocursor -s 0 -auth /tmp/serverauth.lcF4QvR8
             │ ├─ 730 /bin/bash ./zynthian.sh
             │ └─2920 sleep 10
             ├─systemd-udevd.service
             │ └─165 /lib/systemd/systemd-udevd
             ├─rng-tools.service
             │ └─452 /usr/sbin/rngd -r /dev/hwrng
             ├─polkit.service
             │ └─642 /usr/lib/policykit-1/polkitd --no-debug
             ├─bluetooth.service
             │ └─733 /usr/lib/bluetooth/bluetoothd --compat --experimental --noplugin=sap
             ├─systemd-journald.service
             │ └─121 /lib/systemd/systemd-journald
             ├─ssh.service
             │ └─841 /usr/sbin/sshd -D
             ├─snapd.service
             │ └─475 /usr/lib/snapd/snapd
             ├─system-devmon.slice
             │ └─devmon@root.service
             │   ├─464 /bin/bash /usr/bin/devmon
             │   └─691 /usr/bin/udevil --monitor
             ├─dhcpcd.service
             │ └─833 /sbin/dhcpcd -q -w
             ├─mod-ttymidi.service
             │ └─697 /usr/local/bin/ttymidi -s /dev/ttyAMA0 -b 38400
             ├─udisks2.service
             │ └─453 /usr/lib/udisks2/udisksd
             ├─dbus.service
             │ └─442 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile -
             ├─systemd-timesyncd.service
             │ └─398 /lib/systemd/systemd-timesyncd
             ├─a2jmidid.service
             │ └─698 /usr/bin/a2jmidid
             ├─system-getty.slice
             │ └─getty@tty1.service
             │   └─844 /sbin/agetty -o -p -- \u --noclear tty1 linux
             ├─avahi-daemon.service
             │ ├─468 avahi-daemon: running [zynthian.local]
             │ └─526 avahi-daemon: chroot helper
             └─systemd-logind.service
               └─472 /lib/systemd/systemd-logind
root@zynthian:~# uit
-bash: uit: command not found
root@zynthian:~# ls
cmake-3.22.1         cmake-3.31.4         first_boot.log  gcc-11.3.0.tar.gz  zynthian-sys
cmake-3.22.1.tar.gz  cmake-3.31.4.tar.gz  gcc-11.3.0      Pd
root@zynthian:~# ps -aux | grep zynthian
avahi      468  0.0  0.0   5884  2816 ?        Ss   03:21   0:00 avahi-daemon: running [zynthian.local]
root       483  0.0  0.0   1932  1024 ?        Ss   03:21   0:00 /bin/sh /usr/bin/startx ./zynthian.sh -- -r -nocursor -s 0
root       591  0.0  0.0   3864  2048 ?        S    03:21   0:00 xinit ./zynthian.sh -- /usr/bin/X :0 -r -nocursor -s 0 -auth /tmp/serverauth.lcF4QvR8LC
root       730  0.1  0.0   7920  2560 ?        S    03:21   0:00 /bin/bash ./zynthian.sh
root      3032  0.5  0.0   7792  2560 ?        Ss   03:29   0:00 /bin/bash /zynthian/zynthian-webconf/zynthian_webconf.sh
root      3041  163  0.7  45748 29588 ?        R    03:29   0:01 /usr/bin/python3 ./zynthian_webconf.py
root      3042  0.0  0.5  37460 21904 ?        R    03:29   0:00 /usr/bin/python3 ./zynthian_main.py
root      3044  0.0  0.0   7344  1792 pts/0    S+   03:29   0:00 grep zynthian
root@zynthian:~# ^
1 Like

I hope it doesn’t come out as an insensitive or disrespectful comment, in what is probably for you a quite irritating predicament @seanwayland, but this is definitely a very good one! :laughing:

Dear @seanwayland !

I see you are using a very very old version of zynthianOS. Indeed, it’s not supported from a very long time ago. You MUST download and burn the SD card with the last version “Oram” that is a 64 bit image based in bullseye:

https://os.zynthian.org/zynthianos-last-stable.img.xz

Once installed and running, don’t forget to update the system to get the latest updates.

Regards,

1 Like

Isn’t hindsight wonderfully frustrating! If you had installed the current version then you would already have the dependencies you require for your project! Good luck with Oram.

Thanks fo your replies . I assume I have to open up the unit to flash the sd card again yes ? No way to do that via scp or ssh ?

You must extract the uSD card and flash an image to it in another machine then put it back in the zynthian.

we are cooking with gas thanks gentleman !

seanwayland@Air-de-sean zynthian % ssh root@zynthian.local     
The authenticity of host 'zynthian.local (192.168.1.235)' can't be established.
ECDSA key fingerprint is SHA256:bqInXu9DACvWG7fGw9+GLQMNXEbysRdBd2tCtzt7Jwo.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'zynthian.local' (ECDSA) to the list of known hosts.
root@zynthian.local's password: 

 ##########################       ----------------------------------------
#                          #      ZynthianOS ORAM-2409
#            ##            #      Timestamp: 2024-10-02
#      ##   #  #   ##      #      Built from RaspberryPiOS Bookworm (aarch64)
#     #  #  #  #  #  #     #      ----------------------------------------
###   #  #  #  #  #  #   ###      Kit:           V5
#  #  #  #  #  #  #  #  #  #      Display:       MIPI DSI 800x480 (inverted)
#   ##   #  #  #  #   ##   #      Soundcard:     V5 ADAC
#         ##    ##         #      Wiring Layout: V5
#                          #      ----------------------------------------
 ##########################
                                  zynthian-ui: oram (f43f29)
                                  zynthian-webconf: oram (b53039)
                                  zyncoder: oram (71de6d)
                                  zynthian-sys: oram (a717e4)
                                  zynthian-data: oram (ddfa00)
                                  ---------------------------------------

Linux zynthian 6.6.47-v8+ #1794 SMP PREEMPT Thu Aug 29 16:29:21 BST 2024 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.
(venv) root@zynthian:~# cmake --version
cmake version 3.25.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
(venv) root@zynthian:~# gcc --version
gcc (Debian 12.2.0-14) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(venv) root@zynthian:~# 

nice !

[ 78%] Linking CXX shared module "waylochorus2_artefacts/LV2/Waylo Chorus 2.lv2/libWaylo Chorus 2.so"
[ 78%] Built target waylochorus2_LV2
[ 80%] Building CXX object CMakeFiles/juce_vst3_helper.dir/_deps/juce-src/modules/juce_audio_plugin_client/VST3/juce_VST3ManifestHelper.cpp.o
[ 82%] Linking CXX executable juce_vst3_helper
[ 82%] Built target juce_vst3_helper
[ 84%] Building CXX object CMakeFiles/waylochorus2_VST3.dir/_deps/juce-src/modules/juce_audio_plugin_client/juce_audio_plugin_client_AAX.cpp.o
[ 86%] Building CXX object CMakeFiles/waylochorus2_VST3.dir/_deps/juce-src/modules/juce_audio_plugin_client/juce_audio_plugin_client_AAX_utils.cpp.o
[ 88%] Building CXX object CMakeFiles/waylochorus2_VST3.dir/_deps/juce-src/modules/juce_audio_plugin_client/juce_audio_plugin_client_ARA.cpp.o
[ 90%] Building CXX object CMakeFiles/waylochorus2_VST3.dir/_deps/juce-src/modules/juce_audio_plugin_client/juce_audio_plugin_client_LV2.cpp.o
[ 92%] Building CXX object CMakeFiles/waylochorus2_VST3.dir/_deps/juce-src/modules/juce_audio_plugin_client/juce_audio_plugin_client_Standalone.cpp.o
[ 94%] Building CXX object CMakeFiles/waylochorus2_VST3.dir/_deps/juce-src/modules/juce_audio_plugin_client/juce_audio_plugin_client_Unity.cpp.o
[ 96%] Building CXX object CMakeFiles/waylochorus2_VST3.dir/_deps/juce-src/modules/juce_audio_plugin_client/juce_audio_plugin_client_VST2.cpp.o
[ 98%] Building CXX object CMakeFiles/waylochorus2_VST3.dir/_deps/juce-src/modules/juce_audio_plugin_client/juce_audio_plugin_client_VST3.cpp.o
[100%] Linking CXX shared module "waylochorus2_artefacts/VST3/Waylo Chorus 2.vst3/Contents/aarch64-linux/Waylo Chorus 2.so"
removing moduleinfo.json
creating /home/waylo/build/waylochorus2_artefacts//VST3/Waylo Chorus 2.vst3/Contents/Resources/moduleinfo.json
[100%] Built target waylochorus2_VST3
1 Like