Nextcloud in WSL Ubuntu : no files in folder

Hello,

I installed the latest version of Nextcloud on WSL (Ubuntu 22.04) on Windows 11.

The installation works, I was able to install applications, but I don’t see any files.
I have made several external storage mounts in local, samba, FTP, SFTP and Webdav but none work.

I can see the root directory but there are no files in it.

I have tried from internet and from the Lan
I am not behind a reverse proxy
I use apache2 with a LetsEncrypt ssl certificate.

Thanks if you can help me

When I run :

sudo -u www-data ./occ files:scan --all

I have this error :

Starting scan for user 1 out of 1 (myusername)
Exception during scan: No such file or directory
#0 /var/www/nextcloud/lib/private/RedisFactory.php(117): Redis->pconnect()
#1 /var/www/nextcloud/lib/private/RedisFactory.php(158): OC\RedisFactory->create()
#2 /var/www/nextcloud/lib/private/Memcache/Redis.php(73): OC\RedisFactory->getInstance()
#3 /var/www/nextcloud/lib/private/Memcache/Redis.php(137): OC\Memcache\Redis->getCache()
#4 /var/www/nextcloud/lib/private/Lock/MemcacheLockingProvider.php(92): OC\Memcache\Redis->add()
#5 /var/www/nextcloud/lib/private/Files/Storage/Common.php(772): OC\Lock\MemcacheLockingProvider->acquireLock()
#6 /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(616): OC\Files\Storage\Common->acquireLock()
#7 /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(616): OC\Files\Storage\Wrapper\Wrapper->acquireLock()
#8 /var/www/nextcloud/lib/private/Files/Cache/Scanner.php(347): OC\Files\Storage\Wrapper\Wrapper->acquireLock()
#9 /var/www/nextcloud/lib/private/Files/Utils/Scanner.php(278): OC\Files\Cache\Scanner->scan()
#10 /var/www/nextcloud/apps/files/lib/Command/Scan.php(180): OC\Files\Utils\Scanner->scan()
#11 /var/www/nextcloud/apps/files/lib/Command/Scan.php(241): OCA\Files\Command\Scan->scanFiles()
#12 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(298): OCA\Files\Command\Scan->execute()
#13 /var/www/nextcloud/core/Command/Base.php(177): Symfony\Component\Console\Command\Command->run()
#14 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1040): OC\Core\Command\Base->run()
#15 /var/www/nextcloud/3rdparty/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#16 /var/www/nextcloud/3rdparty/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#17 /var/www/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run()
#18 /var/www/nextcloud/console.php(102): OC\Console\Application->run()
#19 /var/www/nextcloud/occ(11): require_once('...')
#20 {main}

Maybe a problem with Redis (Nextcloud Redis documentation). I think you do not need it for one user. :wink: Delete the redis configuration in your Nextcloud config.php.

Hello,

I have deleted the redis configuration in config.php and I can see the files, thanks.

I can open jpg and pdf but office files (xlsx, ods, …) fail to open.

I have installed Nextcloud Office with Collabora Online (integrated)