IPhone mobile app connection error

Iphone app will not connect to my server

I can access and login from any other browser on my iphone, safari, firefox etc…. It works fine when using a browser from this phone. I can connect and login to nexcloud when using only celluar data and internet browsers, safari and firefox but not on the app. So this means i can connect from this phone from any outside network via browser but not the app

The app will not connect but i can login and connect to nextcloud account from any other pc or laptop on outside networks.

I have purged the app from my apple account deleted and re- installed. Made sure it was fully deleted and all previous data remove from apple icloud etc… this has no effect.

I have searched very thoroughly on google and the forums here for a solution and none exist.

If you can help that would be great as i am at the end of my patience for nextcloud and its finicky-ness

Php version 8.1.2
Database version 10.6.7 mysql
OS linux 5.15.0-52-generic x86_64
Ubuntu server 22.04

IPhone os 15.6.1
Nextcloud mobile app version 4.5.3.0

Nextcloud Hub 3 version (25.0.0)

Perhaps you could provide the logs and configurations mentioned in the support post template.

perhaps you can tell me how to do this…

when i click on the logging button in next cloud the log screen shows up for a very brief second then disappears almost immediately and the screen goes blank

please see video below:

error log file:

[Sun Oct 30 18:58:12.255452 2022] [access_compat:error] [pid 1195] [client 10.xxx.xxx.xxx:52096] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Oct 30 19:28:07.481127 2022] [access_compat:error] [pid 3020] [client 10.xxx.xxx.xxx:47650] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Oct 30 19:38:05.847140 2022] [access_compat:error] [pid 1183] [client 10.xxx.xxx.xxx:39648] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Oct 30 19:40:41.612386 2022] [access_compat:error] [pid 2934] [client 10.xxx.xxx.xxx:41558] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Oct 30 19:45:24.244281 2022] [access_compat:error] [pid 901] [client 10.xxx.xxx.xxx:40548] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Oct 30 19:53:02.348310 2022] [access_compat:error] [pid 902] [client 10.xxx.xxx.xxx:34974] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Oct 30 20:06:24.030173 2022] [access_compat:error] [pid 1127] [client 10.xxx.xxx.xxx:36684] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Oct 30 20:52:56.755590 2022] [access_compat:error] [pid 1419] [client 10.xxx.xxx.xxx:32882] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Oct 30 20:54:27.253919 2022] [access_compat:error] [pid 1452] [client 10.xxx.xxx.xxx:33648] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Oct 30 22:05:23.928022 2022] [access_compat:error] [pid 2265] [client 10.xxx.xxx.xxx:56998] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Sun Oct 30 22:10:22.817390 2022] [access_compat:error] [pid 2882] [client 10.xxx.xxx.xxx:58466] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Mon Oct 31 00:57:13.193803 2022] [access_compat:error] [pid 926] [client 10.xxx.xxx.xxx:55398] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Mon Oct 31 01:38:03.176724 2022] [access_compat:error] [pid 1240] [client 10.xxx.xxx.xxx:57228] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata
[Mon Oct 31 01:39:55.516454 2022] [access_compat:error] [pid 1240] [client 10.xxx.xxx.xxx:55534] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata

does anyone have any ideas on this, ive been trying to fix it/find a fix for 3 days now.