nextcloud / all-in-one

πŸ“¦ The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
https://hub.docker.com/r/nextcloud/all-in-one
GNU Affero General Public License v3.0
5.3k stars 616 forks source link

Warning - no app in context #4794

Closed Joly0 closed 4 months ago

Joly0 commented 4 months ago

Steps to reproduce

  1. Updated AIO from latest to beta
  2. Seing a bunch of errors in the logs

Expected behavior

No logs

Actual behavior

AppManger::checkAppForUser - can't decode group IDs: Console has to be executed with the user that owns the data directory Current user id: 33 Owner id of the data directory: 99 Try adding 'sudo -u #99' to the beginning of the command (without the single quotes) If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes) - json error code: 4 

Host OS

Unraid

Nextcloud AIO version

9.0.0

Current channel

Beta

Other valuable info

grafik

szaimen commented 4 months ago

Hi, which Nextcloud version is installed in your case?

Joly0 commented 4 months ago

Hey @szaimen its 29.0.2

szaimen commented 4 months ago

I think this must have been logged before the update to 29.0.2.

Can you check?

szaimen commented 4 months ago

See https://github.com/nextcloud/server/pull/45326

szaimen commented 4 months ago

Can you also post the nextcloud container logs here?

Joly0 commented 4 months ago

I think this must have been logged before the update to 29.0.2.

Can you check?

Cant check, the nextcloud log is full of those messages (like 10 of those every 2 seconds or so)

Joly0 commented 4 months ago

Can you also post the nextcloud container logs here?

Should i restart the container first? Because to me everything looks good.

This is currently in the log:

app_api already enabled
Activating Collabora config...
βœ“ Reset callback url autodetect
Checking configuration
πŸ›ˆ Configured WOPI URL: https://nextcloud.example.com
πŸ›ˆ Configured public WOPI URL:https://nextcloud.example.com
πŸ›ˆ Configured callback URL: 

βœ“ Fetched /hosting/discovery endpoint
βœ“ Valid mimetype response
βœ“ Valid capabilities entry
βœ“ Fetched /hosting/capabilities endpoint
βœ“ Detected WOPI server: Collabora Online Development Edition 24.04.3.1

Collabora URL (used for Nextcloud to contact the Collabora server):
  https://nextcloud.example.com
Collabora public URL (used in the browser to open Collabora):
  https://nextcloud.example.com
Callback URL (used by Collabora to connect back to Nextcloud):
  autodetected (will use the same URL as your user for browsing Nextcloud)
szaimen commented 4 months ago

Hm... Can you go to https://your-nc-domain.com/settings/admin/overview, scroll down and post a screenshot here, like so? (the warnings and the version are important)

image

Joly0 commented 4 months ago

Sure, here you have the screenshot: grafik

szaimen commented 4 months ago

Okay, it is getting really confusing. Can you post the output of the following command here? sudo docker exec -it nextcloud-aio-nextcloud bash -c "cat console.php; cat version.php"

szaimen commented 4 months ago

It would also be interesting to get the output of sudo docker exec -it nextcloud-aio-nextcloud cat data/update.log (but please make sure that no secrets are posted)

Joly0 commented 4 months ago

Okay, it is getting really confusing. Can you post the output of the following command here? sudo docker exec -it nextcloud-aio-nextcloud bash -c "cat console.php; cat version.php"

root@Tower:~# docker exec -it nextcloud-aio-nextcloud bash -c "cat console.php; cat version.php"
<?php
/**
 * @copyright Copyright (c) 2016, ownCloud, Inc.
 *
 * @author Bart Visscher <bartv@thisnet.nl>
 * @author Christoph Wurst <christoph@winzerhof-wurst.at>
 * @author hoellen <dev@hoellen.eu>
 * @author J0WI <J0WI@users.noreply.github.com>
 * @author Joas Schilling <coding@schilljs.com>
 * @author Ko- <k.stoffelen@cs.ru.nl>
 * @author Lukas Reschke <lukas@statuscode.ch>
 * @author Michael Weimann <mail@michael-weimann.eu>
 * @author Morris Jobke <hey@morrisjobke.de>
 * @author Patrick Paysant <patrick.paysant@linagora.com>
 * @author Roeland Jago Douma <roeland@famdouma.nl>
 * @author Thomas MΓΌller <thomas.mueller@tmit.eu>
 * @author Victor Dubiniuk <dubiniuk@owncloud.com>
 *
 * @license AGPL-3.0
 *
 * This code is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License, version 3,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License, version 3,
 * along with this program. If not, see <http://www.gnu.org/licenses/>
 *
 */
