I am getting errors on new nextcloud-php80-23.0.1 installation in 13.0-RELEASE FreeBSD jail. I think those are related to the fact that jails by default have less information about the system than physical hosts they run on, namely in this case about default route and interface speed.
Steps to reproduce
Visit Administration -> System
Observe "Network" Section (Missing Gateway and Speed for some interfaces)
Check logging, observe "Undefined array key 0 at /usr/local/www/nextcloud/apps-pkg/serverinfo/lib/OperatingSystems/FreeBSD.php#183" and "Undefined array key 0 at /usr/local/www/nextcloud/apps-pkg/serverinfo/lib/OperatingSystems/FreeBSD.php#140" errors
Expected behavior
Not being able to provide information about some aspects of networking shouldn't result in an error, as this is expected for a FreeBSD jail. Preferably, script would check if environment is FreeBSD jail and provide info about it in appropriate sections, similar to "Gateway: unknown (FreeBSD Jail)".
Here's how my Network section looks like:
Installation method
Manual installation
Operating system
Other
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
⚠️ This issue respects the following points: ⚠️
Bug description
Hi,
I am getting errors on new nextcloud-php80-23.0.1 installation in 13.0-RELEASE FreeBSD jail. I think those are related to the fact that jails by default have less information about the system than physical hosts they run on, namely in this case about default route and interface speed.
Steps to reproduce
Expected behavior
Not being able to provide information about some aspects of networking shouldn't result in an error, as this is expected for a FreeBSD jail. Preferably, script would check if environment is FreeBSD jail and provide info about it in appropriate sections, similar to "Gateway: unknown (FreeBSD Jail)".
Here's how my Network section looks like:
Installation method
Manual installation
Operating system
Other
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response