Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error opening v1.54.1 and v1.54.2: failed to load accounts config: channel closed. #4748

Open
rakoo opened this issue Mar 7, 2025 · 5 comments
Labels
bug Something isn't working wait-for-core Waiting for an related core issue to be resolved

Comments

@rakoo
Copy link

rakoo commented Mar 7, 2025

  • Operating System (Linux/Mac/Windows/iOS/Android): Manjaro
  • Delta Chat Version: 1.54.1 or 1.54.2
  • Expected behavior: it starts
  • Actual behavior: it doesn't start
  • Steps to reproduce the problem: try to start the program
  • Logs:
2025-03-07T08:51:23.947Z	main/index            	INFO	""	"Deltachat Version 1.54.1 v1.54.1-makepkg 1739871136000"
2025-03-07T08:51:24.046Z	main/index            	INFO	""	"cwd /home/rako/.config/DeltaChat/accounts"
2025-03-07T08:51:24.050Z	main/deltachat        	INFO	""	"using deltachat-rpc-server at"	{"serverPath":"/usr/lib/deltachat-desktop/app.asar.unpacked/node_modules/@deltachat/stdio-rpc-server-linux-x64/deltachat-rpc-server"}
2025-03-07T08:51:24.054Z	main/deltachat        	INFO	""	"HI"
2025-03-07T08:51:24.054Z	main/deltachat        	INFO	""	"Ready, starting accounts io..."
2025-03-07T08:51:24.054Z	main/deltachat        	INFO	""	"Started accounts io."
2025-03-07T08:51:27.168Z	DC-RPC                	ERROR	"\nSocket.<anonymous> (file:///usr/lib/deltachat-desktop/app.asar/bundle_out/index.js:115:119),\nSocket.emit (node:events:518:28),\naddChunk (node:internal/streams/readable:561:12),\nreadableAddChunkPushByteMode (node:internal/streams/readable:512:3),\nReadable.push (node:internal/streams/readable:392:5),\nPipe.onStreamRead (node:internal/stream_base_commons:191:23)"	"stderr: \u001b[2m2025-03-07T08:51:27.161786Z\u001b[0m \u001b[31mERROR\u001b[0m \u001b[2mdeltachat_rpc_server\u001b[0m\u001b[2m:\u001b[0m Fatal error: failed to load accounts config: channel closed."
2025-03-07T08:51:27.175Z	DC-RPC                	INFO	""	"child process exited with code 1"
2025-03-07T08:51:27.177Z	DC-RPC                	CRITICAL	"\nChildProcess.<anonymous> (file:///usr/lib/deltachat-desktop/app.asar/bundle_out/index.js:115:439),\nChildProcess.emit (node:events:518:28),\nChildProcess._handle.onexit (node:internal/child_process:293:12)"	"Fatal: The Delta Chat Core exited unexpectedly"	1

This started to happen with the migration to v1.54.1 and also failed with v1.54.2, I don't know what to do exactly to fix the issue

@WofWca
Copy link
Collaborator

WofWca commented Mar 7, 2025

Thanks for the report!

Other users are reporting a similar issue, and they say restarting the machine helps. Please see if this workaround works for you.

The error is printed here

log.critical('Fatal: The Delta Chat Core exited unexpectedly', code)

it means that the core process exited.

@WofWca WofWca added the bug Something isn't working label Mar 7, 2025
@rakoo
Copy link
Author

rakoo commented Mar 7, 2025 via email

@rakoo
Copy link
Author

rakoo commented Mar 7, 2025

I'm closing this issue because I assume nothing specific will be done, I'll let you reopen if needed

@rakoo rakoo closed this as completed Mar 7, 2025
@WofWca
Copy link
Collaborator

WofWca commented Mar 7, 2025

Yes, this probably needs to be investigated.

@WofWca WofWca reopened this Mar 7, 2025
@r10s
Copy link
Member

r10s commented Mar 7, 2025

there is indeed sth. wrong. the same happens to me two times when playing around with the profile switcher (a reboot helped as well for me, but killing the correct process would probably do as well)

see #4700 (comment) - but i do not have a good way to reproduce this.

@Simon-Laux Simon-Laux added the wait-for-core Waiting for an related core issue to be resolved label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wait-for-core Waiting for an related core issue to be resolved
Projects
None yet
Development

No branches or pull requests

4 participants