Can no longer view files after running apt update on server

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:

NextcloudPi versionv1.51.4
NextcloudPi imageNextcloudPi_docker_05-01-23
OSDebian GNU/Linux 11. 6.1.21-v8+ (aarch64)
PHP 7.4

The issue you are facing:

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

Steps to replicate it:

  1. apt update
  2. y

The output of your Nextcloud log in Admin > Logging:

[core] Error: RedisException: NOAUTH Authentication required. at <<closure>>

 0. /data/nextcloud/lib/private/Memcache/Redis.php line 48
    Redis->get()
 1. /data/nextcloud/lib/private/App/InfoParser.php line 58
    OC\Memcache\Redis->get()
 2. /data/nextcloud/lib/private/App/AppManager.php line 507
    OC\App\InfoParser->parse()
 3. /data/nextcloud/lib/private/App/AppManager.php line 522
    OC\App\AppManager->getAppInfo()
 4. /data/nextcloud/lib/private/legacy/OC_App.php line 571
    OC\App\AppManager->getAppVersion()
 5. /data/nextcloud/lib/private/legacy/OC_App.php line 875
    OC_App::getAppVersion()
 6. /data/nextcloud/lib/private/legacy/OC_Util.php line 1219
    OC_App::shouldUpgrade()
 7. /data/nextcloud/lib/public/Util.php line 580
    OC_Util::needUpgrade()
 8. /data/nextcloud/lib/private/legacy/OC_Template.php line 115
    OCP\Util::needUpgrade()
 9. /data/nextcloud/lib/private/legacy/OC_Template.php line 78
    OC_Template::initTemplateEngine()
10. /data/nextcloud/lib/private/legacy/OC_Template.php line 323
    OC_Template->__construct()
11. /data/nextcloud/index.php line 74
    OC_Template::printExceptionErrorPage()

POST /index.php/apps/notify_push/pre_auth
from 172.17.0.1 at 2023-07-15T17:43:12+00:00

[core] Error: RedisException: WRONGPASS invalid username-password pair at <<closure>>

 0. /data/nextcloud/lib/private/RedisFactory.php line 143
    Redis->auth("*** sensitive parameters replaced ***")
 1. /data/nextcloud/lib/private/RedisFactory.php line 178
    OC\RedisFactory->create()
 2. /data/nextcloud/lib/private/Memcache/Redis.php line 43
    OC\RedisFactory->getInstance()
 3. /data/nextcloud/lib/private/Memcache/Factory.php line 118
    OC\Memcache\Redis->__construct()
 4. /data/nextcloud/lib/private/Server.php line 1122
    OC\Memcache\Factory->createLocking()
 5. /data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 162
    OC\Server->OC\{closure}("*** sensitive parameters replaced ***")
 6. /data/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php line 122
    OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
 7. /data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 129
    Pimple\Container->offsetGet()
 8. /data/nextcloud/lib/private/ServerContainer.php line 136
    OC\AppFramework\Utility\SimpleContainer->query()
 9. /data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 57
    OC\ServerContainer->query()
10. /data/nextcloud/lib/private/Server.php line 2072
    OC\AppFramework\Utility\SimpleContainer->get()
11. /data/nextcloud/lib/private/Files/View.php line 117
    OC\Server->getLockingProvider()
12. /data/nextcloud/lib/private/Server.php line 462
    OC\Files\View->__construct()
13. /data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 162
    OC\Server->OC\{closure}("*** sensitive parameters replaced ***")
14. /data/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php line 122
    OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}("*** sensitive parameters replaced ***")
15. /data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 129
    Pimple\Container->offsetGet()
16. /data/nextcloud/lib/private/ServerContainer.php line 136
    OC\AppFramework\Utility\SimpleContainer->query()
17. /data/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 57
    OC\ServerContainer->query()
18. /data/nextcloud/lib/private/Server.php line 1474
    OC\AppFramework\Utility\SimpleContainer->get()
19. /data/nextcloud/lib/base.php line 617
    OC\Server->boot()
20. /data/nextcloud/lib/base.php line 1145
    OC::init()
21. /data/nextcloud/index.php line 34
    require_once("/data/nextcloud/lib/base.php")

POST /index.php/apps/notify_push/pre_auth
from 172.17.0.1 at 2023-07-15T17:43:12+00:00

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

Cant find it, running docker and portainer

I ran apt update and got

The following packages will be upgraded:
docker-buildx-plugin docker-ce docker-ce-cli docker-compose-plugin
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 62.0 MB of archives.
After this operation, 12.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

and now under Admin overview i get


There are some errors regarding your setup.

* Your web server is not yet properly set up to allow file synchronization, because the WebDAV interface seems to be broken.

* Your web server is not properly set up to resolve "/.well-known/caldav". Further information can be found in the [documentation ↗](https://docs.nextcloud.com/server/25/go.php?to=admin-setup-well-known-URL).
* Your web server is not properly set up to resolve "/.well-known/carddav". Further information can be found in the [documentation ↗](https://docs.nextcloud.com/server/25/go.php?to=admin-setup-well-known-URL).

2023-07-15 17:47:56 42 [Warning] Aborted connection 42 to db: 'nextcloud' user: 'ncadmin' host: 'localhost' (Got an error reading communication packets)

2023-07-15 17:47:56 46 [Warning] Aborted connection 46 to db: 'nextcloud' user: 'ncadmin' host: 'localhost' (Got an error reading communication packets)

2023-07-15 17:47:56 47 [Warning] Aborted connection 47 to db: 'nextcloud' user: 'ncadmin' host: 'localhost' (Got an error reading communication packets)

2023-07-15 17:51:18 71 [Warning] Aborted connection 71 to db: 'nextcloud' user: 'ncadmin' host: 'localhost' (Got an error reading communication packets)

2023-07-15 17:51:18 72 [Warning] Aborted connection 72 to db: 'nextcloud' user: 'ncadmin' host: 'localhost' (Got an error reading communication packets)

2023-07-15 17:51:18 73 [Warning] Aborted connection 73 to db: 'nextcloud' user: 'ncadmin' host: 'localhost' (Got an error reading communication packets)

Aww s**t, I just recreated the image in Portainer (selected Re-Pull image) and it’s working again, sorry.

1 Like