Collabora server after Nextcloud AIO update cannot be reached

Why do you thjnk that redis is not working? Do you have something in the Nextcloud logs?

First, it’s a really slow loading.
Then, without doing anything after first login, I get these logs:

[index] Error: OCP\Files\NotPermittedException: Could not create folder at <<closure>>

0. /var/www/html/lib/private/Files/SimpleFS/SimpleFolder.php line 106
   OC\Files\Node\Folder->newFolder("0")
1. /var/www/html/apps/theming/lib/ImageManager.php line 165
   OC\Files\SimpleFS\SimpleFolder->newFolder("0")
2. /var/www/html/apps/theming/lib/ImageManager.php line 180
   OCA\Theming\ImageManager->getCacheFolder()
3. /var/www/html/apps/theming/lib/Controller/IconController.php line 91
   OCA\Theming\ImageManager->getCachedImage("icon-core-#0082 ... g")
4. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 225
   OCA\Theming\Controller\IconController->getThemedIcon("core", "filetypes/x-office-document.svg")
5. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 133
   OC\AppFramework\Http\Dispatcher->executeController(["OCA\\Theming\\ ... "], "getThemedIcon")
6. /var/www/html/lib/private/AppFramework/App.php line 172
   OC\AppFramework\Http\Dispatcher->dispatch(["OCA\\Theming\\ ... "], "getThemedIcon")
7. /var/www/html/lib/private/Route/Router.php line 298
   OC\AppFramework\App::main("OCA\\Theming\\C ... r", "getThemedIcon", ["OC\\AppFramewo ... "], ["core","filetyp ... "])
8. /var/www/html/lib/base.php line 1047
   OC\Route\Router->match("/apps/theming/i ... g")
9. /var/www/html/index.php line 36
   OC::handleRequest()

GET /apps/theming/img/core/filetypes/x-office-document.svg?v=21421e36
from 93.5.120.234 by admin at 2023-03-19T21:17:29+00:00

And about Talk not functionning, I got this one:

[spreed] Fatal: RuntimeException: There can only be one Talk backend at <<closure>>

 0. /var/www/html/lib/private/AppFramework/Bootstrap/RegistrationContext.php line 296
    OC\AppFramework\Bootstrap\RegistrationContext->registerTalkBackend("spreed", "OCA\\Talk\\OCP\\TalkBackend")
 1. /var/www/html/custom_apps/spreed/lib/AppInfo/Application.php line 153
    OCP\AppFramework\Bootstrap\IRegistrationContext@anonymous/var/www/html/lib/private/AppFramework/Bootstrap/RegistrationContext.php:142$18b->registerTalkBackend("OCA\\Talk\\OCP\\TalkBackend")
 2. /var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php line 136
    OCA\Talk\AppInfo\Application->register(["OCP\\AppFramew ... "])
 3. /var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php line 95
    OC\AppFramework\Bootstrap\Coordinator->registerApps(["spreed"])
 4. /var/www/html/lib/private/Installer.php line 143
    OC\AppFramework\Bootstrap\Coordinator->runLazyRegistration("spreed")
 5. /var/www/html/lib/private/legacy/OC_App.php line 442
    OC\Installer->installApp("spreed")
 6. /var/www/html/core/Command/App/Install.php line 97
    OC_App->enable("spreed")
 7. /var/www/html/3rdparty/symfony/console/Command/Command.php line 255
    OC\Core\Command\App\Install->execute(["Symfony\\Compo ... "], ["Symfony\\Compo ... "])
 8. /var/www/html/3rdparty/symfony/console/Application.php line 1009
    Symfony\Component\Console\Command\Command->run(["Symfony\\Compo ... "], ["Symfony\\Compo ... "])
 9. /var/www/html/3rdparty/symfony/console/Application.php line 273
    Symfony\Component\Console\Application->doRunCommand(["OC\\Core\\Command\\App\\Install"], ["Symfony\\Compo ... "], ["Symfony\\Compo ... "])
10. /var/www/html/3rdparty/symfony/console/Application.php line 149
    Symfony\Component\Console\Application->doRun(["Symfony\\Compo ... "], ["Symfony\\Compo ... "])
11. /var/www/html/lib/private/Console/Application.php line 213
    Symfony\Component\Console\Application->run(["Symfony\\Compo ... "], ["Symfony\\Compo ... "])
12. /var/www/html/console.php line 100
    OC\Console\Application->run()
13. /var/www/html/occ line 11
    require_once("/var/www/html/console.php")

at 2023-03-19T21:13:08+00:00

I think I might switch to nginx proxy manager instead of cloudflare. That’s a pity though, I really believed Cloudflare gave a strong security.

I would recommend to do so as NPM does not come with as many downsides and should usually make things work out-of-the-box.

1 Like

Hi
switching to NPM didn’t change a thing.
I’ve set the domain through NPM container.
Installed AiO, and got exactly the same behavior. Talk and Collabora not working out of the box…

Just to let you know.

Could I know if you host everything in the same host? If so, Talk as I did not use it, I have no idea, for Collabora, I add NC_DOMAIN <server_IP> to /etc/hosts on the server to make it working.
You can try.
This might be related to NAT Loopback with port forward on some router.

in the same host, the same web server, yes.
Ok, i’ll try to add NC server_IPs to etc/hosts.
Thanks @a3linux

the server_IP of containers change each time the system reboots.
To pu it in /hosts, it takes to add a specific port to containers:

networks:
  nextcloud-aio:
    ipv4_address: 10.10.10.3

I think it should be the host IP, not the docker container ip which should be resolve the NC_DOMAIN, or the COLLABORA domain.

ah, I think I don’t understand then. The host IP? The public_IP?

do you mean something like:
123.123.123.123 my.domain.net domain.net

I think the host IP means the physical network interface IP,
should be your LAN IP, not the docker network IP. for example,
192.168.1.xx my.domain.com
this is what I added to my /etc/hosts which my home network has a LAN 192.168.1.0/24