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

Nextcloud AppImage Update does not work anymore - URL does not work #214

Open
moritzm opened this issue Dec 28, 2024 · 4 comments
Open

Nextcloud AppImage Update does not work anymore - URL does not work #214

moritzm opened this issue Dec 28, 2024 · 4 comments

Comments

@moritzm
Copy link

moritzm commented Dec 28, 2024

Hi,
i update Nextclound via GitHub Release url.
I have constructed this URL with placeholder:
https://github.com/nextcloud-releases/desktop/releases/download/*/Nextcloud-*-x86_64.AppImage

The target URL is this as an example:
https://github.com/nextcloud-releases/desktop/releases/download/v3.15.2/Nextcloud-3.15.2-x86_64.AppImage

This is the error i get from Gearlever:

---- Application startup | version 2.3.2 2024-12-28 10:05:32,695 WARNING [BackgroudUpdatesFetcher.py:14] Fetching updates in the background 2024-12-28 10:05:32,695 INFO [AppImageProvider.py:77] Activating AppImage provider 2024-12-28 10:05:33,418 ERROR [UpdateManager.py:196] 404 Client Error: Not Found for url: https://github.com/nextcloud-releases/desktop/releases/download/*/Nextcloud-*-x86_64.AppImage 2024-12-28 10:05:33,418 WARNING [UpdateManager.py:200] Head request failed, trying with stream mode... 2024-12-28 10:05:33,559 ERROR [UpdateManager.py:209] 404 Client Error: Not Found for url: https://github.com/nextcloud-releases/desktop/releases/download/*/Nextcloud-*-x86_64.AppImage 2024-12-28 10:05:33,559 WARNING [UpdateManager.py:127] Provided url "https://github.com/nextcloud-releases/desktop/releases/download/*/Nextcloud-*-x86_64.AppImage" does not return a valid content-type header 2024-12-28 10:05:33,908 WARNING [BackgroudUpdatesFetcher.py:48] No available updates found

It worked in the past, but not anymore. Any ideas?

@hotlittlewhitedog
Copy link

I'm not sure but you have a V in the version.
Should it be .../download/3.15.2/... instead ⁉️🤔

@moritzm
Copy link
Author

moritzm commented Dec 30, 2024

I'm not sure but you have a V in the version. Should it be .../download/3.15.2/... instead ⁉️🤔

The URL is correct like it is in my beginning post. I just copied it and it contains a "V":

https://github.com/nextcloud-releases/desktop/releases/download/v3.15.2/Nextcloud-3.15.2-x86_64.AppImage

And as i posted before, it was already working.

@ShadowWayve
Copy link

I am having similar issues with an app called "novelWriter".

Today, I used GearLever to update "novelWriter" successfully - from 2.5.2 to 2.5.3. But judging from the logs, it was a messy process:

