Daten Lokal und auf Server nach CLient-Update weg

Hallo zusammen,

ich habe gestern aben einen Client upgedatet. Ich glaube es war auf die Version 3.5.82.20220819 Und dann ist das schlimmste aller Möglichkeiten passiert: Die Daten sind nicht nur auf dem Client weg, sondern auch auf dem Server! Alles weg! Der Ordner /var/nextcloud/data ist allerdings noch relativ groß, sodass ich glaube das die Daten da noch drin sind.

Folgendes habe ich schon probiert:
sudo -u www-data php /var/www/nextcloud/occ maintenance:repair → Kein Erfolg
sudo -u www-data php /var/www/nextcloud/occ db:add-missing-indices → Kein Erfolg
sudo -u www-data php /var/www/nextcloud/occ files:scan --all → Kein Erfolg

Kann mir jemand helfen? Bin sehr verzweifelt. Das letzte Backup ist leider schon sehr alt, da mir der Speich ausging und es wäre viel Arbeit verloren

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 24.0.4
Operating system and version (eg, Ubuntu 20.04): 22.04.1
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): 7.4

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Update client

The output of your Nextcloud log in Admin > Logging:

[duplicatefinder] Fehler: OCP\Files\NotFoundException: /hans-peter/files/Mit Allen geteilte Inhalte/01_Akku Life Guard/Entwicklung/Konstruktion/Konnektivität/Donguan Shuangxin at <<closure>>

 0. <<closure>>
    OC\Files\Node\Root->get()
 1. /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php line 72
    call_user_func_array()
 2. /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php line 149
    OC\Files\Node\LazyFolder->__call()
 3. /var/www/nextcloud/apps/duplicatefinder/lib/Service/FolderService.php line 53
    OC\Files\Node\LazyFolder->get()
 4. /var/www/nextcloud/apps/duplicatefinder/lib/Service/FileInfoService.php line 209
    OCA\DuplicateFinder\Service\FolderService->getNodeByFileInfo()
 5. /var/www/nextcloud/apps/duplicatefinder/lib/Listener/FileInfoListener.php line 39
    OCA\DuplicateFinder\Service\FileInfoService->calculateHashes()
 6. /var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php line 87
    OCA\DuplicateFinder\Listener\FileInfoListener->handle()
 7. /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 251
    OC\EventDispatcher\ServiceEventListener->__invoke()
 8. /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 73
    Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
 9. /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php line 88
    Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
10. /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php line 100
    OC\EventDispatcher\EventDispatcher->dispatch()
11. /var/www/nextcloud/apps/duplicatefinder/lib/Service/FileInfoService.php line 151
    OC\EventDispatcher\EventDispatcher->dispatchTyped()
12. /var/www/nextcloud/apps/duplicatefinder/lib/Listener/FilesytemListener.php line 67
    OCA\DuplicateFinder\Service\FileInfoService->save()
13. /var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php line 87
    OCA\DuplicateFinder\Listener\FilesytemListener->handle()
14. /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 251
    OC\EventDispatcher\ServiceEventListener->__invoke()
15. /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 73
    Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
16. /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php line 88
    Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
17. /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php line 100
    OC\EventDispatcher\EventDispatcher->dispatch()
18. /var/www/nextcloud/lib/private/Files/Node/HookConnector.php line 136
    OC\EventDispatcher\EventDispatcher->dispatchTyped()
19. /var/www/nextcloud/lib/private/legacy/OC_Hook.php line 106
    OC\Files\Node\HookConnector->postCreate()
20. /var/www/nextcloud/lib/private/Files/View.php line 1290
    OC_Hook::emit()
21. /var/www/nextcloud/lib/private/Files/View.php line 1218
    OC\Files\View->runHooks()
22. /var/www/nextcloud/lib/private/Files/View.php line 276
    OC\Files\View->basicOperation()
23. /var/www/nextcloud/lib/private/Files/Node/Folder.php line 163
    OC\Files\View->mkdir()
24. <<closure>>
    OC\Files\Node\Folder->newFolder()
25. /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php line 72
    call_user_func_array()
26. /var/www/nextcloud/lib/private/Files/Node/LazyFolder.php line 419
    OC\Files\Node\LazyFolder->__call()
27. /var/www/nextcloud/apps/spreed/lib/TInitialState.php line 127
    OC\Files\Node\LazyFolder->newFolder()
28. /var/www/nextcloud/apps/spreed/lib/Files/TemplateLoader.php line 96
    OCA\Talk\Files\TemplateLoader->publishInitialStateForUser()
29. /var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php line 87
    OCA\Talk\Files\TemplateLoader->handle()
30. /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 251
    OC\EventDispatcher\ServiceEventListener->__invoke()
31. /var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php line 73
    Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
32. /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php line 88
    Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
33. /var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php line 100
    OC\EventDispatcher\EventDispatcher->dispatch()
34. /var/www/nextcloud/apps/dashboard/lib/Controller/DashboardController.php line 99
    OC\EventDispatcher\EventDispatcher->dispatchTyped()
35. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 225
    OCA\Dashboard\Controller\DashboardController->index()
36. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 133
    OC\AppFramework\Http\Dispatcher->executeController()
37. /var/www/nextcloud/lib/private/AppFramework/App.php line 172
    OC\AppFramework\Http\Dispatcher->dispatch()
38. /var/www/nextcloud/lib/private/Route/Router.php line 298
    OC\AppFramework\App::main()
39. /var/www/nextcloud/lib/base.php line 1023
    OC\Route\Router->match()
40. /var/www/nextcloud/index.php line 36
    OC::handleRequest()

GET /index.php/apps/dashboard/

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

Hallo zusammen,
konnte das Problem lösen:
In meiner Config wurde auf einmal ein anderer Datenpfad hinterlegt. anstatt var/data war es aufeinmal var/www/nextcloud/data.

Als ich diesen geändert habe muss ich noch den Befehl
sudo -u www-data php /var/www/nextcloud/occ files:scan --all
eingeben und dann waren die Files da.

Denkt ihr, ich sollte noch weitere Service-Befehle ausführen? Wenn ja welche?
Ich frage mich trotzdem, wie der Client die Config umstellen kann