Epyrus - Auto Update Error? Topic is solved

Board for discussions around the Epyrus mail and news client.

Moderator: athenian200

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2801
Joined: 2012-08-19, 20:32

Re: Epyrus - Auto Update Error?

Unread post by back2themoon » 2023-06-18, 09:02

On topic, the update error prompt still appears on v.2.0.2.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37352
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Epyrus - Auto Update Error?

Unread post by Moonchild » 2023-06-18, 09:10

back2themoon wrote:
2023-06-18, 09:02
On topic, the update error prompt still appears on v.2.0.2.
I don't see any issue. If I trigger the update check it does the check then tells me there's no update available.

You should be able to get a debug log by setting app.update.log to true and checking the console while trying to update. I'm pretty sure that will work in Epyrus because the updater component is in the platform.
"The world will not be destroyed by those who do evil, but by those who watch them without doing anything." - Albert Einstein
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2801
Joined: 2012-08-19, 20:32

Re: Epyrus - Auto Update Error?

Unread post by back2themoon » 2023-06-18, 09:14

This is not about the manual update check. The error pops up randomly on its own with no user intervention.

viewtopic.php?f=73&t=29299#p239088

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37352
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Epyrus - Auto Update Error?

Unread post by Moonchild » 2023-06-18, 10:04

back2themoon wrote:
2023-06-18, 09:14
This is not about the manual update check. The error pops up randomly on its own with no user intervention.

viewtopic.php?f=73&t=29299#p239088
The update system is the same in both cases. It uses the same routines.
If you enable logging then you should have a log in your console what happened next time the popup appears which should provide details.
"The world will not be destroyed by those who do evil, but by those who watch them without doing anything." - Albert Einstein
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Potkeny
Fanatic
Fanatic
Posts: 151
Joined: 2018-08-03, 17:00

Re: Epyrus - Auto Update Error?

Unread post by Potkeny » 2023-06-20, 14:00

Sadly I'm not sure which is the relevant error message for the auto-update error (while it can successfully auto-update when there is a new version), but around the time I noticed the popup there were these ones:

Code: Select all

AUS:SVC Checker: checkForUpdates, force: false
AUS:SVC Checker:getUpdateURL - update URL: https://www.addons.epyrus.org/WINNT_x86_64-msvc/2.0.2/update.xml
AUS:SVC Checker:checkForUpdates - sending request to: https://www.addons.epyrus.org/WINNT_x86_64-msvc/2.0.2/update.xml
UTM:SVC TimerManager:notify - notified @mozilla.org/updates/update-service;1

Timestamp: 2023. 06. 20. 15:42:46
Error: XML Parsing Error: mismatched tag. Expected: </hr>.
Location: https://www.addons.epyrus.org/WINNT_x86_64-msvc/2.0.2/update.xml
Line Number 6, Column 3:
Source File: https://www.addons.epyrus.org/WINNT_x86_64-msvc/2.0.2/update.xml
Line: 6, Column: 3
Source Code:
</body>

AUS:SVC Checker:onLoad - request completed downloading document
AUS:SVC Checker:_updates get - unexpected node name!
AUS:SVC Checker:onLoad - there was a problem checking for updates. Exception: Error: Unexpected node name, expected: updates, got: parsererror
AUS:SVC Checker:onLoad - request.status: 404
AUS:SVC getStatusTextFromCode - transfer error: Update XML file not found (404), code: 404
AUS:SVC UpdateService:onError - error during background update. error code: 1404, status text: Update XML file not found (404)
There is an unrelated (I believe) periodical uncaught exception, so some of the console-logs might be from that

Code: Select all

Timestamp: 2023. 06. 20. 15:46:53
Error: uncaught exception: 2147746065
Source File: resource:///modules/activity/autosync.js
Line: 210

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37352
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Epyrus - Auto Update Error?

Unread post by Moonchild » 2023-06-20, 14:51

Code: Select all

sending request to: https://www.addons.epyrus.org/WINNT_x86_64-msvc/2.0.2/update.xml
I see what the problem is. that URL returns a standard nginx 404 page which the updater doesn't understand. instead, the current version update XML should be present (not a 404) and contain an empty <updates></updates>.

I've gone in and fixed that oversight for athenian200 :)
"The world will not be destroyed by those who do evil, but by those who watch them without doing anything." - Albert Einstein
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Potkeny
Fanatic
Fanatic
Posts: 151
Joined: 2018-08-03, 17:00

Re: Epyrus - Auto Update Error?

Unread post by Potkeny » 2023-06-20, 16:02

Thank you!

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1611
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Epyrus - Auto Update Error?

Unread post by athenian200 » 2023-07-16, 16:58

Moonchild wrote:
2023-06-20, 14:51
I see what the problem is. that URL returns a standard nginx 404 page which the updater doesn't understand. instead, the current version update XML should be present (not a 404) and contain an empty <updates></updates>.

I've gone in and fixed that oversight for athenian200 :)
Oh! So that's why that's been happening. Thank you for correcting it. Yeah, if I hadn't read this, I would have wound up trying to change the way the updater works so that it recognizes a 404 and does nothing if it encounters one... but that saves me the need to do that in the future.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37352
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Epyrus - Auto Update Error?

Unread post by Moonchild » 2023-07-16, 21:31

Yeah you just have to make sure that the current version (which will also check for updates, of course) is presented with a sane update.xml
"The world will not be destroyed by those who do evil, but by those who watch them without doing anything." - Albert Einstein
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Potkeny
Fanatic
Fanatic
Posts: 151
Joined: 2018-08-03, 17:00

Re: Epyrus - Auto Update Error?

Unread post by Potkeny » 2023-09-11, 15:02

I just got this popup again, did something change?

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1611
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Epyrus - Auto Update Error?

Unread post by athenian200 » 2023-09-11, 16:02

Potkeny wrote:
2023-09-11, 15:02
I just got this popup again, did something change?
Yeah, I started getting it as well. I haven't tried to update Epyrus yet, though I had plans to. I'm really not sure what is going on.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37352
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Epyrus - Auto Update Error?

Unread post by Moonchild » 2023-09-11, 16:41

Ah, i forgot to put the re-issued certificate up on the web server used for checking updates. It had expired on the 8th; although I'm not sure why it didn't cause issues manually checking.
It should be fixed now.
"The world will not be destroyed by those who do evil, but by those who watch them without doing anything." - Albert Einstein
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Potkeny
Fanatic
Fanatic
Posts: 151
Joined: 2018-08-03, 17:00

Re: Epyrus - Auto Update Error?

Unread post by Potkeny » 2023-09-11, 18:47

Thank you, I was hoping it's something easy to fix :)

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1611
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Epyrus - Auto Update Error?

Unread post by athenian200 » 2023-09-11, 19:23

Moonchild wrote:
2023-09-11, 16:41
Ah, i forgot to put the re-issued certificate up on the web server used for checking updates. It had expired on the 8th; although I'm not sure why it didn't cause issues manually checking.
It should be fixed now.
Ah, I was just thinking while I was on the bus that maybe it had something to do with the cert, since I believe it pointed to a different server for the updates than the addons, and when I got home you had already solved it.

Thanks for taking care of that for me. :)
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37352
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Epyrus - Auto Update Error?

Unread post by Moonchild » 2023-09-11, 19:56

athenian200 wrote:
2023-09-11, 19:23
since I believe it pointed to a different server for the updates than the addons
Yeah I just completely forgot about that.
"The world will not be destroyed by those who do evil, but by those who watch them without doing anything." - Albert Einstein
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Navigator
Fanatic
Fanatic
Posts: 146
Joined: 2023-02-24, 17:53

Re: Epyrus - Auto Update Error?

Unread post by Navigator » 2023-09-17, 17:05

I received notice of an available update from 2.0.2 to 2.1.0 but when clicking update I get "Update Fail. Download the latest version" where "Download the latest version" appears to be link. Clicking that apparent link however does nothing.

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1611
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Epyrus - Auto Update Error?

Unread post by athenian200 » 2023-09-17, 17:12

Navigator wrote:
2023-09-17, 17:05
I received notice of an available update from 2.0.2 to 2.1.0 but when clicking update I get "Update Fail. Download the latest version" where "Download the latest version" appears to be link. Clicking that apparent link however does nothing.
You're not really supposed to get that message and I don't really have anything filled in for that case.

http://www.epyrus.org/download.html

I apologize, I'm still generating the update.xml files by hand, and it seems I may have screwed up one of them. It was bound to happen eventually... my release process is honestly a mess and requires a steady hand. There's a reason I dread releasing new versions of Epyrus. :(

Can you let me know which OS you're on? I have just tested the update process for Windows and it seems to work... I haven't tested Linux yet, though. EDIT: Tested a bit more and found that this doesn't happen on Windows at all, so by process of elimination I figured it must be the Linux build. Here's the mistake I made... when making the update.xml, I accidentally left the update MAR location the same as the previous version on the Linux file, after updating the hash, the version number, and the file size. But I forgot to update the path to the new MAR. Hopefully it works now...

Anyway, I guess it's good that someone reminded me I need to fill in something for that random update failed link. I do have a page I could put there now, so I probably should do that. EDIT: Dealt with this here: https://repo.palemoon.org/athenian200/e ... eca5577dd5
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
Navigator
Fanatic
Fanatic
Posts: 146
Joined: 2023-02-24, 17:53

Re: Epyrus - Auto Update Error?

Unread post by Navigator » 2023-09-17, 21:39

athenian200 wrote:
2023-09-17, 17:12
Can you let me know which OS you're on?

Hopefully it works now...
Linux mint, and yes I just updated successfully from the About dialog. Thank you. :clap:

User avatar
emgee
Moongazer
Moongazer
Posts: 12
Joined: 2022-10-24, 15:50

Re: Epyrus - Auto Update Error?

Unread post by emgee » 2023-09-19, 09:03

Just to put on record that Auto Update worked perfectly. Thanks, Athenian.

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2801
Joined: 2012-08-19, 20:32

Re: Epyrus - Auto Update Error?

Unread post by back2themoon » 2024-08-17, 13:06

Just got this again:
Epyrus.png
Again, this is not from a manual update check.
You do not have the required permissions to view the files attached to this post.