Hello! i have a little problem with Sonic-Pi.
I have been using sonic-pi for 1 year. Without any kind of problem.
But this week, after my vacation, sonic-pi stopped booting.
Patchage shows me that the server starts, but sonic-pi never goes through the splash screen. After a few minutes it shows me the error log. And it tells me that it cannot find certain files related to Jack.
My system is Manjaro 21.2.
Sonic Pi Boot Error Report
==================
System Information
----------------
* Sonic Pi version: 3.3.1
* OS: Manjaro Linux
GUI Log
-------
**`/home/fede/.sonic-pi/log/gui.log`**
[GUI] -
[GUI] -
[GUI] -
[GUI] - Welcome to the Sonic Pi GUI
[GUI] - ===========================
[GUI] -
[GUI] - {4f0435ee-527b-4e05-82d0-6b3dc246ec64}
[GUI] - ui locale: es-AR
[GUI] - sys locale: es_AR
[GUI] - translations available
[GUI] - Discovering port numbers…
[GUI] - Port entry server-listen-to-gui : 51235 : 51235
[GUI] - Port entry gui-send-to-server : 51235 : 51235
[GUI] - Port entry gui-listen-to-server : 51236 : 51236
[GUI] - Port entry server-send-to-gui : 51236 : 51236
[GUI] - Port entry scsynth : 51237 : 51237
[GUI] - Port entry scsynth-send : 51237 : 51237
[GUI] - Port entry server-osc-cues : 4560 : 4560
[GUI] - Port entry erlang-router : 51238 : 51238
[GUI] - Port entry websocket : 51239 : 51239
[GUI] - Detecting port numbers…
[GUI] - GUI listen to server port 51236
[GUI] - port: 51236 [OK]
[GUI] - Server listen to gui port 51235
[GUI] - port: 51235 [OK]
[GUI] - Server incoming OSC cues port 4560
[GUI] - port: 4560 [OK]
[GUI] - Scsynth port 51237
[GUI] - port: 51237 [OK]
[GUI] - Server send to GUI port 51236
[GUI] - port: 51236 [OK]
[GUI] - GUI send to server port 51235
[GUI] - port: 51235 [OK]
[GUI] - Scsynth send port 51237
[GUI] - port: 51237 [OK]
[GUI] - Erlang router port 51238
[GUI] - port: 51238 [OK]
[GUI] - Websocket port 51239
[GUI] - port: 51239 [OK]
[GUI] - All ports OK
[GUI] - hiding main window
[GUI] - initialising toolbar icons
[GUI] - setting up window structure
[GUI] - restoring scope states
[GUI] - creating status bar
[GUI] - creating info panel
[GUI] - creating shortcuts
[GUI] - creating tool bar
[GUI] - initialising documentation window
[GUI] - launching Sonic Pi Runtime Server:
[GUI] - starting UDP OSC Server on port 51236…
[GUI] - UDP OSC Server ready and listening
[GUI] - Ruby server pid registered: 1641
[GUI] - wait for sync
[GUI] - waiting for Sonic Pi Server to boot…
.
[GUI] - Sonic Pi Server failed to start with this error message:
> Server Exception:
No such file or directory - jack_connect
["/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:464:in ``’", “/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:464:in boot_server_linux'", "/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:172:in
boot’”, “/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:58:in initialize'", "/usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in
new’”, “/usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in initialize'", "/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in
new’”, “/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in init_scsynth'", "/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:52:in
initialize’”, “/usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in new'", "/usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in
block (2 levels) in included’”, “/usr/lib/sonic-pi/server/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included'", "/usr/bin/../../usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in
new’”, “/usr/bin/…/…/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in `’”]
[GUI] - UDP OSC Server no longer listening
…
[GUI] - Critical error! Could not boot Sonic Pi Server.
[GUI] - stopping UDP OSC Server…
[GUI] - Critical Error. Unable to connect to server…
Server Errors
-------------
**`/home/fede/.sonic-pi/log/server-errors.log`**
[W][00194.737700] default | [ control.c: 87 jackctl_server_create2()] not implemented 0x55f7bfad94c0 0x55f7bfad9630 0x55f7bfad96f0
[W][00194.737781] default | [ control.c: 174 jackctl_server_get_parameters()] 0x55f7c09087b0: not implemented
[W][00194.737794] default | [ control.c: 162 jackctl_server_get_drivers_list()] 0x55f7c09087b0: not implemented
[W][00194.737802] default | [ control.c: 245 jackctl_driver_get_name()] 0x55f7c09087d0: not implemented
Unknown driver “alsa”
[W][00194.737811] default | [ control.c: 114 jackctl_server_destroy()] 0x55f7c09087b0: not implemented
Server Output
-------------
**`/home/fede/.sonic-pi/log/server-output.log`**
Sonic Pi server booting…
The time is 2022-01-25 13:01:54 -0300
Using primary protocol: udp
Detecting port numbers…
Listen port: 51235
- OK
Scsynth port: 51237 - OK
Scsynth send port: 51237 - OK
OSC cues port: 4560 - OK
Erlang port: 51238 - OK
Websocket port: 4562 - OK
Opening UDP Server to listen to GUI on port: 51235
Starting Server Runtime
Booting server…
Booting Sonic Pi
Booting on Linux
Jackd not running on system. Starting…
Boot - Starting the SuperCollider server…
jackdmp 1.9.20
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2021 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Boot - SuperCollider booted successfully.
Boot - Connecting to the SuperCollider server…
Boot - Sending /status to server: 127.0.0.1:51237
Boot - Receiving ack from scsynth
Boot - Server connection established
Failed to start server: No such file or directory - jack_connect
/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:464:in ``’
/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:464:in boot_server_linux' /usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:172:in
boot’
/usr/lib/sonic-pi/server/lib/sonicpi/scsynthexternal.rb:58:in initialize' /usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in
new’
/usr/lib/sonic-pi/server/lib/sonicpi/server.rb:80:in initialize' /usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in
new’
/usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:117:in init_scsynth' /usr/lib/sonic-pi/server/lib/sonicpi/studio.rb:52:in
initialize’
/usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in new' /usr/lib/sonic-pi/server/lib/sonicpi/lang/sound.rb:89:in
block (2 levels) in included’
/usr/lib/sonic-pi/server/lib/sonicpi/lang/ixi.rb:72:in block (2 levels) in included' /usr/bin/../../usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in
new’
/usr/bin/…/…/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb:344:in <main>' ERROR: Unable to write information for PID 1654 to path /tmp/sonic-pi-pids/1654! undefined method
cmdline’ for nil:NilClass
Started [1656] [-] scsynth -u 51237 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1 [-] /tmp/sonic-pi-pids/1656
Scsynth Output
--------------
**`/home/fede/.sonic-pi/log/scsynth.log`**
Starting SuperCollider 2022-01-25 13:01:54
Found 0 LADSPA plugins
Faust: supercollider.cpp: sc_api_version = 3
Faust: FaustGreyholeRaw numControls=7
Faust: supercollider.cpp: sc_api_version = 3
Faust: FaustJPverbRaw numControls=11
JackDriver: client name is ‘SuperCollider’
SC_AudioDriver: sample rate = 48000.000000, driver’s block size = 1024
SuperCollider 3 server ready.
Process Log
--------------
**`/home/fede/.sonic-pi/log/processes.log`**
ask-clear.rb
Clearing pids: []
No pids to clear
Started [1641] [-] /usr/bin/ruby --enable-frozen-string-literal -E utf-8 /usr/bin/…/…/usr/lib/sonic-pi/server/bin/sonic-pi-server.rb -u 51235 51236 51237 51237 4560 51238 51239 [-] /tmp/sonic-pi-pids/1641
ERROR: Unable to write information for PID 1654 to path /tmp/sonic-pi-pids/1654!
undefined method `cmdline’ for nil:NilClass
Started [1656] [-] scsynth -u 51237 -a 1024 -m 131072 -D 0 -R 0 -l 1 -i 16 -o 16 -b 4096 -B 127.0.0.1 [-] /tmp/sonic-pi-pids/1656
Cheers