Nextcloud version: Nextcloud Hub 9 (30.0.1) / Nextcloud All-in-One v9.7.0
Operating system and version: Linux Mint Mate
Apache or nginx version: nextcloud/aio-apache:latest (not sure where to find version #)
PHP version: 8.2.24
The issue you are facing:
Hi everyone,
I have installed Nextcloud AIO on a Linux Mint Mate via docker, using the default convenience script & settings as described here on the github.
The nextcloud instance works fine if I access it through the web, but I cannot seem to access the regular login via a local IP. I want that for higher transfer speeds.
The server’s internal ip is 192.168.1.23.
In my router I have forwarded ports (out of desperation I forwarded all of them):
443 → 192.168.1.23:443
8443 → 192.168.1.23:8443
80 → 192.168.1.23:80
8080 → 192.168.1.23:8080
I have tried to connect to all of these ports:
https://192.168.1.23/ tells me SSL_ERROR_INTERNAL_ERROR_ALERT
https://192.168.1.23:80 tells me SSL_ERROR_RX_RECORD_TOO_LONG
https://192.168.1.23:443 tells me SSL_ERROR_INTERNAL_ERROR_ALERT
https://192.168.1.23:8443 tells me SSL_ERROR_INTERNAL_ERROR_ALERT
https://192.168.1.23:8080 gets me to the Nextcloud AIO admin panel, where I am supplied the initial passphrase. From here I can click through to my nextcloud, but it will direct me through the internet rather than my local network.
What I want is to use a local ip to get to the regular login screen, which will let me log into my user account. If anyone could explain in simple terms how I can achieve that, that would be much appreciated!
I’m a huge newbie at networking and linux and an amateur who is a bit in over my head, so please keep in mind my limited knowledge level! I may need some ELI5 directions…
Is this the first time you’ve seen this error?: Yes. I previously used NextcloudPi and on that it was no issue accessing nextcloud via an internal ip.
The output of your config.php file in /path/to/nextcloud
:
<?php
$CONFIG = array (
'one-click-instance' => true,
'one-click-instance.user-limit' => 100,
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'check_data_directory_permissions' => false,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'nextcloud-aio-redis',
'password' => '<censored>',
'port' => 6379,
),
'overwritehost' => 'my.domain.url',
'overwriteprotocol' => 'https',
'passwordsalt' => '<Censored>',
'secret' => '<censored>',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'my.domain.url',
),
'datadirectory' => '/mnt/ncdata',
'dbtype' => 'pgsql',
'version' => '30.0.1.2',
'overwrite.cli.url' => 'https://my.domain.url/',
'dbname' => 'nextcloud_database',
'dbhost' => 'nextcloud-aio-database:5432',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_nextcloud',
'dbpassword' => '<censored>',
'installed' => true,
'instanceid' => 'ocx5k40tc0s3',
'maintenance' => false,
'updatedirectory' => '/nc-updater',
'loglevel' => 2,
'app_install_overwrite' =>
array (
0 => 'nextcloud-aio',
1 => 'side_menu',
),
'log_type' => 'file',
'logfile' => '/var/www/html/data/nextcloud.log',
'log_rotate_size' => 10485760,
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'preview_max_x' => 2048,
'preview_max_y' => 2048,
'jpeg_quality' => 60,
'enabledPreviewProviders' =>
array (
1 => 'OC\\Preview\\Image',
2 => 'OC\\Preview\\MarkDown',
3 => 'OC\\Preview\\MP3',
4 => 'OC\\Preview\\TXT',
5 => 'OC\\Preview\\OpenDocument',
6 => 'OC\\Preview\\Movie',
7 => 'OC\\Preview\\Krita',
),
'enable_previews' => true,
'upgrade.disable-web' => true,
'mail_smtpmode' => 'smtp',
'trashbin_retention_obligation' => 'auto, 30',
'versions_retention_obligation' => 'auto, 30',
'activity_expire_days' => 30,
'simpleSignUpLink.shown' => false,
'share_folder' => '/Shared',
'one-click-instance.link' => 'https://nextcloud.com/all-in-one/',
'upgrade.cli-upgrade-link' => 'https://github.com/nextcloud/all-in-one/discussions/2726',
'maintenance_window_start' => 100,
'allow_local_remote_servers' => true,
'davstorage.request_timeout' => 3600,
'htaccess.RewriteBase' => '/',
'dbpersistent' => false,
'auth.bruteforce.protection.enabled' => true,
'ratelimit.protection.enabled' => true,
'files_external_allow_create_new_local' => false,
'trusted_proxies' =>
array (
0 => '127.0.0.1',
1 => '::1',
10 => '172.18.0.0/16',
),
'defaultapp' => 'dashboard,files,notes,calendar,contacts',
);