Closed Dani3lSun closed 4 months ago
Hello, can you try disabling ffmpeg installation?
Tried it by removing the ffmpeg
command, at least that was the only place mentioning it...But no luck, still the same issue as before.
Lets also delete the container, to make sure it does not include anything from previous run
k3s crictl rmi docker.io/library/nextcloud:29.0.0
Thanks, but still no luck and stuck with the same error message
Can you try to create a new nextcloud app? Only fill in the admin user and password and change the webport to something different than your current one, because I can't reproduce it on new installs on my machine.
(Don't delete your current installation)
Ok tried again creating a new app also using host storage, only difference, it uses the new v2 storage scheme. But also the same issue.
Output of midclt call chart.release.get_instance nextcloud-test | jq '.config'
:
{
"global": {
"ixChartContext": {
"addNvidiaRuntimeClass": false,
"hasNFSCSI": true,
"hasSMBCSI": true,
"isInstall": true,
"isStopped": false,
"isUpdate": false,
"isUpgrade": false,
"kubernetes_config": {
"cluster_cidr": "172.16.0.0/16",
"cluster_dns_ip": "172.17.0.10",
"service_cidr": "172.17.0.0/16"
},
"nfsProvisioner": "nfs.csi.k8s.io",
"nvidiaRuntimeClassName": "nvidia",
"operation": "INSTALL",
"smbProvisioner": "smb.csi.k8s.io",
"storageClassName": "ix-storage-class-nextcloud-test",
"upgradeMetadata": {}
}
},
"image": {
"pullPolicy": "IfNotPresent",
"repository": "nextcloud",
"tag": "29.0.0"
},
"ixCertificateAuthorities": {},
"ixCertificates": {
"15": {
"CA_type_existing": false,
"CA_type_intermediate": false,
"CA_type_internal": false,
"CSR": null,
"DN": "/C=Germany/O=XX/OU=Home/CN=truenas.home.lan/subjectAltName=DNS:localhost, DNS:truenas, DNS:truenas.home.lan, IP Address:192.168.1.35, IP Address:127.0.0.1",
"can_be_revoked": false,
"cert_type": "CERTIFICATE",
"cert_type_CSR": false,
"cert_type_existing": true,
"cert_type_internal": false,
"certificate": "-----BEGIN CERTIFICATE-----\n\n-----END CERTIFICATE-----",
"certificate_path": "/etc/certificates/truenas_homelan.crt",
"chain": false,
"chain_list": [
"-----BEGIN CERTIFICATE-----\n\n-----END CERTIFICATE-----"
],
"city": null,
"common": "truenas.home.lan",
"country": "Germany",
"csr_path": "/etc/certificates/truenas_homelan.csr",
"digest_algorithm": "SHA256",
"email": null,
"expired": false,
"extensions": {
"AuthorityKeyIdentifier": "55:59:46:A1:C2:1E:F2:B1:E1:91:99:FE:08:9B:7F:12:11:6A:05:CC",
"ExtendedKeyUsage": "TLS Web Server Authentication, TLS Web Client Authentication",
"SubjectAltName": "DNS:localhost, DNS:truenas, DNS:truenas.home.lan, IP Address:192.168.1.35, IP Address:127.0.0.1",
"SubjectKeyIdentifier": "66:6B:50:FD:84:06:E5:6F:26:D1:CA:6B:4E:BE:B1:76:94:29:05:16"
},
"fingerprint": "E2:08:2E:12:93:35:4C:57:D2:E4:DD:4A:80:91:2C:5C:3D:A4:85:5E",
"from": "Thu Jan 11 22:47:25 2024",
"id": 15,
"internal": "NO",
"issuer": "external",
"key_length": 4096,
"key_type": "RSA",
"lifetime": 397,
"name": "truenas_homelan",
"organization": "DH",
"organizational_unit": "Home",
"parsed": true,
"privatekey": "-----BEGIN PRIVATE KEY-----\n\n-----END PRIVATE KEY-----\n",
"privatekey_path": "/etc/certificates/truenas_homelan.key",
"revoked": false,
"revoked_date": null,
"root_path": "/etc/certificates",
"san": [
"DNS:localhost",
"DNS:truenas",
"DNS:truenas.home.lan",
"IP Address:192.168.1.35",
"IP Address:127.0.0.1"
],
"serial": 4.6538935417801105e+47,
"signedby": null,
"state": null,
"subject_name_hash": 3630716031,
"type": 8,
"until": "Tue Feb 11 22:47:54 2025"
}
},
"ixChartContext": {
"addNvidiaRuntimeClass": false,
"hasNFSCSI": true,
"hasSMBCSI": true,
"isInstall": true,
"isStopped": false,
"isUpdate": false,
"isUpgrade": false,
"kubernetes_config": {
"cluster_cidr": "172.16.0.0/16",
"cluster_dns_ip": "172.17.0.10",
"service_cidr": "172.17.0.0/16"
},
"nfsProvisioner": "nfs.csi.k8s.io",
"nvidiaRuntimeClassName": "nvidia",
"operation": "INSTALL",
"smbProvisioner": "smb.csi.k8s.io",
"storageClassName": "ix-storage-class-nextcloud-test",
"upgradeMetadata": {}
},
"ixExternalInterfacesConfiguration": [],
"ixExternalInterfacesConfigurationNames": [],
"ixVolumes": [],
"ncConfig": {
"additionalEnvs": [],
"adminPassword": "admin",
"adminUser": "admin",
"commands": [],
"cron": {
"enabled": true,
"schedule": "*/15 * * * *"
},
"dataDir": "/var/www/html/data",
"host": "192.168.1.35",
"maxExecutionTime": 30,
"maxUploadLimit": 3,
"opCacheMemoryConsumption": 128,
"phpMemoryLimit": 512
},
"ncNetwork": {
"certificateID": 15,
"nginx": {
"externalAccessPort": 443,
"proxyTimeouts": 60,
"useDifferentAccessPort": false
},
"webPort": 9001
},
"ncPostgresImage": {
"pullPolicy": "IfNotPresent",
"repository": "postgres",
"tag": "13.1"
},
"ncStorage": {
"additionalStorages": [],
"data": {
"hostPathConfig": {
"aclEnable": false,
"hostPath": "/mnt/storage-pool/apps/nextcloud_test/data"
},
"ixVolumeConfig": {
"datasetName": "data"
},
"type": "hostPath"
},
"html": {
"hostPathConfig": {
"aclEnable": false,
"hostPath": "/mnt/storage-pool/apps/nextcloud_test/app"
},
"ixVolumeConfig": {
"datasetName": "html"
},
"type": "hostPath"
},
"isDataInTheSameVolume": false,
"migrationFixed": true,
"pgBackup": {
"hostPathConfig": {
"aclEnable": false,
"hostPath": "/mnt/storage-pool/apps/nextcloud_test/backup"
},
"ixVolumeConfig": {
"datasetName": "pgBackup"
},
"type": "hostPath"
},
"pgData": {
"hostPathConfig": {
"aclEnable": false,
"hostPath": "/mnt/storage-pool/apps/nextcloud_test/db"
},
"ixVolumeConfig": {
"datasetName": "pgData"
},
"type": "hostPath"
}
},
"nginxImage": {
"pullPolicy": "IfNotPresent",
"repository": "nginx",
"tag": "1.25.4"
},
"notes": {
"custom": "## Database\nYou can connect to the database using the pgAdmin App from the catalog\n\n<details>\n <summary>Database Details</summary>\n\n - Database: `{{ .Values.ncDbName }}`\n - Username: `{{ .Values.ncDbUser }}`\n - Password: `{{ .Values.ncDbPass }}`\n - Host: `{{ .Values.ncDbHost }}.{{ .Release.Namespace }}.svc.cluster.local`\n - Port: `5432`\n\n</details>\n{{- $_ := unset .Values \"ncDbUser\" }}\n{{- $_ := unset .Values \"ncDbName\" }}\n{{- $_ := unset .Values \"ncDbPass\" }}\n{{- $_ := unset .Values \"ncDbHost\" }}\n\nNote: Nextcloud will create an additional new user and password for the admin user\non first startup. You can find those credentials in the `/var/www/html/config/config.php` file\ninside the container.\n"
},
"podOptions": {
"dnsConfig": {
"options": []
}
},
"release_name": "nextcloud-test",
"resources": {
"limits": {
"cpu": "4000m",
"memory": "8Gi"
}
}
}
What is the output of those 2 commands? (replace image id with the one you got from the 1st command)
k3s crictl image ls | grep nextcloud
k3s crictl inspecti <image id>
root@truenas[~]# k3s crictl image ls | grep nextcloud
docker.io/library/nextcloud 29.0.0 6b45feecc74d9 446MB
root@truenas[~]# k3s crictl inspecti 6b45feecc74d9
{
"status": {
"id": "sha256:6b45feecc74d9901a130314a163779408347cbc1fa285e8f9fb3ebfbc87bc875",
"repoTags": [
"docker.io/library/nextcloud:29.0.0"
],
"repoDigests": [
"docker.io/library/nextcloud@sha256:8e3c798444f02a85b0322db4e52f0eaacabb2a0652e9d09dbdeea8d8cd218690"
],
"size": "445822249",
"uid": null,
"username": "",
"spec": null,
"pinned": false
},
"info": {
"chainID": "sha256:e4c3eff1ef6f44db7067130379dffe23e0d072022d2f817947059ab892921a62",
"imageSpec": {
"created": "2024-05-14T19:37:28.357944188Z",
"architecture": "amd64",
"os": "linux",
"config": {
"ExposedPorts": {
"80/tcp": {}
},
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"PHPIZE_DEPS=autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c",
"PHP_INI_DIR=/usr/local/etc/php",
"APACHE_CONFDIR=/etc/apache2",
"APACHE_ENVVARS=/etc/apache2/envvars",
"PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
"PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
"PHP_LDFLAGS=-Wl,-O1 -pie",
"GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC",
"PHP_VERSION=8.2.19",
"PHP_URL=https://www.php.net/distributions/php-8.2.19.tar.xz",
"PHP_ASC_URL=https://www.php.net/distributions/php-8.2.19.tar.xz.asc",
"PHP_SHA256=aecd63f3ebea6768997f5c4fccd98acbf897762ed5fc25300e846197a9485c13",
"PHP_MEMORY_LIMIT=512M",
"PHP_UPLOAD_LIMIT=512M",
"APACHE_BODY_LIMIT=1073741824",
"NEXTCLOUD_VERSION=29.0.0"
],
"Entrypoint": [
"/entrypoint.sh"
],
"Cmd": [
"apache2-foreground"
],
"Volumes": {
"/var/www/html": {}
},
"WorkingDir": "/var/www/html",
"StopSignal": "SIGWINCH"
},
"rootfs": {
"type": "layers",
"diff_ids": [
"sha256:5d4427064ecc46e3c2add169e9b5eafc7ed2be7861081ec925938ab628ac0e25",
"sha256:fb5221356fa279ff0911f5b0c170bee9d829e4fea8a2dc0e0ed8aec3daf3db22",
"sha256:b354ecd4789a85d89044996cabf58e2fff8ad9192b240b4367e7fa2b121f8077",
"sha256:33c44db12c6c5ec443cf80911477344708cbafe058779b93028aafa33caa4324",
"sha256:62345f7786c0ff243f2b3a558b64e841f3092a49dd27d739689b056e1158e9fa",
"sha256:11b8a7bb5a346fc105737641105739c8c21cc1c80ea1f14746048d62a33d8069",
"sha256:7ea0df9b18f933cfbb0f0d461884013977c56c6a518aeb5e052183d03696927a",
"sha256:0702b1aba9214ebf8a6f17820c95851a58d3f48058a92b1f3981d1721e0c1c5d",
"sha256:45ba90d36265d74ead3f810ac298c0ac51f6c3bdf5e4c0ad11f096f05c6c3903",
"sha256:e593f731d6825864d6e81d67aac4951e501a271ff9738bcaf08447df2916962e",
"sha256:8e73026e7d55c1a862e305adb91ffb259277577f63be413e9cfc9cfc66c5a727",
"sha256:55a3199bfde5547ab51d6a66657ddcbd3213445226035139cc653a039b901f7c",
"sha256:fe8c7f6c4a885e19a4a33b67a1255b6b921b8bf175b81a6b155ad61ac3248b92",
"sha256:8e3097d45c9330a1c201588100d0fba0a30140eb02dc5de0aeaba4216e2872c0",
"sha256:907756701b1cc9c6a39f6e687236063ebb6db889c5d8b0d6dbdb986bcffa5f43",
"sha256:10258b1ce555b57c732cbc37e43daf253d7ddd8c63d3a9a16e9715366074dd0d",
"sha256:d47ce95768596ba223d3e809be2b4a07d558cc6c73ea3cbf5bf087642cb0d630",
"sha256:fcf3b84cd6da2f639c0ee997c21b01b60f9262046c517dc6ca3712598ca576b5",
"sha256:acd0c73306f10ddaf56e1f76a89c9442fda61b424bbef5660d3a68e8baacf444",
"sha256:8eb8a44dcfd799e2c441ac58509988cbf31e31fbc14fe96bd759d72874d9fa4a",
"sha256:94e66128f2adfa607514948550f267204bf27d3118cb833441eba155e9c04445"
]
},
"history": [
{
"created": "2024-05-14T01:28:03.648179024Z",
"created_by": "/bin/sh -c #(nop) ADD file:5aaace706aa00ff97d243daa2c29f5de88f124e1b97c570634f16eef90783286 in / "
},
{
"created": "2024-05-14T01:28:04.025990096Z",
"created_by": "/bin/sh -c #(nop) CMD [\"bash\"]",
"empty_layer": true
},
{
"created": "2024-05-14T12:34:48.769884916Z",
"created_by": "/bin/sh -c set -eux; \t{ \t\techo 'Package: php*'; \t\techo 'Pin: release *'; \t\techo 'Pin-Priority: -1'; \t} \u003e /etc/apt/preferences.d/no-debian-php"
},
{
"created": "2024-05-14T12:34:48.860862367Z",
"created_by": "/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c",
"empty_layer": true
},
{
"created": "2024-05-14T12:35:10.631554686Z",
"created_by": "/bin/sh -c set -eux; \tapt-get update; \tapt-get install -y --no-install-recommends \t\t$PHPIZE_DEPS \t\tca-certificates \t\tcurl \t\txz-utils \t; \trm -rf /var/lib/apt/lists/*"
},
{
"created": "2024-05-14T12:35:11.4938785Z",
"created_by": "/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php",
"empty_layer": true
},
{
"created": "2024-05-14T12:35:12.05724778Z",
"created_by": "/bin/sh -c set -eux; \tmkdir -p \"$PHP_INI_DIR/conf.d\"; \t[ ! -d /var/www/html ]; \tmkdir -p /var/www/html; \tchown www-data:www-data /var/www/html; \tchmod 1777 /var/www/html"
},
{
"created": "2024-05-14T12:39:12.389715527Z",
"created_by": "/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2",
"empty_layer": true
},
{
"created": "2024-05-14T12:39:12.481565765Z",
"created_by": "/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars",
"empty_layer": true
},
{
"created": "2024-05-14T12:39:51.308345026Z",
"created_by": "/bin/sh -c set -eux; \tapt-get update; \tapt-get install -y --no-install-recommends apache2; \trm -rf /var/lib/apt/lists/*; \t\tsed -ri 's/^export ([^=]+)=(.*)$/: ${\\1:=\\2}\\nexport \\1/' \"$APACHE_ENVVARS\"; \t\t. \"$APACHE_ENVVARS\"; \tfor dir in \t\t\"$APACHE_LOCK_DIR\" \t\t\"$APACHE_RUN_DIR\" \t\t\"$APACHE_LOG_DIR\" \t\t\"$APACHE_RUN_DIR/socks\" \t; do \t\trm -rvf \"$dir\"; \t\tmkdir -p \"$dir\"; \t\tchown \"$APACHE_RUN_USER:$APACHE_RUN_GROUP\" \"$dir\"; \t\tchmod 1777 \"$dir\"; \tdone; \t\trm -rvf /var/www/html/*; \t\tln -sfT /dev/stderr \"$APACHE_LOG_DIR/error.log\"; \tln -sfT /dev/stdout \"$APACHE_LOG_DIR/access.log\"; \tln -sfT /dev/stdout \"$APACHE_LOG_DIR/other_vhosts_access.log\"; \tchown -R --no-dereference \"$APACHE_RUN_USER:$APACHE_RUN_GROUP\" \"$APACHE_LOG_DIR\""
},
{
"created": "2024-05-14T12:39:52.053228792Z",
"created_by": "/bin/sh -c a2dismod mpm_event \u0026\u0026 a2enmod mpm_prefork"
},
{
"created": "2024-05-14T12:39:52.620932671Z",
"created_by": "/bin/sh -c { \t\techo '\u003cFilesMatch \\.php$\u003e'; \t\techo '\\tSetHandler application/x-httpd-php'; \t\techo '\u003c/FilesMatch\u003e'; \t\techo; \t\techo 'DirectoryIndex disabled'; \t\techo 'DirectoryIndex index.php index.html'; \t\techo; \t\techo '\u003cDirectory /var/www/\u003e'; \t\techo '\\tOptions -Indexes'; \t\techo '\\tAllowOverride All'; \t\techo '\u003c/Directory\u003e'; \t} | tee \"$APACHE_CONFDIR/conf-available/docker-php.conf\" \t\u0026\u0026 a2enconf docker-php"
},
{
"created": "2024-05-14T12:39:52.718881043Z",
"created_by": "/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
"empty_layer": true
},
{
"created": "2024-05-14T12:39:52.814762179Z",
"created_by": "/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
"empty_layer": true
},
{
"created": "2024-05-14T12:39:52.910192526Z",
"created_by": "/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -pie",
"empty_layer": true
},
{
"created": "2024-05-14T13:10:39.869025577Z",
"created_by": "/bin/sh -c #(nop) ENV GPG_KEYS=39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC",
"empty_layer": true
},
{
"created": "2024-05-14T13:10:39.963559126Z",
"created_by": "/bin/sh -c #(nop) ENV PHP_VERSION=8.2.19",
"empty_layer": true
},
{
"created": "2024-05-14T13:10:40.054005784Z",
"created_by": "/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-8.2.19.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.2.19.tar.xz.asc",
"empty_layer": true
},
{
"created": "2024-05-14T13:10:40.150493075Z",
"created_by": "/bin/sh -c #(nop) ENV PHP_SHA256=aecd63f3ebea6768997f5c4fccd98acbf897762ed5fc25300e846197a9485c13",
"empty_layer": true
},
{
"created": "2024-05-14T13:10:51.96511098Z",
"created_by": "/bin/sh -c set -eux; \t\tsavedAptMark=\"$(apt-mark showmanual)\"; \tapt-get update; \tapt-get install -y --no-install-recommends gnupg; \trm -rf /var/lib/apt/lists/*; \t\tmkdir -p /usr/src; \tcd /usr/src; \t\tcurl -fsSL -o php.tar.xz \"$PHP_URL\"; \t\tif [ -n \"$PHP_SHA256\" ]; then \t\techo \"$PHP_SHA256 *php.tar.xz\" | sha256sum -c -; \tfi; \t\tif [ -n \"$PHP_ASC_URL\" ]; then \t\tcurl -fsSL -o php.tar.xz.asc \"$PHP_ASC_URL\"; \t\texport GNUPGHOME=\"$(mktemp -d)\"; \t\tfor key in $GPG_KEYS; do \t\t\tgpg --batch --keyserver keyserver.ubuntu.com --recv-keys \"$key\"; \t\tdone; \t\tgpg --batch --verify php.tar.xz.asc php.tar.xz; \t\tgpgconf --kill all; \t\trm -rf \"$GNUPGHOME\"; \tfi; \t\tapt-mark auto '.*' \u003e /dev/null; \tapt-mark manual $savedAptMark \u003e /dev/null; \tapt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false"
},
{
"created": "2024-05-14T13:10:52.097180278Z",
"created_by": "/bin/sh -c #(nop) COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/ "
},
{
"created": "2024-05-14T13:14:27.054930046Z",
"created_by": "/bin/sh -c set -eux; \t\tsavedAptMark=\"$(apt-mark showmanual)\"; \tapt-get update; \tapt-get install -y --no-install-recommends \t\tapache2-dev \t\tlibargon2-dev \t\tlibcurl4-openssl-dev \t\tlibonig-dev \t\tlibreadline-dev \t\tlibsodium-dev \t\tlibsqlite3-dev \t\tlibssl-dev \t\tlibxml2-dev \t\tzlib1g-dev \t; \t\texport \t\tCFLAGS=\"$PHP_CFLAGS\" \t\tCPPFLAGS=\"$PHP_CPPFLAGS\" \t\tLDFLAGS=\"$PHP_LDFLAGS\" \t\tPHP_BUILD_PROVIDER='https://github.com/docker-library/php' \t\tPHP_UNAME='Linux - Docker' \t; \tdocker-php-source extract; \tcd /usr/src/php; \tgnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\"; \tdebMultiarch=\"$(dpkg-architecture --query DEB_BUILD_MULTIARCH)\"; \tif [ ! -d /usr/include/curl ]; then \t\tln -sT \"/usr/include/$debMultiarch/curl\" /usr/local/include/curl; \tfi; \t./configure \t\t--build=\"$gnuArch\" \t\t--with-config-file-path=\"$PHP_INI_DIR\" \t\t--with-config-file-scan-dir=\"$PHP_INI_DIR/conf.d\" \t\t\t\t--enable-option-checking=fatal \t\t\t\t--with-mhash \t\t\t\t--with-pic \t\t\t\t--enable-mbstring \t\t--enable-mysqlnd \t\t--with-password-argon2 \t\t--with-sodium=shared \t\t--with-pdo-sqlite=/usr \t\t--with-sqlite3=/usr \t\t\t\t--with-curl \t\t--with-iconv \t\t--with-openssl \t\t--with-readline \t\t--with-zlib \t\t\t\t--disable-phpdbg \t\t\t\t--with-pear \t\t\t\t$(test \"$gnuArch\" = 's390x-linux-gnu' \u0026\u0026 echo '--without-pcre-jit') \t\t--with-libdir=\"lib/$debMultiarch\" \t\t\t\t--disable-cgi \t\t\t\t--with-apxs2 \t; \tmake -j \"$(nproc)\"; \tfind -type f -name '*.a' -delete; \tmake install; \tfind \t\t/usr/local \t\t-type f \t\t-perm '/0111' \t\t-exec sh -euxc ' \t\t\tstrip --strip-all \"$@\" || : \t\t' -- '{}' + \t; \tmake clean; \t\tcp -v php.ini-* \"$PHP_INI_DIR/\"; \t\tcd /; \tdocker-php-source delete; \t\tapt-mark auto '.*' \u003e /dev/null; \t[ -z \"$savedAptMark\" ] || apt-mark manual $savedAptMark; \tfind /usr/local -type f -executable -exec ldd '{}' ';' \t\t| awk '/=\u003e/ { so = $(NF-1); if (index(so, \"/usr/local/\") == 1) { next }; gsub(\"^/(usr/)?\", \"\", so); printf \"*%s\\n\", so }' \t\t| sort -u \t\t| xargs -r dpkg-query --search \t\t| cut -d: -f1 \t\t| sort -u \t\t| xargs -r apt-mark manual \t; \tapt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \trm -rf /var/lib/apt/lists/*; \t\tpecl update-channels; \trm -rf /tmp/pear ~/.pearrc; \t\tphp --version"
},
{
"created": "2024-05-14T13:14:27.373030704Z",
"created_by": "/bin/sh -c #(nop) COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/ "
},
{
"created": "2024-05-14T13:14:27.972683351Z",
"created_by": "/bin/sh -c docker-php-ext-enable sodium"
},
{
"created": "2024-05-14T13:14:28.096025203Z",
"created_by": "/bin/sh -c #(nop) ENTRYPOINT [\"docker-php-entrypoint\"]",
"empty_layer": true
},
{
"created": "2024-05-14T13:14:28.195510925Z",
"created_by": "/bin/sh -c #(nop) STOPSIGNAL SIGWINCH",
"empty_layer": true
},
{
"created": "2024-05-14T13:14:28.300263076Z",
"created_by": "/bin/sh -c #(nop) COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/ "
},
{
"created": "2024-05-14T13:14:28.405385651Z",
"created_by": "/bin/sh -c #(nop) WORKDIR /var/www/html",
"empty_layer": true
},
{
"created": "2024-05-14T13:14:28.506713596Z",
"created_by": "/bin/sh -c #(nop) EXPOSE 80",
"empty_layer": true
},
{
"created": "2024-05-14T13:14:28.608165226Z",
"created_by": "/bin/sh -c #(nop) CMD [\"apache2-foreground\"]",
"empty_layer": true
},
{
"created": "2024-05-14T19:25:36.100167245Z",
"created_by": "/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends busybox-static bzip2 libldap-common libmagickcore-6.q16-6-extra rsync ; rm -rf /var/lib/apt/lists/*; mkdir -p /var/spool/cron/crontabs; echo '*/5 * * * * php -f /var/www/html/cron.php' \u003e /var/spool/cron/crontabs/www-data"
},
{
"created": "2024-05-14T19:25:36.389639262Z",
"created_by": "/bin/sh -c #(nop) ENV PHP_MEMORY_LIMIT=512M",
"empty_layer": true
},
{
"created": "2024-05-14T19:25:36.48405682Z",
"created_by": "/bin/sh -c #(nop) ENV PHP_UPLOAD_LIMIT=512M",
"empty_layer": true
},
{
"created": "2024-05-14T19:28:27.644412199Z",
"created_by": "/bin/sh -c set -ex; savedAptMark=\"$(apt-mark showmanual)\"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libevent-dev libfreetype6-dev libgmp-dev libicu-dev libjpeg-dev libldap2-dev libmagickwand-dev libmcrypt-dev libmemcached-dev libpng-dev libpq-dev libwebp-dev libxml2-dev libzip-dev ; debMultiarch=\"$(dpkg-architecture --query DEB_BUILD_MULTIARCH)\"; docker-php-ext-configure ftp --with-openssl-dir=/usr; docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; docker-php-ext-configure ldap --with-libdir=\"lib/$debMultiarch\"; docker-php-ext-install -j \"$(nproc)\" bcmath exif ftp gd gmp intl ldap opcache pcntl pdo_mysql pdo_pgsql sysvsem zip ; pecl install APCu-5.1.23; pecl install imagick-3.7.0; pecl install memcached-3.2.0; pecl install redis-6.0.2; docker-php-ext-enable apcu imagick memcached redis ; rm -r /tmp/pear; apt-mark auto '.*' \u003e /dev/null; apt-mark manual $savedAptMark; ldd \"$(php -r 'echo ini_get(\"extension_dir\");')\"/*.so | awk '/=\u003e/ { so = $(NF-1); if (index(so, \"/usr/local/\") == 1) { next }; gsub(\"^/(usr/)?\", \"\", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -rt apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*"
},
{
"created": "2024-05-14T19:28:28.412399657Z",
"created_by": "/bin/sh -c { echo 'opcache.enable=1'; echo 'opcache.interned_strings_buffer=32'; echo 'opcache.max_accelerated_files=10000'; echo 'opcache.memory_consumption=128'; echo 'opcache.save_comments=1'; echo 'opcache.revalidate_freq=60'; echo 'opcache.jit=1255'; echo 'opcache.jit_buffer_size=128M'; } \u003e \"${PHP_INI_DIR}/conf.d/opcache-recommended.ini\"; echo 'apc.enable_cli=1' \u003e\u003e \"${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini\"; { echo 'memory_limit=${PHP_MEMORY_LIMIT}'; echo 'upload_max_filesize=${PHP_UPLOAD_LIMIT}'; echo 'post_max_size=${PHP_UPLOAD_LIMIT}'; } \u003e \"${PHP_INI_DIR}/conf.d/nextcloud.ini\"; mkdir /var/www/data; mkdir -p /docker-entrypoint-hooks.d/pre-installation /docker-entrypoint-hooks.d/post-installation /docker-entrypoint-hooks.d/pre-upgrade /docker-entrypoint-hooks.d/post-upgrade /docker-entrypoint-hooks.d/before-starting; chown -R www-data:root /var/www; chmod -R g=u /var/www"
},
{
"created": "2024-05-14T19:28:28.504355132Z",
"created_by": "/bin/sh -c #(nop) VOLUME [/var/www/html]",
"empty_layer": true
},
{
"created": "2024-05-14T19:28:29.097702692Z",
"created_by": "/bin/sh -c a2enmod headers rewrite remoteip ; { echo 'RemoteIPHeader X-Real-IP'; echo 'RemoteIPInternalProxy 10.0.0.0/8'; echo 'RemoteIPInternalProxy 172.16.0.0/12'; echo 'RemoteIPInternalProxy 192.168.0.0/16'; } \u003e /etc/apache2/conf-available/remoteip.conf; a2enconf remoteip"
},
{
"created": "2024-05-14T19:28:29.195296853Z",
"created_by": "/bin/sh -c #(nop) ENV APACHE_BODY_LIMIT=1073741824",
"empty_layer": true
},
{
"created": "2024-05-14T19:28:29.777719497Z",
"created_by": "/bin/sh -c { echo 'LimitRequestBody ${APACHE_BODY_LIMIT}'; } \u003e /etc/apache2/conf-available/apache-limits.conf; a2enconf apache-limits"
},
{
"created": "2024-05-14T19:36:21.095588978Z",
"created_by": "/bin/sh -c #(nop) ENV NEXTCLOUD_VERSION=29.0.0",
"empty_layer": true
},
{
"created": "2024-05-14T19:37:24.933823552Z",
"created_by": "/bin/sh -c set -ex; fetchDeps=\" gnupg dirmngr \"; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; curl -fsSL -o nextcloud.tar.bz2 \"https://download.nextcloud.com/server/releases/nextcloud-29.0.0.tar.bz2\"; curl -fsSL -o nextcloud.tar.bz2.asc \"https://download.nextcloud.com/server/releases/nextcloud-29.0.0.tar.bz2.asc\"; export GNUPGHOME=\"$(mktemp -d)\"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; tar -xjf nextcloud.tar.bz2 -C /usr/src/; gpgconf --kill all; rm nextcloud.tar.bz2.asc nextcloud.tar.bz2; rm -rf \"$GNUPGHOME\" /usr/src/nextcloud/updater; mkdir -p /usr/src/nextcloud/data; mkdir -p /usr/src/nextcloud/custom_apps; chmod +x /usr/src/nextcloud/occ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps; rm -rf /var/lib/apt/lists/*"
},
{
"created": "2024-05-14T19:37:27.731533107Z",
"created_by": "/bin/sh -c #(nop) COPY multi:9585a9602f24ff6c37b7e8821d7e5fca4a450cd9cc8c66163bc629028ca3df5c in / "
},
{
"created": "2024-05-14T19:37:28.162812922Z",
"created_by": "/bin/sh -c #(nop) COPY multi:325eebb30e6912e4cdbb030d4d22b6dd14fe18ca007f50df3afe27a136e1e383 in /usr/src/nextcloud/config/ "
},
{
"created": "2024-05-14T19:37:28.257412099Z",
"created_by": "/bin/sh -c #(nop) ENTRYPOINT [\"/entrypoint.sh\"]",
"empty_layer": true
},
{
"created": "2024-05-14T19:37:28.357944188Z",
"created_by": "/bin/sh -c #(nop) CMD [\"apache2-foreground\"]",
"empty_layer": true
}
]
}
}
}
I've compared with my system and the containers match 100%.
Can you try again stopping all nextcloud instances.
Deleting the image
k3s crictl rmi docker.io/library/nextcloud:29.0.0
Verifying that there are no nextcloud images left
k3s crictl image ls | grep nextcloud
Then restart one of the instances (preferable the fresh one) to test.
Thanks again! Ok now it's getting weird, after deleting the image again and rebuilding a new nextcloud test instance it worked as expected. Then I started my main instance again and also this one is starting properly now. So the issue is gone. The strange thing is that I already deleted the image yesterday and did the same steps basically 🤷♂️
Anyway it works now, thanks for your great help and support!
Thanks again! Ok now it's getting weird, after deleting the image again and rebuilding a new nextcloud test instance it worked as expected. Then I started my main instance again and also this one is starting properly now. So the issue is gone. The strange thing is that I already deleted the image yesterday and did the same steps basically 🤷♂️
Anyway it works now, thanks for your great help and support!
I've noticed when I deleted mine right after stopping the app, while it said it deleted it, I saw that it created a copy without a tag while it deleted the tagged one. Which is why I've asked to verify now that is actually deleted!
Happy that it worked!
After the 2.0.6 update, Nextcloud app doesn't start and errors out with the following error during deployment:
I use HeavyScript to update all my apps automatically and also enabled image updates, if that's important...
Output of
midclt call chart.release.get_instance nextcloud | jq '.config'
: