-
Notifications
You must be signed in to change notification settings - Fork 190
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
News update 16.0.0 with not fulfilled dependencies #1423
Comments
Update: I discovered in change log https://apps.nextcloud.com/apps/news/releases?platform=21#21
OK wait a minute I´ll upgrade my whole server. 🤣 So as emergency immediate response: |
As you already discovered, news requires 64bit starting with version 16. The reason is that news requires a high resolution of time to be more accurate with synchronization. It worked in older versions because there was some workaround created that didn't store timestamps as numbers but as strings in the DB, but programmatically this is an unclean solution and it broke due to changes applied to the code not long ago, so for 15.x we decided to create another workaround but to drop it with 16. And yes I know that raspberry pi OS is still stuck on 32bit and that there is only a beta for 64bit. That the upgrade failed and got stuck is unfortunate but nothing we can fix, it would be a server issue as the app can't control the install process. I would expect the updater of the sever to check the dependency before downloading the app. You should be able to downgrade manually to 15.x. |
Thanks for explanations.
|
As a user: Okay, I just clicked update in nextcloud web ui like with every other app, which always worked flawlessly and now I'm stuck, because the web ui does not offer me to rollback nor deactivate that plugin. I simply can not use nextcloud, because requirements were not checked before update. Upgrading the WHOLE server to 64bit is no option, because that would mean a fresh installation of the whole operating system. As a programmer (C/C++) I'm confused, 64bit integer types do work on 32bit systems, and if you need even higher precision (you don't for time, struct types exist, you can store seconds and nanoseconds side by side), there are libs for integers with arbitrary precision. Forcing the WHOLE environment to change is an absolute NO GO. There are 32bit only architectures (armv7a, like beaglebone black or tons of other SBC) out there and a single plugin breaking nextcloud to run on those platforms at all? Get your stuff together, find a solution that works on 32bit architectures! grumpy |
I could disable the news app like this from commandline:
|
Yes that´s a quick fix to get rest of Nextcloud back working. So I performed manual app downgrade twice today. I´m prepared to do this on every future NC version update... That´s my whole downgrade process, maybe someone else can adjust (important, every environment is a different) and use this.
|
As I can understand the emotional power behind your words I´m not expert enough to share/support all details. But I fully support your core message (which currently is my only hope to avoid 3 to 4 full (holi)days of OS upgrade and bugfixing): there must be another way to continue using NC News on 32 bit OS. |
We don't have more power than normal users just because we maintain an app. You should create an issue for this since it affected you. To everyone mentioning that we're maintaining the app wrong, you can always fork it and maintain a 32bit compatible version. We've decided that this was the best approach but you don't have to. |
News 15.x 32bit vs 64bit The updater I can understand that for you this decision is annoying and requires more work, I hope that everyone will be able to upgrade to 64bit soon without major issues. And in your discussions please keep in mind that the maintainers of this app do all this work in their free time as a hobby, all of us have regular jobs and other hobbies and social interactions. So keep it calm otherwise I will have to kick you out. |
This won't be possible for everyone. There are modern 32bit only architectures and people use them. Upgrade would not only mean a fresh operating system installation, but buying new hardware. You can still decide to not support 32bit, but 32bit-only hardware won't vanish just by hoping it will. 🤷🏼♂️ |
We know that, I personally don't care if 32bit hardware stays or not. But a 64bit Integer simply doesn't work on 32bit and there is nothing we can do to change that, the original issue came up because people reported integer overflows. As you can imagine there is no automated testing on a 32bit system in place. And I'm aware that this means for some users that they have to buy new hardware but there is no way around that. |
I've got a not-ancient 32-bit system (Helios4, something like 2 years old), and am not super eager to replace the hardware. If the issue really is resolution of time on 32-bit, then I'm happy to try to find a solution. Is this a PHP issue? (Keep in mind that doing math with numbers bigger than the word-size of a computer is something that has been done for at least 50 years, so we don't need any radical new technology.) |
Yes it is a PHP issue, see #1320 for the details. |
|
thanks for this. It works except feeds do not refresh automatically anymore. How do we refresh feeds automatically? |
Glad to hear that 64bits is now mandatory!!!!! I use raspberry pi OS and now my instance is blocked in maintenance mode! Can you put in red/bold this new important requirement when upgrading news?!!! Who read the notes? |
That is probably a known bug in the nextcloud job system that sometimes jobs stale for ~24h. |
We never intended that the update gets rolled out on your server if you don't fulfill the requirements but there is nothing we can do about that, there is no way to test this. And no we can't make a big red warning anywhere as it's not something supported by nextcloud. We can't interact with users of news in any way. |
If you don't read them, would it even matter if we put it in bold/red? |
Could you explain the background to this time resolution problem? Do you need a 64bit OS because of the features of the 64bit hardware extension, or because it is mandatory for the stack on which the news app runs or is it the database? I'm curious to understand this problem. As an embedded hardware developer I didn't see the flaw |
Somewhere else than the notes, maybe during upgrade process, some prechecks... But as Grotax said you have no way to interact with users. Bad point for nextcloud! Nextcloud does not provide information about global server installation profiles like architecture before taking this kind of decision? As far as I know NC didn't deprecated 32bits so I was expecting all apps to support the same requirements... That's why this was a huge surprise to discover this new requirement! |
I've just checked and the official architecture when downloading raspbian OS is still armhf.... I would be curious to know how many users who are using raspberry pi as home server are impacted by this decision. |
Nextcloud doesn't do much for this app, other than host it. And the maintainers of apps do not have access to Nextcloud install statistics AFAIK. |
I bet a lot. The more interesting question is: how many (of those) use the News app. Don't think there is overall metrics on that (privacy by design). Even I internally hope there are a lot more users affected by this really bad / controversial 64 bit decision, I can only hope the maintainer team will rethink it. It's like "Hey citizens, starting tomorrow we exchanged your right hand drive cars by left hand drive cars (or vice versa depending on the place on earth you live). It's only needed for one area of your country and we won't tell you bout this in advance. DEAL WITH IT." 😂 |
Honestly if y'all are in agreement that I make bad decisions as a maintainer I'm fine stopping all together and just keeping my own private copy of news that works just for me. Drive-by negativity like this is actively killing open source, good job! |
For me it's like fuck, maybe in future I can't run news anymore on my Pi 32. To be honest news is my most used daily thing. |
I guess many people are mixing up two things:
@SMillerDev: It is not against you but the way you might have underestimated the consequences (as combination of 1) and 2)). Again, the first one is not your fault. |
|
@Id3aFly
Fingers crossed the dev experts talking on eye level here can figure out a way to not loose all 32 bit users. Hope dies last ;-) |
The 32 / 64 bit discussion will end at least in 17 years? |
I had to revert to 15.4.5 as well. Just to add a quick feedback: |
Because cleaner code means less maintenance and means you might actually get updates when bugs occur because it isn't a 8 hour task to understand the code. And if the end of life for python 2 has taught the open source community anything it should be this: delaying hard support choices makes them worse, not better. |
Would a solution using only The complication would be that it would require a schema change (converting |
This news application does not have nextcloud just as a underlying library, but as a whole framework. If the nextcloud project decided to only support 64-bit, this choice was completely understandable. Since Nextcloud does not require 64bit, it makes sense to take this as the starting point for this featured app. Thanks all for your work on this app, hope i can use it again on my rpi4. |
This went horribly wrong when I updated the apps on my Odroid HC1, which is 32 bit hardware. As a result, I have permanently removed the News app. I don't expect to install it in the future. |
Don′t give up hope, everybody. The downgrade procedure #1423 (comment) provided by @bcutter worked flawlessly for me, too. Just give it a try. |
Hi everyone, just wanting to join in here as this is such a great issue – scientifically said, because how such a small "issue" like PHP not being able to have a real 64bit integer (on 32bit hardware) – if I interpreted what has been said correctly – can turn into such a big problem that you need to replace your hardware as a user is "incredible". Computers were really a mistake… 😜 Anyway, also learned about that Y2038 problem here, so great there's always something to learn! As I do not have anything productive to contribute to the discussion (I'm fortunately not affected, but were nearly, as I just upgraded from an ARM 32bit device) and I guess everything was said and you are already discussion float workarounds, just let me say one word to the maintainers: I totally feel that such a negativity can be destructive and it is not always easy when crowds of people just run against you with their issue. As such, just let me use this moment to say thanks for maintaining that great project. I hope you'll keep that on in the future. |
So more on-topic on that issue, the PHP 64bit int issue seems to be wel-known and there was even a request to implement something like this, which seems to have been rejected, however so far. |
Thank you very much for sharing your progress!!! Unfortunately I use a SNAP nextcloud installation, So I adapted it like this:
So the result in the browser check was that I got the 15.4.5 version back again!!! But... After changing back to 16.0.0 there is the information that a 64bit system or a higher PHP is needed... AHHHHHHH I don't get it... before of that the 16.0.0 worked, of course really bad and flawed, but it worked. Now I have no News app... I am glad if anyone could share their experience with downgrading on snap nextclouds. And I am glad for any suggestions for improvements in my mentioned process, too. |
I tried the failback as I have my nextcloud server also in a Pi compatible device (and I'm not able to update the system due to the hardware) but I can't get the News app working again. No idea what to do (as I'm not a developer), but the log of Nexcloud shows this:
If anybody has a hint about the solution, I will appreciate any information. Many thanks to the developers for the great work (it's my first and top app too) and the community of Nextcloud/News. |
I'm wondering what the current progress is. What about @shane-kerr 's last question in #1423 (comment) @SMillerDev ? |
You should not stopp, because of a decision bad for other users. Just rethink your decission and hopefully help the poor users not able to fullfill the requirements or maintain a fork. |
I beg you to reconsider your decision to drop support for 32 bits. It is not only the Raspberry Pi, but also there are other very popular boards such as the odroid XU4, HC1 and HC2 that are perfect for Nextcloud and run 32 bit architectures (actually we ship 64 bit images with NCP). We also package an armhf image for NCP that includes News by default, and out of nowhere all these users will see all their news feeds disappear whenever they upgrade without a warning. I beg you to reconsider your decision to drop all these users just like that. It is not that easy to migrate your setup to a new architecture and we should make it a point not to break users installation, as we do all the time in NCP. Thanks for your hard work |
That is totally what happened to me |
First I want to thank the maintainers for the hard work they have done these past years. It's the minimum I can do for giving us such a great solution in NC and their hardworking. I am another affected by the drop of 32 support therefore I am going to stop using this app as I am running NC in a 32 bits hardware and I am not going to replace the whole solution because of RSS. This is sad as I have been running my NC instance since 2015 (it was Owncloud) but these things happen in OSS. I understand the maintainers: having less code is less work for them but I think they are breaking the community. Is there any other NC app without support to 32 bits? Nextcloud is a great solution to be run in "Pi" motherboards and most of them are in 32 bits. I am moving my RSS configuration to Miniflux because I don't want to run non-maintained code in my instance. |
I'm worried about how that developer has been handling such a critical issue after a month and the massive fallout that resulted from it. That does not bode well for the future when other critical issues will arise. Anyway, like so many others, I don't have the resources to move the nextcloud drive to a 64-bits server. |
It bodes perfectly fine, the developers responded immediately that the issue was mostly with the server team and explained why the issue was coming up. We explained the reasoning and why we are choosing not to revert the choice. This issue is more of a feature request than an issue really. |
We have explained many times why you ran into this issue, the Nextcloud server is not checking the architecture requirement before doing an update, while it does check the PHP version so it's simply a bug and inconsistency in the server. News always had trouble supporting 32bit due to choosing high resolution timestamps for synchronization, this decision can't be easily changed as it has an impact not only on new but also the clients. But the agreement was and is to drop this workaround. We trusted Nextcloud to not trigger an update on systems with 32 bit, that failed. I understand your issues with this decision but the problem is that we maintain this app long term and as a whole. If you just focus on this particular issue then it's very easy, just use the workaround and don't worry about news anymore. With this I will close and lock this issue as I feel like everything has been said, be grumpy about php not having a big integer or a long but not about a few people investing their free time into a free app. |
Just as an information for everyone waiting for the official release of the 64-bit OS: |
IMPORTANT
Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)
Explain the Problem
What problem did you encounter?
Tried to update NC News to version 16.0.0 with
occ app:update --all
.Result after needed
occ upgrade
isNo way to get out of maintenance mode. NC News update blocks whole Nextcloud.
Steps to Reproduce
See "Explain the Problem" section above.
By disabling news the lock situation could be resolved. But now NC News is not available anymore (
occ app:enable news
givesApp "News" cannot be installed because the following dependencies are not fulfilled: 64bit or higher PHP required.
).System Information
Contents of nextcloud/data/nextcloud.log
Possible sensitive information (!)
Contents of Browser Error Console
Read http://ggnome.com/wiki/Using_The_Browser_Error_Console if you are unsure what to put hereWhat are the explicit v16.0.0 requirements?
64-Bit OS? That would´ve be a total kill.
Higher PHP version? Which one?
More details please. Not the nice way to discover BY/AFTER running an update that it breaks the whole app.
And YES, I´ve read (because accidentally discovered) #935.
The text was updated successfully, but these errors were encountered: