Nein, den OwnCloud hat sowas auf der Version 10.13 nicht angeboten.
Ausserdem finde ich das Design Optisch viel ansprechender von Nextcloud als dies von OwnCloud.
Darum habe ich gewechselt.
Ich habe aber jetzt auf der Installation Collabora Online aktiviert.
Wenn ich den Befehl âsudo -u www-data php /var/www/nextcloud/occ db:add-missing-indicesâ eingebe, verlangt es ein Passwort. Welches Passwort muss ich eingeben
Normalerweise gibt man da das Passwort des Benutzers ein mit dem man eingeloggt ist bzw. unter dem man den Befehl ausfĂŒhrt.
Aber es wĂ€re halt schon viel einfacher, wenn wir zumindest wĂŒssten, auf was fĂŒr einem Server deine OwnCloud lief bzw. Nextcloud lĂ€uft. âWebserver gemietetâ kann alles Mögliche bedeuten, vom klassischen Shared Webhosting bis hin zum vollwertigen VPS mit Root-Zugriff, auf dem eine Webhosting-Plattform wie Plesk installiert ist. Im ersten Fall hat man normalerweise kein sudo, im zweiten Fall schon.
Wie bereits gesagt ich miete den Speiche, habe kein eigenen Server. Also auch kein VPS oder Root.
Und der Name des Hosters und welches Paket du genau nutzt sind geheim? HĂ€tte man diese Info, könnte man nĂ€mlich allenfalls in der Doku des Hosters schauen, wie du das occ Skript genau ausfĂŒhren musst.
occ
is ein PHP-Skript. Die meisten Webhoster erwĂ€hnen irgndwo in ihrer Doku, wie man PHP Skripte ausfĂŒhren muss, und wie ebenfalls bereits gesagt, sudo
existiert zumindest bei Shared Webhosting-Paketen, in der Regel nicht.
Ich bin bei Infomaniak. Die haben NUR 1 Abo.
So wie es aussieht reicht php
, ohne sudo -u www-data
Versuch es mal so:
php /var/www/nextcloud/occ db:add-missing-indices
php /var/www/nextcloud/occ db:add-missing-columns
Pfad falls nötig noch anpassen, oder erst ins Nextcloud Verzeichnis wechseln und dann von dort direkt ausfĂŒhren:
php occ db:add-missing-indices
php occ db:add-missing-columns
Habe die beiden Befehle âphp occ db:add-missing-indicesâ , âphp occ db:add-missing-columnsâ ausgefĂŒhrt.
Im Log gibts aber noch imme Fehler an
[index] Fehler: Doctrine\DBAL\Schema\SchemaException: There is no column with name âparentâ on table âoc_share_externalâ. at <>
- /home/clients/nextcloud3rdparty/doctrine/dbal/src/Schema/Table.php line 771
Doctrine\DBAL\Schema\SchemaException::columnDoesNotExist(âparentâ, âoc_share_externalâ) - /home/clients/nextcloudapps/settings/lib/Controller/CheckSetupController.php line 795
Doctrine\DBAL\Schema\Table->getColumn(âparentâ) - /home/clients/nextcloudapps/settings/lib/Controller/CheckSetupController.php line 897
OCA\Settings\Controller\CheckSetupController->hasBigIntConversionPendingColumns() - /home/clients/nextcloudlib/private/AppFramework/Http/Dispatcher.php line 225
OCA\Settings\Controller\CheckSetupController->check() - /home/clients/nextcloudlib/private/AppFramework/Http/Dispatcher.php line 133
OC\AppFramework\Http\Dispatcher->executeController(["OCA\Settings\ ⊠"], âcheckâ) - /home/clients/nextcloudlib/private/AppFramework/App.php line 172
OC\AppFramework\Http\Dispatcher->dispatch(["OCA\Settings\ ⊠"], âcheckâ) - /home/clients/nextcloudlib/private/Route/Router.php line 298
OC\AppFramework\App::main(âOCA\Settings\ ⊠râ, âcheckâ, ["OC\AppFramewo ⊠"], [âsettings.CheckSetup.checkâ]) - /home/clients/nextcloudlib/base.php line 1053
OC\Route\Router->match(â/settings/ajax/checksetupâ) - /home/clients/nextcloudindex.php line 36
OC::handleRequest()
GET /index.php/settings/ajax/checksetup
from 83.79.79.155 by admin at 2025-04-14T15:44:06+00:00
Du könntest noch folgendes versuchen:
php occ maintenance:repair
oder allenfalls auch gleich:
php occ maintenance:repair --include-expensive
Letzteres kann u.U ein paar Minuten dauern.
Dies ergibt das ergebnis
php occ maintenance:repair
- Repair MySQL collation
- All tables already have the correct collation â 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
- Upgrading Circles App
- Fix component of birthday calendars
- 0 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
- 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.
- Update OAuth token expiration times
- Switches from default updater server to the customer one if a valid subscription is available
- Send an admin notification if monthly report is disabled
- Initialize migration of background images from dashboard to theming app
- Add background job to check for backup codes
- Populating added database structures for workflows
==
php occ maintenance:repair --include-expensive - Repair MySQL collation
- All tables already have the correct collation â 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
- Remove shares of old group memberships
- Validate the phone number and store it in a known format for search
- WARNING: Can not validate phone numbers without
default_phone_region
being set in the config file
- WARNING: Can not validate phone numbers without
- Upgrading Circles App
- Fix component of birthday calendars
- 0 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
- 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.
- Update OAuth token expiration times
- Switches from default updater server to the customer one if a valid subscription is available
- Repair step already executed
- Send an admin notification if monthly report is disabled
- Initialize migration of background images from dashboard to theming app
- Add background job to check for backup codes
- Populating added database structures for workflows
Erscheint die Meldung wieder neu im Log, wenn du irgendwas machst in der Nextcloud, also auch jetzt noch, nachdem du die occ Befehle ausgefĂŒhrt hast?
Ja wieder die gleiche Meldung wie ich beim Beitrag 27 gesendet habe.
Oder bringt es was, wenn ich NC von 25 auf 31 Ugrade? Aber ĂŒbers Web kann ich nicht, also muss es auch wieder manuell machen
Kann schon sein, dass ein Upgrade das âaus Versehenâ repariert.
Ernsthaft, du solltest sowieso updaten, weil 25 ist schon lange EOL und hat bekannte SicherheitslĂŒcken!
Nein, aber du könntest den CLI-Updater verwenden. Der lÀuft deutlich zuverlÀssiger als der Web-Updater.
Zwei Dinge sind in diesem Zusammenhang wichtig:
-
Du kannst immer nur von einer Majorversion auf die nÀchste updaten, sprich du musst das Prozedre 6x machen, um auf 31 zu kommen. Und nein, ein manuelles Update direkt auf 31 ist ist nicht supported, und wird dir deine Nextcloud ziemlich sicher zerschiessen!
-
Schaue, dass du immer auf einer PHP Version bist, die von der jeweilegen Nextcloud-Version auf der du gerade bist, und von dieser auf die du gerade aktualisierst unterstĂŒtzt wird: Releases and PHP versions · nextcloud/server Wiki · GitHub
Der Befehl, um den CLI-Updater zu starten, wenn du bereits im Nextcloud-Verzeichnis bist, wÀre:
php ./updater/updater.phar
Siehe auch hier: Upgrade via built-in updater â Nextcloud latest Administration Manual latest documentation
Backup nicht vergessen inkl. Datenbank-Dump.
Habe mit âphp ./updater/updater.pharâ nun auf NC 31.0.3 geupdatet.
Bei " Sicherheits- & Einrichtungswarnungen" gibt er nun diese Fehler noch an.
An exception occured while running the setup check: Doctrine\DBAL\Schema\Exception\ColumnDoesNotExist: There is no column with name âparentâ on table âoc_share_externalâ. in /home/clients/nextcloud/3rdparty/doctrine/dbal/src/Schema/Exception/ColumnDoesNotExist.php:15 Stack trace: #0 /home/clients/nextcloud/3rdparty/doctrine/dbal/src/Schema/SchemaException.php(110): Doctrine\DBAL\Schema\Exception\ColumnDoesNotExist::new(âparentâ, âoc_share_externâŠâ) #1 /home/clients/nextcloud/3rdparty/doctrine/dbal/src/Schema/Table.php(785): Doctrine\DBAL\Schema\SchemaException::columnDoesNotExist(âparentâ, âoc_share_externâŠâ) #2 /home/clients/nextcloud/apps/settings/lib/SetupChecks/DatabasePendingBigIntConversions.php(54): Doctrine\DBAL\Schema\Table->getColumn(âparentâ) #3 /home/clients/nextcloud/apps/settings/lib/SetupChecks/DatabasePendingBigIntConversions.php(67): OCA\Settings\SetupChecks\DatabasePendingBigIntConversions->getBigIntConversionPendingColumns() #4 /home/clients/nextcloud/lib/private/SetupCheck/SetupCheckManager.php(34): OCA\Settings\SetupChecks\DatabasePendingBigIntConversions->run() #5 /home/clients/nextcloud/apps/settings/lib/Controller/CheckSetupController.php(134): OC\SetupCheck\SetupCheckManager->runAll() #6 /home/clients/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(200): OCA\Settings\Controller\CheckSetupController->check() #7 /home/clients/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(114): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Settings\Controller\CheckSetupController), âcheckâ) #8 /home/clients/nextcloud/lib/private/AppFramework/App.php(161): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Settings\Controller\CheckSetupController), âcheckâ) #9 /home/clients/nextcloud/lib/private/Route/Router.php(307): OC\AppFramework\App::main(âOCA\Settings\CoâŠâ, âcheckâ, Object(OC\AppFramework\DependencyInjection\DIContainer), Array) #10 /home/clients/nextcloud/lib/base.php(1025): OC\Route\Router->match(â/settings/ajax/âŠâ) #11 /home/clients/nextcloud/index.php(24): OC::handleRequest() #12 {main}
Das PHP OPcache-Modul ist nicht ordnungsgemÀà konfiguriert. Das PHP-OPcache-Modul ist nicht geladen. FĂŒr eine bessere Leistung empfiehlt es sich, das Modul in Ihre PHP-Installation zu laden⊠Weitere Informationen.
Es wÀre deutlich einfacher zu lesen, wenn du wenigsten einen Absatz pro Logeintrag/Warnung gemacht hÀttest. Man sieht so kaum wo ein Eintrag aufhört und wo der NÀchste anfÀngt.
Habe mal ein paar Dinge herausgepickt, die mir ins Auge gestochen sind:
Dies scheint die altbekannte Meldung zu sein, die vom Updater wohl leider doch nicht automatisch behoben wurde. Ich habe leider auch keine definitive Lösung dafĂŒr. Hast du schon mal gegoogelt und/oder hier im Forum danch gesucht?
Da könntest du mal folgendes versuchen:
php occ db:convert-filecache-bigint
Sieht so aus als könnte man das Modul in der AdminoberflĂ€che von Infomaniak aktivieren und konfigurieren: đ Install a PHP app / extension in just a few clicks on Cloud Server
Das relevantes Kapitel in der Nextcloud Doku: Server tuning â Nextcloud latest Administration Manual latest documentation
Manchmal muss man auch mit einigen Fehlern leben, da die Serversoftware die Funktionen gar nicht unterstĂŒtzt. Das Problem ist vielleicht, dass Nextcloud hier transparenter ist als z. B. Windows, wo alle Probleme hinter einer schicken OberflĂ€che versteckt werden bis es ganz kaputt geht.
Gebe ich den Befehl im SSH ein âphp occ db:convert-filecache-bigintâ bekomme ich als Ergebnis diese Meldung
In ColumnDoesNotExist.php line 15:
There is no column with name âparentâ on table âoc_share_externalâ.
Ich habe kienen eigenen Cloud Server, sondern ein shared Space.
Habe die Fehlermeldung mal gegoogelt fĂŒr dich, und folgendes gefunden:
Hier hat es jemand manuell direkt in der Datenbank gelöst: After upgrade: no column with name 'parent' on table 'oc_share_external' - #7 by ste
Ich wĂŒrde aber zuerst noch folgenden Workaround versuchen: sqlite: There is no column with name 'parent' on table 'oc_share_external'. · Issue #25525 · nextcloud/server · GitHub