I am using Nextcloud 22.2.3 with Built-in CODE server. It was working fine till the last weeks, when suddenly it stops working, giving me “the server has been disconnected” error. I solved it as you can see in this post, adding the ** ’allow_local_remote_servers’ => true,** line to my Nextcloud config.php.
But now, I mus be restarting the apache2 service every day, sometimes twice or three times in the same day, to make it work, because suddenly I get the “the server has been disconnected” error.
Unfortunately, I haven’t found the reason and I’m still having the problem, although I think the issue may be due to the simultaneous number of connections in Collabora. The only solution I’ve found, although not the best one, is to schedule a restart of the APACHE service every 3 hours in CRON