[details=âSupport introâ]
Sorry to hear youâre facing problems
I have a weird issue with next cloud while using the helm chart. Iâll post the helm values Iâm using as well, but hereâs the summary:
Once Iâm in ânextcloudâ, links work find. As an example, if i log in to https://cloud.mysite.com", I can click around, click links, etc, and have no issues. However If i go to the address bar, and remove part of it, say:
https://cloud.site.com/settings/admin
I get an error in chrome saying DNS_PROBE_FINISHED_NXDOMAIN, and if i look atthe address bar, I now have
https://https//cloud.site.com/apps/dashboard/
where an extra âhttps//â has been inserted in the url, causing an invalid link.
I am using the latest chart (3.5.19) and here are my values:
image:
pullPolicy: IfNotPresent
tag: 27.0.0-apache
service:
type: ClusterIP
ingress:
enabled: true
className: traefik
annotations:
kubernetes.io/tls-acme: 'true'
cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.middlewares: traefik-cloudflarewarp@kubernetescrd,nextcloud-compression@kubernetescrd,nextcloud-secureheaders@kubernetescrd,nextcloud-limit@kubernetescrd
tls:
- secretName: nextcloud-tls
hosts:
- cloud.********.com
nextcloud:
host: cloud.*********.com
existingSecret:
enabled: true
secretName: nextcloud-credentials
usernameKey: nextcloud_admin_username
passwordKey: nextcloud_admin_password
smtpUsernameKey: nextcloud_smtp_username
smtpPasswordKey: nextcloud_smtp_password
mail:
enabled: true
fromAddress: *****
domain: ***************.com
smtp:
host: smtp.google.com
secure: tls
port: 587
extraEnv:
- name: PHP_MEMORY_LIMIT
value: "1024M"
- name: PHP_UPLOAD_LIMIT
value: "16G"
configs:
proxies.config.php: |-
<?php
$CONFIG = array (
'trusted_proxies' => ['10.244.0.0/16'],
'forwarded_for_headers' => array('HTTP_X_FORWARDED_FOR'),
);
region.config.php: |
<?php
$CONFIG = array (
'default_phone_region' => 'US',
);
custom.config.php: |-
<?php
$CONFIG = array (
'overwritehost' => 'https://cloud.***********.com',
'overwriteprotocol' => 'https',
);
internalDatabase:
enabled: false
externalDatabase:
enabled: true
type: postgresql
host: 192.168.xxx.yyy
database: nextcloudk8s
existingSecret:
enabled: true
secretName: nextcloud-credentials
usernameKey: nextcloud_db_username
passwordKey: nextcloud_db_password
redis:
enabled: true
auth:
enabled: true
existingSecret: nextcloud-credentials
existingSecretPasswordKey: nextcloud_redis_password
cronjob:
enabled: true
persistence:
enabled: true
nextcloudData:
enabled: true
subPath: nextcloud/data
annotations: {}
accessMode: ReadWriteOnce
size: 800Gi
metrics:
enabled: true
serviceMonitor:
enabled: true
livenessProbe:
enabled: true
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
readinessProbe:
enabled: true
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1
The output of your Nextcloud log in Admin > Logging:
Error PHP Allowed memory size of 134217728 bytes exhausted (tried to allocate 65536 bytes) at /var/www/html/lib/private/legacy/OC_Image.php#389 2023-07-19T00:59:35-0700
Error PHP Allowed memory size of 134217728 bytes exhausted (tried to allocate 827392 bytes) at /var/www/html/lib/private/legacy/OC_Image.php#402 2023-07-19T00:44:12-0700
Error PHP Allowed memory size of 134217728 bytes exhausted (tried to allocate 12288 bytes) at /var/www/html/lib/private/legacy/OC_Image.php#1011 2023-07-19T00:39:27-0700
Error PHP Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) at /var/www/html/lib/private/legacy/OC_Image.php#1011 2023-07-19T00:37:48-0700
Warning suspicious_login Could not predict suspiciousness: No models found 2023-07-19T00:21:20-0700
Error no app in context OCP\AppFramework\OCS\OCSException: Reached maximum delay 2023-07-18T23:33:55-0700
Error no app in context OCP\AppFramework\OCS\OCSException: Reached maximum delay 2023-07-18T23:31:25-0700
Error no app in context OCP\AppFramework\OCS\OCSException: Reached maximum delay 2023-07-18T23:29:55-0700
Error no app in context OCP\AppFramework\OCS\OCSException: Reached maximum delay 2023-07-18T23:27:25-0700
Error no app in context OCP\AppFramework\OCS\OCSException: Reached maximum delay 2023-07-18T23:03:25-0700
Error no app in context OCP\AppFramework\OCS\OCSException: Reached maximum delay 2023-07-18T23:00:55-0700
Error no app in context OCP\AppFramework\OCS\OCSException: Reached maximum delay 2023-07-18T23:00:25-0700
Error no app in context OCP\AppFramework\OCS\OCSException: Reached maximum delay 2023-07-18T22:59:26-0700
Error no app in context OCP\AppFramework\OCS\OCSException: Reached maximum delay 2023-07-18T22:58:24-0700
Error no app in context OCP\AppFramework\OCS\OCSException: Reached maximum delay 2023-07-18T22:56:25-0700
Error no app in context OCP\AppFramework\OCS\OCSException: Reached maximum delay
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'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,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'nextcloud-redis-master',
'password' => '******************',
'port' => 6379,
),
'mail_smtpmode' => 'smtp',
'mail_smtphost' => 'smtp.google.com',
'mail_smtpport' => '587',
'mail_smtpsecure' => 'tls',
'mail_smtpauth' => true,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpname' => '*****@**********.com',
'mail_from_address' => '*****',
'mail_domain' => '*******.com',
'mail_smtppassword' => '\'*******************',
'passwordsalt' => '********',
'secret' => '*****************',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'cloud.*********.com',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'pgsql',
'version' => '27.0.0.8',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloudk8s',
'dbhost' => '192.168.xxx.yyy',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => '***********',
'installed' => true,
'instanceid' => 'ocz0jefq2j24',
'app_install_overwrite' =>
array (
0 => 'sharerenamer',
1 => 'camerarawpreviews',
),
);
root