Repository navigation
Description
Tasks
- implement CI for 32bit
- changes that will need reverting:
- implement setup check to block installing on 32bit (master)
- make admin overview check more clear that 32bit compatibility is removed with nc26 (master and stable25)
- make docs more clear that 32bit compatibility is removed with nc26 (master and stable25)
- implement check into updater to block upgrades to nc26 on 32bit (master and stable25)
- implement 32bit tests for things formerly breaking on 32Bit (where not mitigate-able due to technical restrictions)
- test with each CI run would be fine plus running the whole suite (that would work on 32bit" regularly (i.e. daily or weekly against master/stable*) would be enough to not burn too much CI resources
Regarding the typing, instead of removing typing like for stable25 we should use the union types available thanks to PHP 8 and use int|float.
Running the CI on 32 bits is not that straightforward because Github does not propose it so one has to run a docker in a docker or something along these lines. Need someone with knowledge on CI/docker.
On Drone, 64bit hardware is likely able to run 32bit code.
See "arch" field in https://docs.drone.io/pipeline/configuration/
It should not be too hard to fix once we have proper CI, given we have the PR for stable25 to use as an example of how to fix stuff. That said it seems stable25 is still not passing test suite on 32bits.
Estimate: possibly 2 weeks effort if not more depending on hurdles and whether we need to port Github workflow tests to Drone
Activity
PVince81 commentedon Jan 24, 2023
@come-nc can you update the status, in case there was progress on the revertings ?
come-nc commentedon Jan 24, 2023
Only reverted the first one in my PR, I checked the boxes with current PR state.
Current CI status in the PR:
Tests: 14429, Assertions: 37379, Errors: 8, Failures: 6, Warnings: 29, Skipped: 42.
On the 8 errors:
PHPUnit\Framework\MockObject\UnknownTypeException: Class or interface "OCA\Files_External\Lib\StorageConfig" does not existfromtests/lib/Encryption/UtilTest.php:208. They also fail in my 8.2 testing PR and should be fixed or skipped, but are not related to 32bitsValueError: Epoch doesn't fit in a PHP integerfrom sabre-dav, needs investigation and fix or skipOn the 6 failures:
come-nc commentedon Jan 24, 2023
szaimen commentedon Feb 9, 2023
Looks like everything done now or is something missing?
blizzz commentedon Feb 9, 2023
I am not aware of anything missing. @come-nc can you confirm?
come-nc commentedon Feb 9, 2023
Backport of CI and fixes to 25 is missing but that will have to wait 25.0.5.
blizzz commentedon Feb 9, 2023
which ones did i miss? (but this issue is about 26?)
come-nc commentedon Feb 13, 2023
The fixes which were done in the PR adding CI: #36120
The CI needs to be backported to 25 and some things will break, and some of the fixes will have to be backported.
But it’s not an easy backport because typing is different on 25 and 26.
ZachHandley commentedon Jul 22, 2024
hey so, I don't know if this is the right issue, but I have this error

only on files over 2 GB, these aren't four, they're 3.7 GB, so it's extra weird. From the research I've done, it's related to #16431 -- if I'm wrong please don't re-open, but I can't upload anything and I have a hetzner cloud 32 bit so.
AndyScherzinger commentedon Aug 1, 2024
Can't say for sure @ZachHandley - best to raise a new issue so folks can reply to it. I know there is a limitation in terms of file size 32Bit can handle due to the limitations that come with it within PHP.
sunjam commentedon Aug 4, 2024
Try asking Hetzner assistance directly. Good luck with it.