Trying to reuse an old project

Hi,

I currently try to reuse an old project that I worked on quite 4(?) years ago. I made in that time a dashboard based on an Electron + React combination and I wanted to reuse that for a current project, but somehow I have problems to get it back on track (I didn’t do much raspberry things lately).
The good news is: I can build from the old files (tho with old versions, I have also a few warnings) but I don’t get any picture (I connected a full HD Dell Monitor with HDMI).

Originally I used this repo as the base: GitHub - balenalabs/balena-electronjs: electronJS-based resin application template (When it was still resin).
When I build and run it I get the following logs, now I don’t know if I just have to update the Electron version or this the problem is somewhere else. If someone would have a hint for me that would be great.

 main  hostname: No address associated with hostname
 main  xauth: (stdin):1:  bad display name "991f0f5:1" in "add" command
 main  
 main  
 main  X.Org X Server 1.19.2
 main  Release Date: 2017-03-02
 main  X Protocol Version 11, Revision 0
 main  Build Operating System: Linux 4.9.41-v7+ armv7l Raspbian
 main  Current Operating System: Linux 991f0f5 5.10.31-v7 #1 SMP Fri Apr 23 15:16:49 UTC 2021 armv7l
 main  Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000  dwc_otg.lpm_enable=0 console=null rootwait vt.global_cursor_default=0 cgroup_enable=memory root=UUID=ba1eadef-0566-41f4-bce6-38ccd0b27031 rootwait
 main  Build Date: 18 October 2017  04:55:30PM
 main  xorg-server 2:1.19.2-1+rpt1+deb9u2 (https://www.debian.org/support) 
 main  Current version of pixman: 0.34.0
 main   Before reporting problems, check http://wiki.x.org
 main   to make sure that you have the latest version.
 main  Markers: (--) probed, (**) from config file, (==) default setting,
 main   (++) from command line, (!!) notice, (II) informational,
 main   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 main  (==) Log file: "/var/log/Xorg.1.log", Time: Mon Jul 25 13:17:56 2022
 main  (==) Using system config directory "/usr/share/X11/xorg.conf.d"
 main  Electron 1.6.x has reached the end of its support cycle.
 main   Developers are encouraged to upgrade their applications to a newer series.
 main   Read about newer series at https://electronjs.org/releases .
 main   Read about Electron support at https://electronjs.org/docs/tutorial/support#supported-versions .
 main  [44:0725/131827.706944:ERROR:bus.cc(427)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
 main  [44:0725/131827.952040:WARNING:audio_manager.cc(317)] Multiple instances of AudioManager detected
 main  [44:0725/131827.952317:WARNING:audio_manager.cc(278)] Multiple instances of AudioManager detected
 main  [44:0725/131828.592040:ERROR:bus.cc(427)] Failed to connect to the bus: /usr/bin/dbus-launch terminated abnormally without any error message
 main  listing on 80
 main  show window of electron
 

Thanks!

Hi Sebastian,

I am not entirely sure if this is related to the Electron version, but I found the following articles which discuss this issue from a few years back. Since it seems to be tied to an older version of Electron, I would try updationg and seeing how that goes for you.
This is a thread in the balena forums which discusses the error which you are experiencing. And this is an old balena issue which discusses the error you are experiencing when running electron on a Raspberry Pi.

Let us know how it went and if you have any other questions!

Kind regards,
Julia