FS#75404 - [obsidian] Warning message on start: Manual installation is required

Attached to Project: Community Packages
Opened by Andrea (starise) - Saturday, 23 July 2022, 13:27 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 24 July 2022, 19:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: every time I start Obsidian this message is shown on screen: «Update available. A manual installation is required to update to the latest version». Tried to launch the same app version from the official .AppImage and this message does not appear.

Additional info:
* package version: 0.15.8-1
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 24 July 2022, 19:02 GMT
Reason for closing:  Fixed
Comment by Andrea (starise) - Saturday, 23 July 2022, 13:30 GMT
Forgot to add "[obsidian] version" to the title. :(
Comment by Toolybird (Toolybird) - Sunday, 24 July 2022, 07:30 GMT
Hmm, this thing appears to be closed source software. Going to make things kinda hard to debug..

Forum report here [1]

[1] https://forum.obsidian.md/t/update-popup-on-latest-version/40810
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 24 July 2022, 08:11 GMT
I noticed this too but I think it's an upstream bug. I didn't change anything in regard to how I package the software and I didn't notice this before this update.
Comment by Andrea (starise) - Sunday, 24 July 2022, 12:56 GMT
As suggestend on Obsidian forum, the issue can be the PKGBUILD depends on electron17 but they now use electron18.
Comment by Jonas Große Sundrup (cherti) - Sunday, 24 July 2022, 17:19 GMT
Can confirm, I just took the /usr/bin/obsidian starting script and tried the command manually, `/usr/bin/electron17 /usr/lib/obsidian/app.asar` does indeed produce the popup, `/usr/bin/electron18 /usr/lib/obsidian/app.asar` does not. Same fix works right in the script. The GitHub mirror is a read-only copy, and given the fix is so simple I think it's less hassle if svenstaro just fixes this instead of applying a patch, should just the 7->8 in obsidian.sh and the dependency update in the PKGBUILD, I think.
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 24 July 2022, 17:50 GMT
Good hint, check -2.
Comment by Jonas Große Sundrup (cherti) - Sunday, 24 July 2022, 18:17 GMT
Thanks for the quick fix, looks fixed to me! :)

Loading...