tflidd  
                
               
              
                  
                    November 18, 2022, 10:06am
                   
                   
              2 
               
             
            
              Sieht nach einem Bug aus wenn du 32bit-Systeme nutzt:
  
  
    
  
  
    
    
      
        opened 05:30PM - 19 Oct 22 UTC 
      
        
          closed 12:00PM - 03 Nov 22 UTC 
        
      
     
    
        
          bug
         
        
          2. developing
         
        
          regression
         
        
          25-feedback
         
    
   
 
  
    ### ⚠️ This issue respects the following points: ⚠️
- [X] This is a **bug**, no… t a question or a configuration/webserver/proxy issue.
- [X] This issue is **not** already reported on Github _(I've searched it)_.
- [X] Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
- [X] Nextcloud Server **is** running on 64bit capable CPU, PHP and OS.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Bug description
After upgrading to Nextcloud version 25 today, I was unable to view my files getting this error:
```
This directory is unavailable, please check the logs or contact the administrator
```
### Steps to reproduce
1. Upgrade to Nextcloud version 25
2. Try to access files
### Expected behavior
I expect the file app to work normally
### Installation method
Community Manual installation with Archive
### Operating system
Debian/Ubuntu
### PHP engine version
PHP 7.4
### Web server
Nginx
### Database engine version
PostgreSQL
### Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
### Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
### What user-backends are you using?
- [X] Default user-backend _(database)_
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Configuration report
```shell
{                                  
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "klapstuhl.maxicarlos.de"
        ],
        "default_phone_region": "ES",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "25.0.0.18",
        "overwrite.cli.url": "https:\/\/klapstuhl.maxicarlos.de",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        },
        "enable_previews": true,
        "updater.release.channel": "stable",
        "theme": "",
        "loglevel": 2,
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }   
}
```
### List of activated Apps
```shell
Enabled:
  - admin_audit: 1.15.0
  - bruteforcesettings: 2.5.0
  - cloud_federation_api: 1.8.0
  - comments: 1.15.0
  - contactsinteraction: 1.6.0
  - dav: 1.24.0
  - federatedfilesharing: 1.15.0
  - files: 1.20.1
  - files_pdfviewer: 2.6.0
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - notes: 4.6.0
  - notifications: 2.13.1
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - photos: 2.0.0
  - previewgenerator: 5.1.0
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - related_resources: 1.0.1
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - systemtags: 1.15.0
  - text: 3.6.0
  - theming: 2.0.0
  - twofactor_backupcodes: 1.14.0
  - twofactor_totp: 7.0.0
  - updatenotification: 1.15.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - workflowengine: 2.7.0
Disabled:
  - activity: 2.16.0
  - calendar: 4.0.1
  - circles: 24.0.1
  - dashboard: 7.4.0
  - deck: 1.7.1
  - drawio: 1.0.3
  - encryption
  - federation: 1.14.0
  - files_external
  - files_texteditor: 2.14.0
  - mail: 2.0.3
  - maps: 0.2.1
  - music: 1.6.0
  - nextcloud_announcements: 1.13.0
  - recommendations: 1.3.0
  - spreed: 15.0.0
  - support: 1.7.0
  - survey_client: 1.12.0
  - suspicious_login
  - tasks: 0.14.5
  - user_ldap
  - weather_status: 1.4.0
```
### Nextcloud Signing status
```shell
Does not work, it redirects to /apps/files (which gives me the above error)
```
### Nextcloud Logs
```shell
[webdav] Error: TypeError: Return value of OCA\DAV\Connector\Sabre\FilesPlugin::OCA\DAV\Connector\Sabre\{closure}() must be of the type int or null, float returned at <<closure>>
 0. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php line 95
    OCA\DAV\Connector\Sabre\FilesPlugin->OCA\DAV\Connector\Sabre\{closure}("*** sensitive parameters replaced ***")
 1. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/FilesPlugin.php line 356
    Sabre\DAV\PropFind->handle()
 2. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    OCA\DAV\Connector\Sabre\FilesPlugin->handleGetProperties()
 3. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
    Sabre\DAV\Server->emit()
 4. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 984
    Sabre\DAV\Server->getPropertiesByNode()
 5. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1662
    Sabre\DAV\Server->getPropertiesIteratorForPath()
 6. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1647
    Sabre\DAV\Server->writeMultiStatus()
 7. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
    Sabre\DAV\Server->generateMultiStatus()
 8. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPropFind()
 9. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit()
10. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod()
11. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
12. /var/www/nextcloud/apps/dav/lib/Server.php line 360
    Sabre\DAV\Server->exec()
13. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
14. /var/www/nextcloud/remote.php line 167
    require_once("/var/www/nextcl ... p")
PROPFIND /remote.php/dav/files/maxi/
from 192.168.1.1 by maxi at 2022-10-19T17:26:42+00:00
```
### Additional info
I'm running Nextcloud on a 64 bit raspberry pi 4b, however `https://server.url/settings/admin/overview` tells me that:
```
It seems like you are running a 32-bit PHP version. Nextcloud needs 64-bit to run well. Please upgrade your OS and PHP to 64-bit! For further details read [the documentation page about this ↗](https://docs.nextcloud.com/server/25/go.php?to=admin-system-requirements).```
And the documentation link is broken (file not found) 
   
   
  
    
    
  
  
 
Das wird mit dem 25.0.2 repariert. Du kannst den Patch manuell einpflegen, das ist nur eine kleine Änderung:
  
  
    
    
  
      
    
      nextcloud:stable25 ← nextcloud:enh/34674/stable25
    
      
        
          opened 12:45PM - 01 Nov 22 UTC 
        
        
        
       
   
 
  
    Close https://github.com/nextcloud/server/issues/34674
Signed-off-by: szaimen…  <szaimen@e.mail.de> 
   
   
  
    
    
  
  
 
Hinweis: 32-bit Support wird nicht weiter gepflegt, d.h. ab NC 26 braucht man 64bit. Das gibt es auch für Raspberry 4. Aber NC 25 wird noch ein Jahr unterstützt, d.h. du hast noch ein bisschen Zeit. Die Leute hinter NextcloudPi haben das hier zusammengefasst:
             
            
               
               
              3 Likes