Nextcloud version (eg, 20.0.5): 24.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu Server 22.04
Apache or nginx version (eg, Apache 2.4.25): What came with the snap version from the ubuntu install on July 27, 2022
PHP version (eg, 7.4): What came with the snap version from the ubuntu install on July 27, 2022
Running on a Proxmox vm.
The issue you are facing: I cannot add an external disk. Nextcloud claims that SMB Client is not install…
It is installed in the Ubuntu VM via sudo apt install annd then the host of packages that are require.
Is this the first time you’ve seen this error? (Y/N): Yes
Steps to replicate it: Followed a whole bunch of rabbit hole solutions from the web and nothing is working.
-
Installed a whole bunch of smb client related packages. Too many to list.
-
Edited FSTAB to point to the OMV server folder
//192.168.1.230/Media/Documents /Documents cifs username=Nextcloud,password=xxxxxxxxxxxxxx 0 0
Made /Documents folder in the root directory. I can read and write to the files in the /Documents folder -
made symbolic link via ln -s /Documents /var/snap/nextcloud/common/nextcloud/data/ted/files/Documents
-
Tried uninstalling and reinstalling the Nextcloud apps on other devices.
The output of your Nextcloud log in Admin > Logging:
Warning core Trusted domain error. "142.93.184.222" tried to access using "69.9.119.219" as host. 2022-07-28T13:28:05-0600
Warning core Trusted domain error. "35.195.93.98" tried to access using "69.9.119.219" as host. 2022-07-28T12:34:47-0600
Info updater \OC\Updater::resetLogLevel: Reset log level to Warning(2) 2022-07-28T12:04:55-0600
Info updater \OC\Updater::maintenanceDisabled: Turned off maintenance mode 2022-07-28T12:04:55-0600
Info updater \OC\Updater::updateEnd: Update successful 2022-07-28T12:04:55-0600
Info updater \OC\Updater::finishedCheckCodeIntegrity: Finished code integrity check 2022-07-28T12:04:55-0600
Info updater \OC\Updater::startCheckCodeIntegrity: Starting code integrity check... 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Add background job to set the lookup server share state for users 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Repair DAV shares 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Queue a one-time job to check for user uploaded certificates 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Add job to cleanup the bruteforce entries 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Remove old dashboard app config data 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Check encryption key format 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Keep legacy encryption enabled 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Reset generated avatar flag 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Clear access cache of projects 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::info: Repair info: No need to remove link shares. 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Remove potentially over exposing share links 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Add background job to cleanup login flow v2 tokens 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Cleanup invalid photocache files for carddav 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Queue a one-time job to cleanup old backups of the updater 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Add preview background cleanup job 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::step: Repair step: Clear every generated avatar on major updates 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::step: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::info: Repair info: JS cache cleared 2022-07-28T12:04:44-0600
Info no app in context Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:44-0600
Info updater \OC\Repair::info: Repair info: SCSS cache cleared 2022-07-28T12:04:43-0600
Info no app in context Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:43-0600
Debug scss_cacher SCSSCacher::resetCache Locking removed 2022-07-28T12:04:43-0600
Debug scss_cacher SCSSCacher::resetCache css cache cleared! 2022-07-28T12:04:43-0600
Debug scss_cacher SCSSCacher::resetCache Lock acquired 2022-07-28T12:04:43-0600
Debug scss_cacher SCSSCacher::resetCache 2022-07-28T12:04:43-0600
Info updater \OC\Repair::info: Repair info: Image cache cleared 2022-07-28T12:04:43-0600
Info no app in context Deprecated event type for \OC\Repair::info: Symfony\Component\EventDispatcher\GenericEvent is used 2022-07-28T12:04:43-0600
Info updater \OC\Repair::step: Repair step: Clear frontend caches 2022-07-28T12:04:43-0600
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/snap/nextcloud/current/htdocs/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
'url' => '/extra-apps',
'writable' => true,
),
),
'supportedDatabases' =>
array (
0 => 'mysql',
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/tmp/sockets/redis.sock',
'port' => 0,
),
'log_type' => 'file',
'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log',
'logfilemode' => 416,
'passwordsalt' => 'x+QabPv8C6Vi4eoAPBwj8Wq3h96OO8',
'secret' => 'BmZGsuueUxQzTZTXGf5gjuM0ipwHjp74AYCzUmfN+DRDhsGz',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'xxxxxxxx.xxx.com',
2 => '192.168.1.*',
),
'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
'dbtype' => 'mysql',
'version' => '24.0.3.2',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => '0yLNvw-GsaiH8vRszdb_Avt8pViNDCnNzgwpbUN-bBpQkAew-wSHrRWqLg5k>
'installed' => true,
'instanceid' => 'oc8azpuv3r6t',
'maintenance' => false,
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
No idea how to find these log files. Not apparent in the snap install of nextcloud on a proxmox VM
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.
Any help would be appreciated. This should be way easier than this.