Hi
I’m trying to install nextcloud with docker using this guide.
https://jakupovic.org/wiki/syno-docker-nextcloud/#step-5-creating-a-container-for-mariadb
And I keep getting this error
this is my config.php
<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\APCu',
'datadirectory' => '/data',
'instanceid' => 'ocxq9vlp64p2',
'passwordsalt' => '..replaced..',
'secret' => '..replaced..',
'trusted_domains' =>
array (
0 => 'x.x.x.x:30080',
),
'dbtype' => 'mysql',
'version' => '23.0.0.10',
'dbname' => 'nextcloud_db',
'dbhost' => 'x.x.x.x:3307',
'dbport' => '',
'dbtableprefix' => 'oc_',
'overwrite.cli.url' => 'https://x.x.x.x:30080',
);
I don’t want to use next cloud outside of my lan, só it won’t accept the certificate.
They are both on the same network:
docker network inspect nextcloud-network
[
{
"Name": "nextcloud-network",
"Id": "85217df14bdd2b8109dc56824ba722aafe263e5e3c58ea89ef3465ca1bbc16fc",
"Created": "2021-12-31T13:51:11.595110886Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.18.0.0/16",
"Gateway": "172.18.0.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"29120154830ea43cf538ade5b77f569a981c5298b1b34b7f8e309063563e3966": {
"Name": "nextcloud-web",
"EndpointID": "a4c1064a7efdb4636c8b60364798aedb792f32782efe4a14c5e8e4f694b6ea2f",
"MacAddress": "02:42:ac:12:00:03",
"IPv4Address": "172.18.0.3/16",
"IPv6Address": ""
},
"b260a97ce5725c04e940606ae275801182fee8ead50121936b4c4a56b1a6fd05": {
"Name": "linuxserver-mariadb1",
"EndpointID": "6b55e2e9b6aae8dc1c130a8d7cbdde19829d8c05934ac15e9d6cebc1243c4c8f",
"MacAddress": "02:42:ac:12:00:02",
"IPv4Address": "172.18.0.2/16",
"IPv6Address": ""
}
},
"Options": {},
"Labels": {}
}
]
looking at the logfile I get:
{"reqId":"k4kqCfSvQKIEdSxLR4a1","level":2,"time":"2022-02-13T19:18:07+00:00","remoteAddr":"172.19.0.1","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Host x.x.x.x was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36","version":"23.0.0.10"}
{"reqId":"k4kqCfSvQKIEdSxLR4a1","level":2,"time":"2022-02-13T19:18:07+00:00","remoteAddr":"172.19.0.1","user":"--","app":"no app in context","method":"POST","url":"/index.php","message":"Host x.x.x.x was not connected to because it violates local access rules","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36","version":"23.0.0.10"}
{"reqId":"t2Yn9AUiK0Wvz11TL69J","level":3,"time":"2022-02-13T19:20:02+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Not installed","userAgent":"--","version":"23.0.0.10","exception":{"Exception":"Exception","Message":"Not installed","Code":0,"Trace":[{"file":"/config/www/nextcloud/lib/base.php","line":649,"function":"checkInstalled","class":"OC","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1087,"function":"init","class":"OC","type":"::"},{"file":"/config/www/nextcloud/cron.php","line":43,"args":["/config/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/base.php","Line":277,"CustomMessage":"--"}}
can anyone help?
Thanks