Updated software, now getting ERROR screen [SOLVED]

I clicked on Update Software on the Admin screen and it appeared to work. (Oct 8 21:40 PST)
I clicked on Reboot.
Now I just get the zynthian ERROR screen.
I can still ssh into the RaspberryPi.

Try updating again from CL for viewing the logs. If it doesn’t work, you could try to start with a fresh Gorgona Omega image and update again.

Regards,

you need to open zynth config go to jalv page scan for new plugins and then save. mine worked after this :slightly_smiling_face:

@jofemodo, maybe it has to be more error prone…what if the file doesn’t exist?

Then the Zynthian-UI will take the default hardcoded plugin list :wink:

A couple of points:

I’m trying to write documentation for an ordinary user. In that process I “pretend” to be not very knowledgeable when I’m using the Zynthian. Or maybe I am actually not knowledgeable about it!
When I experience something that would cause an ordinary user to panic, I report it.
Clicking on Update Software and having it appear to break my Zynthian is not a good experience.
When something like this happens, it would be more useful to provide step-by-step instructions usable by anyone on how to recover.

I get that the most obvious solution is to flash a new SDcard from the latest image.

However, I have a bunch of settings for my specific hardware (different touchscreen and different sound device) that I don’t want to lose. I have not written them down, as would have been wise.
Also I have a bunch of sound fonts and samples I don’t want to have to reload.

So I’m looking for an alternative to starting from scratch, flashing an SDcard.
I can ssh to the command line. Exactly what do I type at the command-line to cause another update to happen? Is that what I need to do to correct the error, without having to flash an SDcard?

1 Like

Hi Glenn!

I would try to updata again from the command line:

/zynthian/zynthian-sys/scripts/update_zynthian.sh

http://wiki.zynthian.org/index.php/Zynthian_Box_Updating

If still getting the error, run the UI from command line and send the log output:

systemctl stop zynthian
/zynthian/zynthian-sys/sbin/zynthian.sh

http://wiki.zynthian.org/index.php/Command_Line_User_Guide#Stopping.2FStarting_the_Zynthian_UI

It’s pending over my desk to make a decent diagnostic system using the webconf tool. I will try to work on it in the next weeks :wink:

Anyway, it would be nice to have a “Common Mistakes & Reporting Errors” section in the wiki, or something like that …

BTW, i hope to have a time window for making some videos very soon :wink:

Kind Regards,