require_once __DIR__ . '/lib/versioncheck.php';

use OC\Console\Application;
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Console\Output\ConsoleOutput;

define('OC_CONSOLE', 1);

function exceptionHandler($exception) {
        echo "An unhandled exception has been thrown:" . PHP_EOL;
        echo $exception;
        exit(1);
}
try {
        require_once __DIR__ . '/lib/base.php';

        // set to run indefinitely if needed
        if (strpos(@ini_get('disable_functions'), 'set_time_limit') === false) {
                @set_time_limit(0);
        }

        if (!OC::$CLI) {
                echo "This script can be run from the command line only" . PHP_EOL;
                exit(1);
        }

        $config = \OC::$server->getConfig();
        set_exception_handler('exceptionHandler');

        if (!function_exists('posix_getuid')) {
                echo "The posix extensions are required - see https://www.php.net/manual/en/book.posix.php" . PHP_EOL;
                exit(1);
        }

        $user = posix_getuid();
        $configUser = fileowner(OC::$configDir . 'config.php');
        if ($user !== $configUser) {
                echo "Console has to be executed with the user that owns the file config/config.php" . PHP_EOL;
                echo "Current user id: " . $user . PHP_EOL;
                echo "Owner id of config.php: " . $configUser . PHP_EOL;
                echo "Try adding 'sudo -u #" . $configUser . "' to the beginning of the command (without the single quotes)" . PHP_EOL;
                echo "If running with 'docker exec' try adding the option '-u " . $configUser . "' to the docker command (without the single quotes)" . PHP_EOL;
                exit(1);
        }

        $oldWorkingDir = getcwd();
        if ($oldWorkingDir === false) {
                echo "This script can be run from the Nextcloud root directory only." . PHP_EOL;
                echo "Can't determine current working dir - the script will continue to work but be aware of the above fact." . PHP_EOL;
        } elseif ($oldWorkingDir !== __DIR__ && !chdir(__DIR__)) {
                echo "This script can be run from the Nextcloud root directory only." . PHP_EOL;
                echo "Can't change to Nextcloud root directory." . PHP_EOL;
                exit(1);
        }

        if (!(function_exists('pcntl_signal') && function_exists('pcntl_signal_dispatch')) && !in_array('--no-warnings', $argv)) {
                echo "The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php" . PHP_EOL;
                echo "Additionally the function 'pcntl_signal' and 'pcntl_signal_dispatch' need to be enabled in your php.ini." . PHP_EOL;
        }

        $application = new Application(
                $config,
                \OC::$server->get(\OCP\EventDispatcher\IEventDispatcher::class),
                \OC::$server->getRequest(),
                \OC::$server->get(\Psr\Log\LoggerInterface::class),
                \OC::$server->query(\OC\MemoryInfo::class)
        );
        $application->loadCommands(new ArgvInput(), new ConsoleOutput());
        $application->run();
} catch (Exception $ex) {
        exceptionHandler($ex);
} catch (Error $ex) {
        exceptionHandler($ex);
}
<?php 
$OC_Version = array(29,0,2,2);
$OC_VersionString = '29.0.2';
$OC_Edition = '';
$OC_Channel = 'stable';
$OC_VersionCanBeUpgradedFrom = array (
  'nextcloud' => 
  array (
    '28.0' => true,
    '29.0' => true,
  ),
  'owncloud' => 
  array (
    '10.13' => true,
  ),
);
$OC_Build = '2024-06-06T08:36:45+00:00 fd9f8b5eab4b995d8dd0bf6a9e3000948094b008';
$vendor = 'nextcloud';
root@Tower:~#
Joly0 commented 4 months ago

It would also be interesting to get the output of sudo docker exec -it nextcloud-aio-nextcloud cat data/update.log (but please make sure that no secrets are posted)

