Closed vyncere closed 3 months ago
Looks like it's erroring out trying to put files into your user data directory. Are you doing anything interesting with your signal data folder? Maybe linking it to another location, using it with a backup tool, or something along those lines?
Looks like it's erroring out trying to put files into your user data directory. Are you doing anything interesting with your signal data folder? Maybe linking it to another location, using it with a backup tool, or something along those lines?
Hello Jamie,
Thank you very much for your investigation, thank you for your time.
I see in the Log this line : « ERROR 2024-08-06T09:19:02.082Z Top-level unhandled promise rejection: Error: 'sourcePath' must be relative to the user config directory. » which could be the cause.
To answer your question honestly, yes I do -- « something interesting with my Signal Data ».
Accurately, I use Signal Desktop as a Portable Installation, inside a VeraCrypt container, which allows me to keep the same Context (Chats, Messages, etc) between my different Laptops. It also allows me to make backups of the whole installation, each encrypted container can be viewed as a fully backup.
I have a mount point folder « C:\Mount\Software », which is in fact a Junction which points to the real folder inside the VeryCrypt Drive (S:). Inside there is Signal folder installation, which can be accessed to « C:\Mount\Software\Portable\Signal » or directly to « S:\Portable\Signal ».
Signal ├── CHANGELOG.md ├── README.md ├── app ├── data ├── log ├── portapp-prev.json ├── portapp.json ├── signal-portable.exe └── signal-portable.sample.yml
"root_path": "C:\\Mount\\Software\\Portable\\Signal",
"app_path": "C:\\Mount\\Software\\Portable\\Signal\\app",
"data_path": "C:\\Mount\\Software\\Portable\\Signal\\data"
and the following switch is passed to the Signal process :
--user-data-dir=<data_path>
I use this setup before Signal 5.38 (maybe since 5.00, ~2021) and it has worked flawlessly until Signal 7.18 -- I suppose there is some internal changes which make this last release not compatible with this « portable installation », and may causing some reading / writing errors which is necessary for the notifications service.
I would be very grateful, if you could do something to make Signal compatible as before (7.17), or tell me if I can fix myself the « sourcePath » or what ever it is, to keep my installation as it is.
Kind regards ! :)
Hey there, @vyncere. It does look as if your customizations are no longer working. But it's not clear why. You might be interested to look at Electron's release notes to see if any changes have been made on their side.
For now, I'm going to close this since it's not a scenario we support. We'd certainly like to hear more about what you discover!
ERROR 2024-08-06T09:07:04.226Z Top-level unhandled promise rejection: Error: 'sourcePath' must be relative to the user config directory
at [REDACTED]\resources\app.asar\preload.bundle.js:101:89644
at rte.getTemporaryAvatarPath ([REDACTED]\resources\app.asar\preload.bundle.js:126:228073)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async rte.getAvatarOrIdenticon ([REDACTED]\resources\app.asar\preload.bundle.js:126:227574)
at async rte.notify ([REDACTED]\resources\app.asar\preload.bundle.js:126:226914)
at async ske.saveAndNotify ([REDACTED]\resources\app.asar\preload.bundle.js:126:143208)
Using a supported version?
Overall summary
Steps to reproduce
Signal Desktop Notification Preferences (never changed) :
** Test 1 : (Signal minimized)
** Test 2 : (Signal maximized)
Expected result
When message is received, either Signal minimized or maximized, normal behavior until 7.17 was :
It's very difficult to see that new messages have been received.
Actual result
** Result 1 : (Signal minimized)
** Result 2 : (Signal maximized)
Screenshots
No response
Signal version
7.18, 7.19
Operating system
Windows 10 Pro 22H2 19045
Version of Signal on your phone
7.12.3
Link to debug log
https://debuglogs.org/desktop/7.18.0/c5a31b33ac2029501869a21da9a6c2bbd51bf3566e8dc0ef4c7fc0988b6cbf03.gz