Here is the output from update_zynthian.sh
root@zynthian:/zynthian/zynthian-sys/scripts# ./update_zynthian.sh
Updating zynthian-sys …
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 4), reused 1 (delta 0), pack-reused 0
Unpacking objects: 100% (5/5), done.
From GitHub - zynthian/zynthian-sys: System configuration scripts & files for Zynthian.
c52ed1b…dd1af33 master → origin/master
Updating 7541425…dd1af33
error: The following untracked working tree files would be overwritten by merge:
boot/overlays/waveshare32b-overlay.dtbo
boot/overlays/waveshare35a-overlay.dtbo
boot/overlays/waveshare35b-overlay.dtbo
boot/overlays/waveshare35cpld-overlay.dtbo
Please move or remove them before you can merge.
Aborting
Updating System configuration …
SOUNDCARD CONFIG =>
DISPLAY CONFIG => disable_overscan=1\n
Updating zynthian recipes …
Executing /zynthian/zynthian-sys/scripts/recipes.update/01_setup_zynthian_multil ayer.sh …
Already upgraded to multilayer!
Executing /zynthian/zynthian-sys/scripts/recipes.update/02_setup_zynthian_webcon f.sh …
Already upgraded to webconf!
Executing /zynthian/zynthian-sys/scripts/recipes.update/03_setup_zynthian_master .sh …
Already upgraded to master!
Executing /zynthian/zynthian-sys/scripts/recipes.update/04_setup_zynthian_edge.s h …
Executing /zynthian/zynthian-sys/scripts/recipes.update/update_dexed_dcoredump.s h …
From GitHub - dcoredump/dexed.lv2: FM multi plaform/multi format plugin

  • branch native-lv2 → FETCH_HEAD
    Executing /zynthian/zynthian-sys/scripts/recipes.update/update_linuxsampler.sh . …
    Already updated to linuxsampler-2.0!
    Executing /zynthian/zynthian-sys/scripts/recipes.update/update_modui.sh …
    Executing /zynthian/zynthian-sys/scripts/recipes.update/update_setBfree.sh …
    Updating zyncoder …
    Already up-to-date.
    ++ Defined HAVE_WIRINGPI_LIB
    ++ Using wiringPI
    – Configuring done
    – Generating done
    – Build files have been written to: /zynthian/zyncoder/build
    [ 60%] Built target zyncoder
    [100%] Built target zyncoder_test
    Updating zynthian-ui …
    remote: Enumerating objects: 12, done.
    remote: Counting objects: 100% (12/12), done.
    remote: Compressing objects: 100% (2/2), done.
    remote: Total 12 (delta 10), reused 12 (delta 10), pack-reused 0
    Unpacking objects: 100% (12/12), done.
    From GitHub - zynthian/zynthian-ui: User Interface for Zynthian
    af943e0…2db8c13 master → origin/master
    Updating af943e0…2db8c13
    Fast-forward
    zyngine/zynthian_engine_jalv.py | 20 ++++++±-------
    zyngine/zynthian_engine_pianoteq.py | 3 +±
    zyngui/zynthian_gui_engine.py | 47 ++++++++++++++++++++++±------------
    zyngui/zynthian_gui_layer.py | 21 +++++++++±-----
    zyngui/zynthian_gui_layer_options.py | 2 ±
    5 files changed, 57 insertions(+), 36 deletions(-)
    Updating zynthian-webconf …
    remote: Enumerating objects: 10, done.
    remote: Counting objects: 100% (10/10), done.
    remote: Compressing objects: 100% (2/2), done.
    remote: Total 10 (delta 8), reused 10 (delta 8), pack-reused 0
    Unpacking objects: 100% (10/10), done.
    From GitHub - zynthian/zynthian-webconf: Web Configuration Tool
    a9489f8…e27a621 master → origin/master
    error: git-pull died of signal 13
    Warning: Unit file of zynthian-webconf.service changed on disk, ‘systemctl daemo n-reload’ recommended.
    Warning: Unit file of zynthian-webconf.service changed on disk, ‘systemctl daemo n-reload’ recommended.

Here is the output from
root@zynthian:~# systemctl stop zynthian
root@zynthian:~# /zynthian/zynthian-sys/sbin/zynthian.sh

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
Current Operating System: Linux zynthian 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l
Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=800 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Build Date: 11 November 2016 11:59:59AM
xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
Current version of pixman: 0.33.3
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.0.log”, Time: Tue Oct 9 05:55:53 2018
(==) Using config directory: “/etc/X11/xorg.conf.d”
(==) Using system config directory “/usr/share/X11/xorg.conf.d”
./zynthian.sh: line 43: /zynthian/zynthian-my-data/midi-profiles/default.sh: No such file or directory
INFO:root:No Wiring Layout configured. Only touch interface is available.
DEBUG:root:ZYNCODER A: [0, 0, 0, 0]
DEBUG:root:ZYNCODER B: [0, 0, 0, 0]
DEBUG:root:SWITCHES layout: [0, 0, 0, 0]
DEBUG:root:DISABLED_MIDI_IN = [’’]
DEBUG:root:ENABLED_MIDI_OUT = [‘MIDI_out’]
Traceback (most recent call last):
File “./zynthian_gui.py”, line 39, in
import zynautoconnect
File “/zynthian/zynthian-ui/zynautoconnect/init.py”, line 5, in
from zynautoconnect.zynthian_autoconnect import *
File “/zynthian/zynthian-ui/zynautoconnect/zynthian_autoconnect.py”, line 35, in
from zyngui import zynthian_gui_config
File “/zynthian/zynthian-ui/zyngui/init.py”, line 27, in
from zyngui.zynthian_gui_controller import zynthian_gui_controller
File “/zynthian/zynthian-ui/zyngui/zynthian_gui_controller.py”, line 38, in
from zyngine import zynthian_controller
File “/zynthian/zynthian-ui/zyngine/init.py”, line 30, in
from zyngine.zynthian_engine_puredata import *
File “/zynthian/zynthian-ui/zyngine/zynthian_engine_puredata.py”, line 30, in
import oyaml as yaml
ImportError: No module named ‘oyaml’

It seems that something failed during the update and oyaml package was not installed. Try this:

pip3 install oyaml
reboot

Regards,

pip3 installed oyaml OK, but still get ERROR screen on reboot.

OK! I see …Try this:

cd /zynthian/zynthian-sys
rm -f ./boot/overlays/waveshare32b-overlay.dtbo
rm -f ./boot/overlays/waveshare35a-overlay.dtbo
rm -f ./boot/overlays/waveshare35b-overlay.dtbo
rm -f ./boot/overlays/waveshare35cpld-overlay.dtbo
./scripts/update_zynthian.sh

Regards,

Ok that seemed to have fixed something. The update got a lot further, Installing a bunch stuff like Jack stuff, Pianoteq.
Then the ssh connection died at this point:

Get:10 http://mirrordirector.raspbian.org/raspbian/ jessie/main libatomic1 armhf 4.9.2-10+deb8u1 [6,806 B]
Get:11 http://mirrordirector.raspbian.org/raspbian/ jessie/main libasan1 armhf 4 .9.2-10+deb8u1 [165 kB]
Get:12 http://mirrordirector.raspbian.org/raspbian/ jessie/main libubsan0 armhf 4.9.2-10+deb8u1 [68.3 kB]
Get:13 http://mirrordirector.raspbian.org/raspbian/ jessie/main cpp-4.9 armhf 4. 9.2-10+deb8u1 [4,271 kB]
Get:14 http://mirrordirector.raspbian.org/raspbian/ jessie/main g+±4.9 armhf 4. 9.2-10+deb8u1 [11.9 MB]
Get:15 http://mirrordirector.raspbian.org/raspbian/ jessie/main gcc-4.9 armhf 4. 9.2-10+deb8u1 [4,449 kB]
16% [14 g+±4.9 5,583 kB/11.9 MB 47%] [Connecting to mirrors.syringanetworks.ne

UPDATE: I fixed this isssue by running:
sudo update-ca-certificates

I’m running /zynthian/zynthian-sys/scripts/update_zynthian.sh

I’m getting this error:

fatal: unable to access ‘https://github.com/zynthian/zynthian-webconf.git/’: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

Webconf has a backup/restore section. In case you want to start with a fresh sd :slight_smile:

Can’t access Webconf as I’m still getting the ERROR page.

So I think I’ve got it updated OK. But it still gives the ERROR page.
Here’s the output from running update:

root@zynthian:~# /zynthian/zynthian-sys/scripts/update_zynthian.sh
Updating zynthian-sys …
Already up-to-date.
Updating zynthian recipes …
Executing /zynthian/zynthian-sys/scripts/recipes.update/00_install_packages.sh …
Executing /zynthian/zynthian-sys/scripts/recipes.update/01_setup_zynthian_multilayer.sh …
Already upgraded to multilayer!
Executing /zynthian/zynthian-sys/scripts/recipes.update/02_setup_zynthian_webconf.sh …
Already upgraded to webconf!
Executing /zynthian/zynthian-sys/scripts/recipes.update/03_setup_zynthian_master.sh …
Already upgraded to master!
Executing /zynthian/zynthian-sys/scripts/recipes.update/04_setup_zynthian_edge.sh …
Executing /zynthian/zynthian-sys/scripts/recipes.update/05_setup_zynthian_omega.sh …
Executing /zynthian/zynthian-sys/scripts/recipes.update/06_setup_zynthian_beyond.sh …
Executing /zynthian/zynthian-sys/scripts/recipes.update/update_dexed_dcoredump.sh …
From https://github.com/dcoredump/dexed

  • branch native-lv2 -> FETCH_HEAD
    Executing /zynthian/zynthian-sys/scripts/recipes.update/update_linuxsampler.sh …
    Already updated to linuxsampler-2.0!
    Executing /zynthian/zynthian-sys/scripts/recipes.update/update_modui.sh …
    Executing /zynthian/zynthian-sys/scripts/recipes.update/update_setBfree.sh …
    Updating zynthian-data …
    Already up-to-date.
    Updating System configuration …
    SOUNDCARD CONFIG =>
    DISPLAY CONFIG => disable_overscan=1\n
    Aeolus Waves already exist!
    Updating zyncoder …
    Already up-to-date.
    ++ Defined HAVE_WIRINGPI_LIB
    ++ Using wiringPI
    – Configuring done
    – Generating done
    – Build files have been written to: /zynthian/zyncoder/build
    [ 60%] Built target zyncoder
    [100%] Built target zyncoder_test
    Updating zynthian-ui …
    Already up-to-date.
    Updating zynthian-webconf …
    root@zynthian:~#

And here what I get when I run
systemctl stop zynthian
/zynthian/zynthian-sys/sbin/zynthian.sh

root@zynthian:~# /zynthian/zynthian-sys/sbin/zynthian.sh

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
Current Operating System: Linux zynthian 4.14.74-v7+ #1149 SMP Mon Oct 8 17:39:42 BST 2018 armv7l
Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=800 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
Build Date: 11 November 2016 11:59:59AM
xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
Current version of pixman: 0.33.3
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.0.log”, Time: Thu Oct 11 00:05:07 2018
(==) Using config directory: “/etc/X11/xorg.conf.d”
(==) Using system config directory “/usr/share/X11/xorg.conf.d”
INFO:root:No Wiring Layout configured. Only touch interface is available.
DEBUG:root:ZYNCODER A: [0, 0, 0, 0]
DEBUG:root:ZYNCODER B: [0, 0, 0, 0]
DEBUG:root:SWITCHES layout: [0, 0, 0, 0]
DEBUG:root:DISABLED_MIDI_IN = [’’]
DEBUG:root:ENABLED_MIDI_OUT = [‘MIDI_out’]
Zyncoder: Zynswitches poll thread created successfully
Cannot open ZynMidiRouter client
ZynMidiRouter: Error connecting with jack server.
ZynMidiRouter: MIDI tuning frequency set to 440 Hz (8192)
./zynthian.sh: line 124: 21603 Segmentation fault ./zynthian_gui.py

OK Thanks guys. Got it working.
Did a Data Backup and a System Backup using Webconf.

I have an ERROR after the update too. Maybe someone can advise me were to dig ? Installing fresh Gorgona image might be not easy for me till 27.10…

Here are the logs:

root@zynthian:~# systemctl stop zynthian

root@zynthian:~# /zynthian/zynthian-sys/sbin/zynthian.sh

X.Org X Server 1.18.4

Release Date: 2016-07-19

X Protocol Version 11, Revision 0

Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian

Current Operating System: Linux zynthian 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l

Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

Build Date: 11 November 2016 11:59:59AM

xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)

Current version of pixman: 0.33.3

Before reporting problems, check http://wiki.x.org

to make sure that you have the latest version.

Markers: (–) probed, (**) from config file, (==) default setting,

(++) from command line, (!!) notice, (II) informational,

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

(==) Log file: “/var/log/Xorg.0.log”, Time: Fri Oct 12 16:10:22 2018

(==) Using config directory: “/etc/X11/xorg.conf.d”

(==) Using system config directory “/usr/share/X11/xorg.conf.d”

INFO:root:Wiring Layout MCP23017_ENCODERS

DEBUG:root:ZYNCODER A: [102, 105, 110, 113]

DEBUG:root:ZYNCODER B: [101, 104, 109, 112]

DEBUG:root:SWITCHES layout: [100, 103, 108, 111]

DEBUG:root:DISABLED_MIDI_IN = [’’]

DEBUG:root:ENABLED_MIDI_OUT = [‘ttymidi:MIDI_out’, ‘a2j:Midi_Through_[14]_(playback):_Midi_Through_Port-0’]

ZynMidiRouter: MIDI tuning frequency set to 440 Hz (8192)

INFO:root:SWITCHES INIT…

INFO:root:SETUP GPIO SWITCH 0 => 100

INFO:root:SETUP GPIO SWITCH 1 => 103

INFO:root:SETUP GPIO SWITCH 2 => 108

INFO:root:SETUP GPIO SWITCH 3 => 111

Fontconfig warning: ignoring UTF-8: not a valid region tag

INFO:root:STOPPING QMIDINET

Traceback (most recent call last):

File “./zynthian_gui.py”, line 673, in <module>

zyngui.start()

File “./zynthian_gui.py”, line 149, in start

self.screens[‘engine’]=zynthian_gui_engine()

File “/zynthian/zynthian-ui/zyngui/zynthian_gui_engine.py”, line 58, in init

self.init_engine_info()

File “/zynthian/zynthian-ui/zyngui/zynthian_gui_engine.py”, line 84, in init_engine_info

if plugin_info[‘TYPE’]==self.engine_type or self.engine_type is None:

TypeError: string indices must be integers


after that it goes in the loop :frowning:

Hi Andreii!

You should try to “search for new plugins” and “save” from the webconf. It will regenerate the related configuración files.
Restart your zynthian …

Regards!

Hello @jofemodo, thanks again for your support ! It has worked !!!

1 Like