Not sure, the output is very very long, but somehow most of the log disappears. I can post here, what is shown now:

root@Tower:~# docker exec -it nextcloud-aio-nextcloud cat data/update.log
Checking connection to appstore
Appstore is reachable
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Getting and backing up the status of apps for later, this might take a while...
Disabling apps before the update in order to make the update procedure more safe. This can take a while...
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Initializing nextcloud 29.0.2.2 ...
Initializing finished
Upgrading nextcloud from 29.0.0.19 to 29.0.2.2...
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
System config value integrity.check.disabled deleted
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updating <nextcloud-aio> ...
Updated <nextcloud-aio> to 0.6.0
Update app files_antivirus from App Store
Update app fulltextsearch_elasticsearch from App Store
Update app notify_push from App Store
Starting code integrity check...
Finished code integrity check
Update successful
Turned off maintenance mode
Resetting log level
Nextcloud 29.0.2
Posting notifications to users that are admins...
Posting 'Nextcloud update to 29.0.2.2 successful!' to: admin
Done!
files_fulltextsearch new version available: 29.0.0
files_fulltextsearch updated
calendar new version available: 4.7.6
calendar updated
fulltextsearch new version available: 29.0.0
fulltextsearch updated
Restoring the status of apps. This can take a while...
Enabling deck...
Config value 'enabled' for app 'deck' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
Enabling notes...
Config value 'enabled' for app 'notes' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
Enabling calendar...
Config value 'enabled' for app 'calendar' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
Enabling notify_push...
Config value 'enabled' for app 'notify_push' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
Enabling richdocuments...
Config value 'enabled' for app 'richdocuments' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
Enabling tasks...
Config value 'enabled' for app 'tasks' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
Enabling contacts...
Config value 'enabled' for app 'contacts' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
Enabling files_antivirus...
Config value 'enabled' for app 'files_antivirus' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
Enabling app_api...
Config value 'enabled' for app 'app_api' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
Enabling files_fulltextsearch...
Config value 'enabled' for app 'files_fulltextsearch' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
Enabling fulltextsearch_elasticsearch...
Config value 'enabled' for app 'fulltextsearch_elasticsearch' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
Enabling fulltextsearch...
Config value 'enabled' for app 'fulltextsearch' is now set to 'Console has to be executed with the user that owns the data directory
Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)', stored as mixed in fast cache
All apps are up-to-date or no updates could be found
Doing some optimizations...
 - Repair MySQL collation
     - Not a mysql database -> nothing to do
 - Repair mime types
 - Clean tags and favorites
     - 0 tags of deleted users have been removed.
     - 0 tags for delete files have been removed.
     - 0 tag entries for deleted tags have been removed.
     - 0 tags with no entries have been removed.
 - Repair invalid shares
 - Move .step file of updater to backup location
 - Add move avatar background job
     - Repair step already executed
 - Add preview cleanup background jobs
 - Migrate oauth2_clients table to nextcloud schema
     - Update the oauth2_access_tokens table schema.
     - Update the oauth2_clients table schema.
     - Delete clients (and their related access tokens) with the redirect_uri starting with oc:// or ending with *
 - Fix potential broken mount points
     - No mounts updated
 - Repair language codes
 - Add log rotate job
 - Clear frontend caches
     - Image cache cleared
     - JS cache cleared
 - Clear every generated avatar
 - Add preview background cleanup job
 - Queue a one-time job to cleanup old backups of the updater
 - Cleanup invalid photocache files for carddav
 - Add background job to cleanup login flow v2 tokens
 - Remove potentially over exposing share links
     - No need to remove link shares.
 - Clear access cache of projects
 - Reset generated avatar flag
 - Keep legacy encryption enabled
 - Check encryption key format
 - Remove old dashboard app config data
 - Add job to cleanup the bruteforce entries
 - Queue a one-time job to check for user uploaded certificates
 - Repair DAV shares
 - Add background job to set the lookup server share state for users
 - Add token cleanup job
 - Clean up abandoned apps
 - Add possibly missing system config
 - Add AI tasks cleanup job
 - Queue a job to generate metadata
 - migrate lazy config values
 - Upgrading Circles App
 - Fix component of birthday calendars
     - 2 birthday calendars updated.
 - Regenerating birthday calendars to use new icons and fix old birthday events without year
     - Repair step already executed
 - Fix broken values of calendar objects
    0 [>---------------------------]
 - Registering building of calendar search index as background job
     - Repair step already executed
 - Register building of social profile search index as background job
     - Add background job
 - Registering background jobs to update cache for webcal calendars
     - Added 0 background jobs to update webcal calendars
 - Registering building of calendar reminder index as background job
     - Repair step already executed
 - Clean up orphan event and contact data
     - 0 events without a calendar have been cleaned up
     - 0 properties without an events have been cleaned up
     - 0 changes without a calendar have been cleaned up
     - 0 cached events without a calendar subscription have been cleaned up
     - 0 changes without a calendar subscription have been cleaned up
     - 0 contacts without an addressbook have been cleaned up
     - 0 properties without a contact have been cleaned up
     - 0 changes without an addressbook have been cleaned up
 - Remove activity entries of private events
     - Removed 0 activity entries
 - Clean up old calendar subscriptions from deleted users that were not cleaned-up
    0 [->--------------------------]
     - 0 calendar subscriptions without an user have been cleaned up
 - Remove invalid object properties
     - 0 invalid object properties removed.
 - Fix the share type of guest shares when migrating from ownCloud
 - Copy the share password into the dedicated column
 - Set existing shares as accepted
 - Update OAuth token expiration times
 - init metadata
 - Switches from default updater server to the customer one if a valid subscription is available
     - Repair step already executed
 - Force-reset all Text sessions before Yjs migration
 - Initialize migration of background images from dashboard to theming app
 - Add background job to check for backup codes
 - Populating added database structures for workflows
Done.
Done.
All tables already up to date!
mimetypelist.js is updated
Added mimetype "video/3gpp" to database
Added mimetype "text/asciidoc" to database
Added mimetype "video/x-msvideo" to database
Added mimetype "application/x-blender" to database
Added mimetype "image/bpg" to database
Added mimetype "application/comicbook+7z" to database
Added mimetype "application/comicbook+ace" to database
Added mimetype "application/comicbook+rar" to database
Added mimetype "application/comicbook+tar" to database
Added mimetype "application/comicbook+truecrypt" to database
Added mimetype "application/comicbook+zip" to database
Added mimetype "application/coreldraw" to database
Added mimetype "application/x-cbr" to database
Added mimetype "application/x-deb" to database
Added mimetype "application/vnd.ms-word.document.macroEnabled.12" to database
Added mimetype "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf" to database
Added mimetype "application/vnd.openxmlformats-officedocument.wordprocessingml.template" to database
Added mimetype "image/emf" to database
Added mimetype "application/vnd.ms-fontobject" to database
Added mimetype "application/postscript" to database
Added mimetype "application/x-fictionbook+xml" to database
Added mimetype "audio/flac" to database
Added mimetype "video/x-flv" to database
Added mimetype "application/vnd.oasis.opendocument.graphics-flat-xml" to database
Added mimetype "application/vnd.oasis.opendocument.presentation-flat-xml" to database
Added mimetype "application/vnd.oasis.opendocument.spreadsheet-flat-xml" to database
Added mimetype "application/vnd.oasis.opendocument.text-flat-xml" to database
Added mimetype "application/gpx+xml" to database
Added mimetype "image/heif" to database
Added mimetype "text/calendar" to database
Added mimetype "text/impress" to database
Added mimetype "image/jp2" to database
Added mimetype "application/km" to database
Added mimetype "application/vnd.google-earth.kml+xml" to database
Added mimetype "application/vnd.google-earth.kmz" to database
Added mimetype "text/x-ldif" to database
Added mimetype "application/vnd.lotus-wordpro" to database
Added mimetype "video/mp2t" to database
Added mimetype "audio/m4b" to database
Added mimetype "video/x-matroska" to database
Added mimetype "application/x-freemind" to database
Added mimetype "application/x-mobipocket-ebook" to database
Added mimetype "video/mpeg" to database
Added mimetype "video/MP2T" to database
Added mimetype "application/x-iwork-numbers-sffnumbers" to database
Added mimetype "application/vnd.oasis.opendocument.formula" to database
Added mimetype "application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform" to database
Added mimetype "video/ogg" to database
Added mimetype "application/msonenote" to database
Added mimetype "text/org" to database
Added mimetype "application/x-iwork-pages-sffpages" to database
Added mimetype "application/x-font" to database
Added mimetype "audio/x-scpls" to database
Added mimetype "application/vnd.ms-powerpoint" to database
Added mimetype "application/vnd.ms-powerpoint.template.macroEnabled.12" to database
Added mimetype "application/vnd.openxmlformats-officedocument.presentationml.template" to database
Added mimetype "application/vnd.ms-powerpoint.addin.macroEnabled.12" to database
Added mimetype "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" to database
Added mimetype "application/vnd.openxmlformats-officedocument.presentationml.slideshow" to database
Added mimetype "application/vnd.ms-powerpoint.presentation.macroEnabled.12" to database
Added mimetype "text/reveal" to database
Added mimetype "application/rss+xml" to database
Added mimetype "application/sgf" to database
Added mimetype "image/sgi" to database
Added mimetype "application/x-shockwave-flash" to database
Added mimetype "application/x-compressed" to database
Updated 4 filecache rows for mimetype "application/x-compressed"
Added mimetype "application/x-tar" to database
Added mimetype "application/vnd.garmin.tcx+xml" to database
Added mimetype "application/x-tex" to database
Added mimetype "image/tga" to database
Added mimetype "image/tiff" to database
Added mimetype "text/vcard" to database
Added mimetype "video/dvd" to database
Added mimetype "application/vnd.visio" to database
Added mimetype "application/vnd.ms-visio.drawing.macroEnabled.12" to database
Added mimetype "application/vnd.ms-visio.drawing" to database
Added mimetype "application/vnd.ms-visio.stencil.macroEnabled.12" to database
Added mimetype "application/vnd.ms-visio.stencil" to database
Added mimetype "application/vnd.ms-visio.template.macroEnabled.12" to database
Added mimetype "application/vnd.ms-visio.template" to database
Added mimetype "audio/webm" to database
Added mimetype "application/font-woff" to database
Added mimetype "application/vnd.wordperfect" to database
Added mimetype "application/x-gimp" to database
Added mimetype "application/vnd.ms-excel" to database
Added mimetype "application/vnd.ms-excel.addin.macroEnabled.12" to database
Added mimetype "application/vnd.ms-excel.sheet.binary.macroEnabled.12" to database
Added mimetype "application/vnd.ms-excel.sheet.macroEnabled.12" to database
Added mimetype "application/vnd.ms-excel.template.macroEnabled.12" to database
Added mimetype "application/vnd.openxmlformats-officedocument.spreadsheetml.template" to database
Added mimetype "application/vnd.xmind.workbook" to database
Added 91 new mimetypes
Updated 4 filecache rows
Applying one-click-instance settings...
System config value one-click-instance set to boolean true
System config value one-click-instance.user-limit set to integer 100
System config value one-click-instance.link set to string https://nextcloud.com/all-in-one/
support already enabled
Adjusting log files...
System config value upgrade.cli-upgrade-link set to string https://github.com/nextcloud/all-in-one/discussions/2726
System config value logfile set to string /var/www/html/data/nextcloud.log
Config value were not updated
System config value updatedirectory set to string /nc-updater
Applying network settings...
System config value allow_local_remote_servers set to boolean true
System config value davstorage.request_timeout set to integer 3600
System config value trusted_domains => 1 set to string nextcloud.example.com
System config value overwrite.cli.url set to string https://nextcloud.example.com/
System config value htaccess.RewriteBase set to string /
.htaccess has been updated
System config value dbpersistent set to boolean false
System config value auth.bruteforce.protection.enabled set to boolean true
System config value ratelimit.protection.enabled set to boolean true
System config value files_external_allow_create_new_local set to boolean false
notify_push already enabled
System config value trusted_proxies => 0 set to string 127.0.0.1
System config value trusted_proxies => 1 set to string ::1
System config value trusted_proxies => 10 set to string 172.19.0.1/32
Config value were not updated
+ echo nextcloud-aio-collabora
+ grep -q 'nextcloud-.*-collabora'
+ COLLABORA_HOST=nextcloud.example.com
+ set +x
richdocuments already enabled
Config value were not updated
No ipv6-address found for nextcloud.example.com.
Config value 'wopi_allowlist' for app 'richdocuments' is now set to '', stored as mixed in fast cache
Connection to nextcloud-aio-clamav (172.19.0.6) 3310 port [tcp/*] succeeded!
files_antivirus already enabled
Config value were not updated
Config value were not updated
Config value were not updated
Config value were not updated
Config value were not updated
Config value were not updated
System config value enabledPreviewProviders => 0 set to string OC\Preview\Imaginary
System config value preview_imaginary_url set to string http://nextcloud-aio-imaginary:9000
System config value preview_imaginary_key set to string 8bcf617643940377aa757e23bc094773205311a45afeaa64
Connection to nextcloud-aio-fulltextsearch (172.19.0.7) 9200 port [tcp/*] succeeded!
fulltextsearch already enabled
fulltextsearch_elasticsearch already enabled
files_fulltextsearch already enabled
{
    "search_platform": "OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform",
    "app_navigation": "0",
    "provider_indexed": "",
    "cron_err_reset": "0",
    "tick_ttl": "1800",
    "collection_indexing_list": "50",
    "migration_24": "1",
    "collection_internal": "local"
}
{
    "elastic_host": "http:\/\/elastic:3c3c2dd5543996015d086bcc3f3e453c545ce7064986b075@nextcloud-aio-fulltextsearch:9200",
    "elastic_index": "nextcloud-aio",
    "fields_limit": "10000",
    "es_ver_below66": "0",
    "elastic_logger_enabled": "true",
    "analyzer_tokenizer": "standard",
    "allow_self_signed_cert": "false"
}
{
    "files_local": "1",
    "files_external": "0",
    "files_group_folders": "0",
    "files_encrypted": "0",
    "files_federated": "0",
    "files_size": "20",
    "files_pdf": "1",
    "files_office": "1",
    "files_image": "0",
    "files_audio": "0",
    "files_chunk_size": "2"
}
Waiting 10s before activating FTS...
Activating fulltextsearch...

.Testing your current setup:  
Creating mocked content provider. ok  
Testing mocked provider: get indexable documents. (2 items) ok  
Loading search platform. (Elasticsearch) ok  
Testing search platform. ok  
Locking process ok  
Removing test. ok  
Pausing 3 seconds 1 2 3 ok  
Initializing index mapping. ok  
Indexing generated documents. ok  
Pausing 3 seconds 1 2 3 ok  
Retreiving content from a big index (license). (size: 32386) ok  
Comparing document with source. ok  
Searching basic keywords:  
 - 'test' (result: 1, expected: ["simple"]) ok  
 - 'document is a simple test' (result: 2, expected: ["simple","license"]) ok  
 - '"document is a test"' (result: 0, expected: []) ok  
 - '"document is a simple test"' (result: 1, expected: ["simple"]) ok  
 - 'document is a simple -test' (result: 1, expected: ["license"]) ok  
 - 'document is a simple +test' (result: 1, expected: ["simple"]) ok  
 - '-document is a simple test' (result: 0, expected: []) ok  
 - 'document is a simple +test +testing' (result: 1, expected: ["simple"]) ok  
 - 'document is a simple +test -testing' (result: 0, expected: []) ok  
 - 'document is a +simple -test -testing' (result: 0, expected: []) ok  
 - '+document is a simple -test -testing' (result: 1, expected: ["license"]) ok  
 - 'document is a +simple -license +testing' (result: 1, expected: ["simple"]) ok  
Updating documents access. ok  
Pausing 3 seconds 1 2 3 ok  
Searching with group access rights:  
 - 'license' - [] -  (result: 0, expected: []) ok  
 - 'license' - ["group_1"] -  (result: 1, expected: ["license"]) ok  
 - 'license' - ["group_1","Group_2"] -  (result: 1, expected: ["license"]) ok  
 - 'license' - ["group_3","Group_2"] -  (result: 1, expected: ["license"]) ok  
 - 'license' - ["group_3"] -  (result: 0, expected: []) ok  
Searching with share rights:  
 - 'license' - notuser -  (result: 0, expected: []) ok  
 - 'license' - User number_2 -  (result: 1, expected: ["license"]) ok  
 - 'license' - User3 -  (result: 1, expected: ["license"]) ok  
 - 'license' - User@4 -  (result: 1, expected: ["license"]) ok  
Removing test. ok  
Unlocking process ok  

Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Options: {"errors":"reset","_no-readline":true}
Memory: 81 MB
β”Œβ”€ Indexing  ────
β”‚ Action: fillDocument
β”‚ Provider: Files                Account: user0
β”‚ Document: 62270
β”‚ Info: httpd/unix-directory
β”‚ Title: 
β”‚ Content size: 0
β”‚ Chunk:      5/99
β”‚ Progress:   3562/11945
└──
β”Œβ”€ Results ────
Options: {"errors":"reset","_no-readline":true}
Memory: 79 MB
β”Œβ”€ Indexing  ────
β”‚ Action: fillDocument
β”‚ Provider: Files                Account: user0
Options: {"errors":"reset","_no-readline":true}
Memory: 80 MB
β”Œβ”€ Indexing  ────
β”‚ Action: fillDocument
β”‚ Provider: Files                Account: user0
β”‚ Document: 83191
Options: {"errors":"reset","_no-readline":true}
Memory: 126 MB
β”Œβ”€ Indexing  ────
β”‚ Action: indexDocument
β”‚ Provider: Files                Account: user0
β”‚ Document: 36500
β”‚ Info: application/json
β”‚ Title: 
β”‚ Content size: 0
β”‚ Chunk:     13/99
Options: {"errors":"reset","_no-readline":true}
Memory: 131 MB
β”Œβ”€ Indexing  ────
β”‚ Action: indexDocument
β”‚ Provider: Files                Account: user0
β”‚ Document: 37918
Options: {"errors":"reset","_no-readline":true}
Memory: 187 MB
Options: {"errors":"reset","_no-readline":true}
Memory: 196 MB
Options: {"errors":"reset","_no-readline":true}
Memory: 203 MB
β”Œβ”€ Indexing  ────
β”‚ Action: indexDocument
β”‚ Provider: Files                Account: user1
β”‚ Document: 151413
Options: {"errors":"reset","_no-readline":true}
Memory: 220 MB
β”Œβ”€ Indexing  ────
β”‚ Action: fillDocument
β”‚ Provider: Files                Account: user1
β”‚ Document: 144020
β”‚ Info: image/jpeg
β”‚ Title: 
β”‚ Content size: 0
β”‚ Chunk:    708/2656
β”‚ Progress:   3007/6482
└──
β”Œβ”€ Results ────
β”‚ Result: 103605/103605
β”‚ Index: files:144020
β”‚ Status: ok
β”‚ Message: {"_index":"nextcloud-aio","_id":"files:144020","_version":1,"result
β”‚ ":"created","_shards":{"total":2,"successful":1,"failed":0},"_seq_no":103609,
β”‚ "_primary_term":1}
└──
β”Œβ”€ Errors ────
β”‚ Error:      4/4
β”‚ Index: files:4809
β”‚ Exception: OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception\ClientResponseException
β”‚ Message: unknown error
β”‚ 
β”‚ 
└──

I hope there is not sensitive information now.

As you can see, pre-update i had a bunch of

Current user id: 33
Owner id of the data directory: 99
Try adding 'sudo -u #99' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 99' to the docker command (without the single quotes)
Console has to be executed with the user that owns the data directory

errors in my log, thats why i tried the update to 29.0.2, because its been said, this solves the issue, which it did. But not this other issue appeared and spams my logs

szaimen commented 4 months ago

Hm... Can you restart the containers and check if that resolves the log spam? (Check that no new lines appear after a restart)

Joly0 commented 4 months ago

Ok, i restarted, where should i look now and send you logs?

szaimen commented 4 months ago

Look in tbe logviewer app in the admin settings if new lines appear

Joly0 commented 4 months ago

grafik Yep

szaimen commented 4 months ago

I fear I am out of ideas then :/

Please open an issue at https://github.com/nextcloud/server/issues as this is the place where this needs to be fixed

Joly0 commented 4 months ago

Will do, thanks a lot. I will link this isse here to the new one.