---- Application startup | version 2.3.2
2025-01-07 11:28:06,237 ERROR [UpdateManager.py:196] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 11:28:06,237 WARNING [UpdateManager.py:200] Head request failed, trying with stream mode...
2025-01-07 11:28:06,314 ERROR [UpdateManager.py:209] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 11:28:06,315 WARNING [UpdateManager.py:127] Provided url "https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage" does not return a valid content-type header
2025-01-07 11:29:42,983 ERROR [UpdateManager.py:196] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 11:29:42,983 WARNING [UpdateManager.py:200] Head request failed, trying with stream mode...
2025-01-07 11:29:43,052 ERROR [UpdateManager.py:209] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 11:29:43,053 WARNING [UpdateManager.py:127] Provided url "https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage" does not return a valid content-type header
2025-01-07 11:29:43,345 INFO [UpdateManager.py:132] Downloading file from https://github.com/vkbo/novelWriter/releases/download/v2.5.3/novelWriter-2.5.3.AppImage
2025-01-07 11:29:52,717 INFO [AppImageProvider.py:675] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_5b9qd9r58x/squashfs-root
2025-01-07 11:29:52,806 INFO [AppImageProvider.py:263] Installing appimage: /tmp/it.mijorus.gearlever/downloads/6y72r41c3q.appimage
2025-01-07 11:29:53,094 INFO [AppImageProvider.py:437] Deleting original appimage file from: /tmp/it.mijorus.gearlever/downloads/6y72r41c3q.appimage
2025-01-07 11:29:53,128 INFO [AppImageProvider.py:450] Reloading metadata for /home/[redacted]/AppImages/novelwriter.appimage
2025-01-07 11:29:53,161 INFO [AppImageProvider.py:202] Removing /home/[redacted]/AppImages/novelwriter.appimage
2025-01-07 11:29:53,161 INFO [AppImageProvider.py:207] Trashing /home/[redacted]/AppImages/novelwriter.appimage
2025-01-07 11:29:53,163 INFO [AppImageProvider.py:215] Removing /home/[redacted]/.local/share/applications/novelwriter.desktop
2025-01-07 11:29:53,163 INFO [AppImageProvider.py:263] Installing appimage: /tmp/it.mijorus.gearlever/appimages/gearlever_rq1y1yppba/tmp.appimage
2025-01-07 11:29:53,219 ERROR [UpdateManager.py:196] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 11:29:53,219 WARNING [UpdateManager.py:200] Head request failed, trying with stream mode...
2025-01-07 11:29:53,296 ERROR [UpdateManager.py:209] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 11:29:53,296 WARNING [UpdateManager.py:127] Provided url "https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage" does not return a valid content-type header
2025-01-07 11:29:53,302 INFO [AppImageProvider.py:675] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_2q547pzqp6/squashfs-root
2025-01-07 11:29:53,395 INFO [AppImageProvider.py:437] Deleting original appimage file from: /tmp/it.mijorus.gearlever/appimages/gearlever_rq1y1yppba/tmp.appimage
2025-01-07 11:29:53,500 ERROR [UpdateManager.py:196] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 11:29:53,500 WARNING [UpdateManager.py:200] Head request failed, trying with stream mode...
2025-01-07 11:29:53,570 ERROR [UpdateManager.py:209] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 11:29:53,570 WARNING [UpdateManager.py:127] Provided url "https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage" does not return a valid content-type header
2025-01-07 11:30:07,991 INFO [json_config.py:29] Saving config to /home/[redacted]/.var/app/it.mijorus.gearlever/config/settings.json
2025-01-07 11:33:09,571 INFO [main.py:63] 

Afterwards, I noticed that I still had an app called "MuseScore" installed. It had an update available. But since I haven't been using it, I decided to uninstall it.

---- Application startup | version 2.3.2
2025-01-07 11:33:09,645 WARNING [BackgroudUpdatesFetcher.py:14] Fetching updates in the background
2025-01-07 11:33:09,646 INFO [AppImageProvider.py:77] Activating AppImage provider
2025-01-07 11:33:09,759 WARNING [utils.py:139] Provided url "gh-releases-zsync|musescore|MuseScore|latest|MuseScore-*x86_64.AppImage.zsync" is not a valid url
2025-01-07 11:33:10,268 ERROR [UpdateManager.py:196] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 11:33:10,268 WARNING [UpdateManager.py:200] Head request failed, trying with stream mode...
2025-01-07 11:33:10,332 ERROR [UpdateManager.py:209] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 11:33:10,333 WARNING [UpdateManager.py:127] Provided url "https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage" does not return a valid content-type header
2025-01-07 11:33:12,318 INFO [main.py:63] 

---- Application startup | version 2.3.2
2025-01-07 11:33:17,366 WARNING [utils.py:139] Provided url "gh-releases-zsync|musescore|MuseScore|latest|MuseScore-*x86_64.AppImage.zsync" is not a valid url
2025-01-07 11:33:23,257 INFO [AppImageProvider.py:202] Removing /home/[redacted]/AppImages/musescore_studio_44_portable.appimage
2025-01-07 11:33:23,257 INFO [AppImageProvider.py:207] Trashing /home/[redacted]/AppImages/musescore_studio_44_portable.appimage
2025-01-07 11:33:23,259 INFO [AppImageProvider.py:215] Removing /home/[redacted]/.local/share/applications/musescore_studio_44_portable.desktop
2025-01-07 11:33:23,260 WARNING [AppDetails.py:360] Missing app key from app config
2025-01-07 11:33:46,508 INFO [main.py:63] 

At some point along the line, I realized that "Check updates on system startup" is an option in GearLever. I enabled it. I don't remember if this was before or after I uninstalled MuseScore.

Now, GearLever keeps telling me that there's an update available (red '1' notification icon in the dock), even though "novelWriter" currently is the only image being managed by GearLever. It's possible that this is a bug with the "Dash to Dock" Gnome Extension somehow. Maybe. I don't know how any of that stuff works. In the GearLever UI itself, GearLever tells me that "novelWriter" has "No updates available".

I tried unpinning and re-pinning GearLevel to the dock to hopefully reset that notification icon. But so far I've had no luck with that. Rebooting the machine doesn't fix it either.

Now, every time I tell GearLever to "Reload metadata" for "novelWriter" this is what the logs look like:

2025-01-07 12:35:56,465 INFO [AppImageProvider.py:450] Reloading metadata for /home/[redacted]/AppImages/novelwriter.appimage
2025-01-07 12:35:56,498 INFO [AppImageProvider.py:202] Removing /home/[redacted]/AppImages/novelwriter.appimage
2025-01-07 12:35:56,498 INFO [AppImageProvider.py:207] Trashing /home/[redacted]/AppImages/novelwriter.appimage
2025-01-07 12:35:56,499 INFO [AppImageProvider.py:215] Removing /home/[redacted]/.local/share/applications/novelwriter.desktop
2025-01-07 12:35:56,499 INFO [AppImageProvider.py:263] Installing appimage: /tmp/it.mijorus.gearlever/appimages/gearlever_azy6pd7q1y/tmp.appimage
2025-01-07 12:35:56,632 INFO [AppImageProvider.py:675] Exctracting with p7zip to /tmp/it.mijorus.gearlever/appimages/gearlever_r45bayp96r/squashfs-root
2025-01-07 12:35:56,719 INFO [AppImageProvider.py:437] Deleting original appimage file from: /tmp/it.mijorus.gearlever/appimages/gearlever_azy6pd7q1y/tmp.appimage
2025-01-07 12:35:57,036 ERROR [UpdateManager.py:196] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 12:35:57,036 WARNING [UpdateManager.py:200] Head request failed, trying with stream mode...
2025-01-07 12:35:57,102 ERROR [UpdateManager.py:209] 404 Client Error: Not Found for url: https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage
2025-01-07 12:35:57,103 WARNING [UpdateManager.py:127] Provided url "https://github.com/vkbo/novelWriter/releases/download/v*/novelWriter-*.AppImage" does not return a valid content-type header

My biggest issue right now is that red notification icon. I'm going to continue battling to get rid of it... Wish me luck. The "does not return a valid content-type header" warning may or may not have anything to do with it. But I figured I'd share my logs from today's battle, in case they help with debugging the header error issue. :)

@marrrkus
Copy link

marrrkus commented Jan 8, 2025

Same here. With Orca-Slicer and Nextcould. Worked before without a problem.

2025-01-08 09:48:08,867 ERROR [UpdateManager.py:196] 404 Client Error: Not Found for url: https://github.com/nextcloud-releases/desktop/releases/download/*/Nextcloud-*-x86_64.AppImage

2025-01-08 09:48:08,867 WARNING [UpdateManager.py:200] Head request failed, trying with stream mode...

2025-01-08 09:48:11,978 ERROR [UpdateManager.py:209] 404 Client Error: Not Found for url: https://github.com/nextcloud-releases/desktop/releases/download/*/Nextcloud-*-x86_64.AppImage

2025-01-08 09:48:11,979 WARNING [UpdateManager.py:127] Provided url "https://github.com/nextcloud-releases/desktop/releases/download/*/Nextcloud-*-x86_64.AppImage" does not return a valid content-type header

2025-01-08 09:48:18,307 ERROR [UpdateManager.py:196] 404 Client Error: Not Found for url: https://github.com/SoftFever/OrcaSlicer/releases/download/*/OrcaSlicer_Linux_V*.AppImage

2025-01-08 09:48:18,307 WARNING [UpdateManager.py:200] Head request failed, trying with stream mode...

2025-01-08 09:48:21,418 ERROR [UpdateManager.py:209] 404 Client Error: Not Found for url: https://github.com/SoftFever/OrcaSlicer/releases/download/*/OrcaSlicer_Linux_V*.AppImage

2025-01-08 09:48:21,418 WARNING [UpdateManager.py:127] Provided url "https://github.com/SoftFever/OrcaSlicer/releases/download/*/OrcaSlicer_Linux_V*.AppImage" does not return a valid content-type header

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants