-
Notifications
You must be signed in to change notification settings - Fork 182
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
Updating nightly version nukes all my services #1360
Comments
Hi @starchild Taking into account that the last nightly is 6.5.0-nightly.X can you confirm which version caused this? Were you trying to switch from stable to nightly? Also, are you using an accountless option or server option? If server, which server? |
I had nightly already enabled. I've since switched to stable only so the upgrade button no longer appears. Not sure about the other details - how can I check? It started last week sometime actually, so it's been there for a while I guess... |
@starchild Revert back to version 6.5.0-nightly.5 - this works again as expected. I had the same problem with the nightly.6 and I was afraid to update since then. The whole app just appears empty after update. When revert back to nightly 5 all works as before, |
@veresvit yeah, I just downloaded the latest stable release and am using that. I'm just no longer doing nightly versions. No need really. |
Could you provide the logs for the non-working version (does nightly.6 works?) - EDIT: @ylluminate https://github.com/ferdium/ferdium-app/releases/tag/v6.5.0-nightly.6 if you can try it, please. Also, write in the console |
I encountered the same issue, on amd64 Mac version, upgrading from previous stable onto 6.5.0. Downgrading to 6.4.1 seems to restore functionality, so the data files aren't fortunately corrupted. |
@SpecialAro I did try 6 before and it had the same problem. 5 is the only nightly that presently works. I have not been able to test further for you and give my logs due to an "upgrade" to macOS 14 and having it create a bug that I am still recovering from and now being backlogged with work. I just don't feel "safe" updating to a newer version yet for risk of losing my settings entirely somehow through some misstep and my ridiculous schedule at present. |
@bkimmett would you mind to write the following on the console and take a screenshot of the result? |
I got back |
Can you try to do |
Nothing different seems to happen: These are the same messages I was getting before. Did you mean to say 'app.asar.unpacked'? |
It should be just app.asar, but could you try to see what you get on the build that works 6.4.1 for instance? I'm really sorry for making all this questions but I'm unable to reproduce this issue myself so I can only rely on your inputs... Also, would you care to PM me on discord? I think I can provide you with a build that probably fixes this (or if you want I can tell you the commit you should revert) |
So here's something interesting. In the regular, working Ferdium (6.4.1), I see this in the log: So I think those error messages were unrelated. Entering
I'd be happy to DM you on Discord. What's your username? |
Yes, I think they might be! The issue might be another one. Are you able to build code in your local or do you prefer that I send you a test version through discord? Search for "specialaro" |
Sent you a friend request. Also, test version would be greatly appreciated. Most of my compiling code I do through homebrew these days XD |
Hey guys, if any of you can try the build I made for PR1389 and report back on it, that would be really useful. Details there: #1389 (comment) (Note: There is no need to build anything yourself, and it can coexist next to the official Ferdium version without breaking it, so it is safe to try that way) |
I tried it. It still doesn't work, alas, but I brought error logs! #1389 (comment) Sadly, when I tried to follow it around in the debugger I couldn't get anywhere. However, I do note - as it's complaining about error 500 trying to access the server, I should note that I am specifically using Ferdium serverless. So perhaps the error is in the app's "server lite" component somewhere? |
And the nightly version .5 still works and .6 doesn't? @Alphrag would you be able to rebase my PR (or make a new one) to the nightly .7 (for instance) of the previous stable and see if this works for users? If so, it could mean that there are more than one issue we need to tackle - not only the DeepLink but some other as well. (Sorry that I'm asking you to do that but I'm currently without active access to a computer 🙈) |
I'm sorry to say @SpecialAro @Alphrag the new Console output: https://p153.p0.n0.cdn.getcloudapp.com/items/WnuprYJm/8d87111f-2908-4efb-83ab-399439654763.txt |
That nightly doesn't have the fixed I provided with the PR (that is currently on draft mode). @Alphrag I think we can rule out your that revert as being the problem. |
Sorry, didn't get access to a computer with the repo setup for a few days. Please test them, starting with the highest version first and going down if it is broken until you get one that works fine. This will greatly help find the culprit. I will also add another one that will be called |
I'm sorry, is there a method to import my standard Ferdium settings into your new-name build so as to facilitate realistic testing @Alphrag? |
@ylluminate Yeah, the easiest is to open your normal Ferdium, and export your config (Help menu -> If you want to get your settings the same, you will however have to do it by hand (and it is not even sure it will fully work) by copying the file |
@Alphrag thank you very much - I attempted to use 6.5.1-fix.21-arm64.dmg and unfortunately got the following after startup: I then also attempted to import my
|
@ylluminate Oh thanks, that is quite a good thing to see for the error! It means that when building the app for arm, the sqlite3 component which should be rebuilt to have the appropriate bindings is not correctly build. Does any of the other versions between @SpecialAro or @balajiv113 I think we had a similar problem at some point and I have a vague memory of having to do an extra command to force the build of the bindings for arm, but I don't remember exactly what we did and where. Any ideas? |
@Alphrag no, I'm sorry, identical failures. |
We are considering only running the mac builds for x64 for now (avoiding arm) in order to release the different improvement that are necessary to fix CVEs and to upgrade the server. We will then triage again the arm builds in different ways to try to fix the problem before reintroducing them completely. I assume that these will run fine on arm mac, even though they might need to go through Rosetta. |
Oh man, I forgot about Rosetta! Let me check. |
I can confirm the nightly (Mac x64) version loads all my services properly!! |
To verify whether the problem came from any updates we made on top of @bkimmett Thanks for confirming that at least, temporarily stopping arm builds won't mean preventing you guys from having a working version anyway. |
@Alphrag well, this was interesting. No error this time - "Get started" persists and no error appears below it. If I attempt to import the exported Ferdium config, it acts like it works with a response of EDIT: after a third reimport and waiting a little bit it seems like the services finally came up randomly and spontaneously. Not sure what's going on there. I did notice that the custom icons were not saved/reimported and other settings were not restores (such as the horizontal layout and sizes of tabs). |
Fixreset.5 (arm) doesn't work, but in a different way. It doesn't display the red banner at the bottom. But if I click 'Get Started', nothing loads in the available services panel, so it's a wash. |
Notice my update above as well regarding it finally importing my services. So I think this does fix it. |
In fact we haven't fixed a thing, we just mimicked the nightly.5 release to see if the problem was with the build or with the nightly.6 itself (or even with the sqlite3 biddings). Thank you so much (@ylluminate and @bkimmett) for testing out this... We are so sorry but we have no way around to fix it (since neither me or @Alphrag have a ARM processor) other than ask you to test stuff... So thank you! |
@ylluminate and @bkimmett Thank you very much for doing all this testing, we could not find the problem without you. |
|
And |
Looks like we've found the culprit here! |
So... It is more complicated than just that PR being problematic, since it resides deep into how the modules are put inside during the build. However, upgrading to the latest If it does, we will need to fix something on the windows build since it currently fails there, but hopefully that will be easier. Quick explication of what is going on: |
@Alphrag WORKS! Services load up that I'd previously exported and imported... 🎉 |
Seems to work! No red banner, no Error 500s in the console. |
@Alphrag thank you so much for your work in this area. You are a huge help. Any chance we'll see this mainlined in the near term with a new major/minor build release? Would very much like some of the other updates to see where some other issues stand that I've been having for a while... |
@ylluminate Well, we think that we have managed to fix all the problems with @SpecialAro, so we are testing one last version |
Fires up fine. I don't see any issue @Alphrag @SpecialAro. |
Avoid duplicates
Ferdium Version
6.4.1
What Operating System are you using?
macOS
Operating System Version
Ventura 13.2.1 (22D68)
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Ferdium version
No response
Expected Behavior
update should keep the app working as usual
Actual Behavior
All services are deleted and it's not possible to add them back. I have to reinstall the dmg from the website.
Steps to reproduce
click "restart and install update" on the nightly build update button
that's it
Debug link
No response
Screenshots
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: