Nextcloud 3 5 4
Author: f | 2025-04-25
Updates : 1) Dolibarr - 15.0.1 2) Blesta - 5.3.1 3) Kirby - 3.6.3 4) UserSpice - 5.4.1 5) Nextcloud - 23.0.3
5 Unique Security Features by Nextcloud - Nextcloud
Support introSorry to hear you’re facing problems 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:exampleOr for longer, use three backticks above and below the code snippet:longerexamplehereSome or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can Nextcloud version (eg, 12.0.2):15.05Operating system and version (eg, Ubuntu 17.04):Ubuntu 18.4Apache or nginx version (eg, Apache 2.4.25): NginxPHP version (eg, 7.1):The issue you are facing:Update fails with what looks like a permissions error, the data directroy is on an SMB share and has been since V13 without this issue.The share mounts fine I can read write mkdir,rmdir and such from the console.The updater checks write permissions and contiunes all the way to moving files and fails with could not rename /media/cloud/blablabla to /usr/share/nginx/nextcloud/updater/…/ if I retry update it just gives same error for different file ‘hence blablabla’Is this the first time you’ve seen this error? (Y/N):YSteps to replicate it:Start update from webThe output of your Nextcloud log in Admin > Logging:{"reqId":"yZODgDcw74EEqIejYzW2","level":3,"time":"2019-04-05T08:11:41+00:00","remoteAddr":"192.168.7.252","user":"Micheal","app":"files_antivirus","method":"PUT","url":"\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","message":{"Exception":"RuntimeException","Message":"The antivirus executable could not be found at \/usr\/bin\/clamscan","Code":0,"Trace":[{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/Scanner\/ScannerFactory.php","line":58,"function":"__construct","class":"OCA\\Files_Antivirus\\Scanner\\Local","type":"->","args":[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/AvirWrapper.php","line":107,"function":"getScanner","class":"OCA\\Files_Antivirus\\Scanner\\ScannerFactory","type":"->","args":[]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/AvirWrapper.php","line":92,"function":"wrapSteam","class":"OCA\\Files_Antivirus\\AvirWrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":630,"function":"writeStream","class":"OCA\\Files_Antivirus\\AvirWrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null,null]},{"file":"\/usr\/share\/nginx\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":630,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null,null]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":182,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Upload\/UploadFolder.php","line":39,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["0000000000000000-0000000001583195",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["0000000000000000-0000000001583195",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Server.php","line":301,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/usr\/share\/nginx\/nextcloud\/remote.php","line":163,"args":["\/usr\/share\/nginx\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/Scanner\/Local.php","Line":43,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.6.0 RC3","version":"15.0.5.3"}{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/PASTE HEREThe output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):PASTE HERE``` '*********', 'passwordsalt' => '****************', 'secret' => '*****************', 'trusted_domains' => array ( 0 => 'gh.fj.fg', ), 'datadirectory' => '/media/cloud', 'overwrite.cli.url' => ' 'dbtype' => 'mysql', 'version' => '15.0.5.3', 'dbname' => 'nextcloud', 'dbhost' => 'localhost:3306', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => '*****', 'dbpassword' => '********', 'installed' => true, 'memcache.local' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'localhost', 'port' => 6379, ), 'memcache.locking' => '\\OC\\Memcache\\Redis', 'maintenance' => true, 'theme' => '', 'loglevel' => 2, 'updater.release.channel' => 'stable', 'updater.secret' => '***************************',The output of your Apache/nginx/system log in `/var/log/____`:PASTE HERE2019/04/05 09:38:41 [error] 1953#1953: *9974 FastCGI sent in stderr: "PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/.htaccess,/usr/share/nginx/nextcloud/updater/../.htaccess): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/.user.ini,/usr/share/nginx/nextcloud/updater/../.user.ini): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/.drone.yml,/usr/share/nginx/nextcloud/updater/../3rdparty/.drone.yml): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/autoload.php,/usr/share/nginx/nextcloud/updater/../3rdparty/autoload.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/composer.json,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/composer.json): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/LICENSE.md,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/LICENSE.md): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/NOTICE.md,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/NOTICE.md): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Acm/AcmClient.php,/usr/sh2019/04/05 09:38:41 [error] 1953#1953: *9974 FastCGI sent in stderr: "/Api/AbstractModel.php): Operation Updates : 1) Dolibarr - 15.0.1 2) Blesta - 5.3.1 3) Kirby - 3.6.3 4) UserSpice - 5.4.1 5) Nextcloud - 23.0.3 In this guide, we’ll demonstrate how to install NextCloud from Command line on Ubuntu 22.04. Rather than using the web-based setup, We will run a few commands to finish the initial configurations. So, we will not perform the entire installation manually.There are various method of Nextcloud Installation. Command line Installation is the easiest. First, we will prepare the server environment for regular nextcloud setup. Secondly, instead of the web based setup, we will completely install and configure Nextcloud on Ubuntu 22.04 using the command line. Nextcloud CLI installation method is very useful because we can perform full automatic installation with any automation system. Below, we mentioned the steps for the Nextcloud Command line Installation.Step1: Install PHP, Apache and MariaDB ServerStep2: Configure MariaDB ServerStep3: Download and Prepare Nextcloud PackageStep4: Run the Nextcloud installation CLI CommandStep1: Install PHP, Apache and MariaDB Server1. Update and Upgrade the Ubuntu Packagesapt update && apt upgrade2. install Apache and MySQL Serverapt install apache2 mariadb-server 3. Install PHP and other Dependencies and Restart Apacheapt install libapache2-mod-php php-bz2 php-gd php-mysql php-curl php-mbstring \php-imagick php-zip php-ctype php-curl php-dom php-json php-posix php-bcmath \php-xml php-intl php-gmp zip unzip wget4. Enable required Apache modules and restart Apache:a2enmod rewrite dir mime env headerssystemctl restart apache2Step2: Configure MariaDB Server1. Login to MySQL Prompt, Just type2. Create MySQL Database and User for Nextcloud and Provide Permissions.CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'passw@rd';CREATE DATABASE IF NOT EXISTS nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost';FLUSH PRIVILEGES;quit;Step3: Download and Prepare Nextcloud PackageNow download the latest Nextcloud archive file, Go to the Nextcloud Download Page. Or you can download from this direct link.1. Download and unzip at the web root (/var/www/html) foldercd /var/www/htmlwget latest.zip2. Move all nextcloud content to the web root (/var/www/html) foldercd /var/www/html/nextcloudmv * .* ../3. Remove empty nextcloud directoryrmdir /var/www/html/nextcloud4. Change the ownership of the nextcloud content directory to the HTTP user.chown -R www-data:www-data /var/www/htmlStep4: Run the Nextcloud installation CLI CommandThis CLI command will take all the installation parameters like the database and admin credentials to run the installation and configure on the background.cd /var/www/htmlsudo -u www-data php occ maintenance:install --database "mysql"Comments
Support introSorry to hear you’re facing problems 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:exampleOr for longer, use three backticks above and below the code snippet:longerexamplehereSome or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can Nextcloud version (eg, 12.0.2):15.05Operating system and version (eg, Ubuntu 17.04):Ubuntu 18.4Apache or nginx version (eg, Apache 2.4.25): NginxPHP version (eg, 7.1):The issue you are facing:Update fails with what looks like a permissions error, the data directroy is on an SMB share and has been since V13 without this issue.The share mounts fine I can read write mkdir,rmdir and such from the console.The updater checks write permissions and contiunes all the way to moving files and fails with could not rename /media/cloud/blablabla to /usr/share/nginx/nextcloud/updater/…/ if I retry update it just gives same error for different file ‘hence blablabla’Is this the first time you’ve seen this error? (Y/N):YSteps to replicate it:Start update from webThe output of your Nextcloud log in Admin > Logging:{"reqId":"yZODgDcw74EEqIejYzW2","level":3,"time":"2019-04-05T08:11:41+00:00","remoteAddr":"192.168.7.252","user":"Micheal","app":"files_antivirus","method":"PUT","url":"\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","message":{"Exception":"RuntimeException","Message":"The antivirus executable could not be found at \/usr\/bin\/clamscan","Code":0,"Trace":[{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/Scanner\/ScannerFactory.php","line":58,"function":"__construct","class":"OCA\\Files_Antivirus\\Scanner\\Local","type":"->","args":[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/AvirWrapper.php","line":107,"function":"getScanner","class":"OCA\\Files_Antivirus\\Scanner\\ScannerFactory","type":"->","args":[]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/AvirWrapper.php","line":92,"function":"wrapSteam","class":"OCA\\Files_Antivirus\\AvirWrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":630,"function":"writeStream","class":"OCA\\Files_Antivirus\\AvirWrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null,null]},{"file":"\/usr\/share\/nginx\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":630,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null,null]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":182,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Upload\/UploadFolder.php","line":39,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["0000000000000000-0000000001583195",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["0000000000000000-0000000001583195",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Server.php","line":301,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/usr\/share\/nginx\/nextcloud\/remote.php","line":163,"args":["\/usr\/share\/nginx\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/Scanner\/Local.php","Line":43,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.6.0 RC3","version":"15.0.5.3"}{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/PASTE HEREThe output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):PASTE HERE``` '*********', 'passwordsalt' => '****************', 'secret' => '*****************', 'trusted_domains' => array ( 0 => 'gh.fj.fg', ), 'datadirectory' => '/media/cloud', 'overwrite.cli.url' => ' 'dbtype' => 'mysql', 'version' => '15.0.5.3', 'dbname' => 'nextcloud', 'dbhost' => 'localhost:3306', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => '*****', 'dbpassword' => '********', 'installed' => true, 'memcache.local' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'localhost', 'port' => 6379, ), 'memcache.locking' => '\\OC\\Memcache\\Redis', 'maintenance' => true, 'theme' => '', 'loglevel' => 2, 'updater.release.channel' => 'stable', 'updater.secret' => '***************************',The output of your Apache/nginx/system log in `/var/log/____`:PASTE HERE2019/04/05 09:38:41 [error] 1953#1953: *9974 FastCGI sent in stderr: "PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/.htaccess,/usr/share/nginx/nextcloud/updater/../.htaccess): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/.user.ini,/usr/share/nginx/nextcloud/updater/../.user.ini): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/.drone.yml,/usr/share/nginx/nextcloud/updater/../3rdparty/.drone.yml): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/autoload.php,/usr/share/nginx/nextcloud/updater/../3rdparty/autoload.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/composer.json,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/composer.json): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/LICENSE.md,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/LICENSE.md): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/NOTICE.md,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/NOTICE.md): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Acm/AcmClient.php,/usr/sh2019/04/05 09:38:41 [error] 1953#1953: *9974 FastCGI sent in stderr: "/Api/AbstractModel.php): Operation
2025-04-01In this guide, we’ll demonstrate how to install NextCloud from Command line on Ubuntu 22.04. Rather than using the web-based setup, We will run a few commands to finish the initial configurations. So, we will not perform the entire installation manually.There are various method of Nextcloud Installation. Command line Installation is the easiest. First, we will prepare the server environment for regular nextcloud setup. Secondly, instead of the web based setup, we will completely install and configure Nextcloud on Ubuntu 22.04 using the command line. Nextcloud CLI installation method is very useful because we can perform full automatic installation with any automation system. Below, we mentioned the steps for the Nextcloud Command line Installation.Step1: Install PHP, Apache and MariaDB ServerStep2: Configure MariaDB ServerStep3: Download and Prepare Nextcloud PackageStep4: Run the Nextcloud installation CLI CommandStep1: Install PHP, Apache and MariaDB Server1. Update and Upgrade the Ubuntu Packagesapt update && apt upgrade2. install Apache and MySQL Serverapt install apache2 mariadb-server 3. Install PHP and other Dependencies and Restart Apacheapt install libapache2-mod-php php-bz2 php-gd php-mysql php-curl php-mbstring \php-imagick php-zip php-ctype php-curl php-dom php-json php-posix php-bcmath \php-xml php-intl php-gmp zip unzip wget4. Enable required Apache modules and restart Apache:a2enmod rewrite dir mime env headerssystemctl restart apache2Step2: Configure MariaDB Server1. Login to MySQL Prompt, Just type2. Create MySQL Database and User for Nextcloud and Provide Permissions.CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'passw@rd';CREATE DATABASE IF NOT EXISTS nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost';FLUSH PRIVILEGES;quit;Step3: Download and Prepare Nextcloud PackageNow download the latest Nextcloud archive file, Go to the Nextcloud Download Page. Or you can download from this direct link.1. Download and unzip at the web root (/var/www/html) foldercd /var/www/htmlwget latest.zip2. Move all nextcloud content to the web root (/var/www/html) foldercd /var/www/html/nextcloudmv * .* ../3. Remove empty nextcloud directoryrmdir /var/www/html/nextcloud4. Change the ownership of the nextcloud content directory to the HTTP user.chown -R www-data:www-data /var/www/htmlStep4: Run the Nextcloud installation CLI CommandThis CLI command will take all the installation parameters like the database and admin credentials to run the installation and configure on the background.cd /var/www/htmlsudo -u www-data php occ maintenance:install --database "mysql"
2025-04-20October 12, 2016, 2:28pm 1 Hi,may be an OT feature, but since here we are talking about re-take control on our data, it would be a great improvement to add a “desktop sharing” functionality in nextcloud.I consider unacceptable still using service like teamviewer to share client desktop.No, webRTC share only browser window, not the whole desktop.Ok, could be a bandwidth problem (overall added to underground data transfer) but together with audio and video calls (via webRTC) could make nextcloud leader in this field.Client application that point to personalized nextcloud-desktop-sharing server that act as hub/switch to other clients, with “rooms” for remote assistance or even to internal (private network) virtualized desktop.Too much? LazyInLA October 12, 2016, 2:39pm 2 I’d be reaaaaally happy if I could just use it to remote desktop my systems with the client installed. Easy, direct access for clients using the same account, and a permissions system for other accounts on the same server. All the rest seems a bit much for core features but could be good as an integration. MikeLupe October 12, 2016, 3:13pm 3 Spreed.Me already provides the screen sharing functionality, not remote control, but desktop sharing.Anyway, a remote control feature being authenticated through the nextcloud desktop client would be an incredible feature. But oh my, there’s a lot of work to do for that one I guess.edit: Spreed.Me not Collabora Services like meet.jit.si is able to share the whole desktop using a browser extension. Taurus7 August 9, 2022, 8:45am 5 Yes, I think that is a great idea, I was just looking for such a feature… but apparently it still doesn’t exist. Maybe I should start a new discussion as this one is 6 years old…Anyway, I came across Rustdesk, which is an open source alternative to Teamviewer and Anydesk (so no port forwarding etc required). You can run your own server, so what about intergrating the Rustdesk server in Nextcloud? Perhaps as an app? This is exactly what I came looking for.Is there a way to set up a bounty or community funding drive? markc December 9, 2023, 5:06am 7 That’s an excellent idea. Integrating rustdesk with Nextcloud by turning the rustdesk server part into an easily installable app would be a brilliant move. I would contribute to funding this for sure. szaimen December 9, 2023, 8:08am 8 Hi, in general this would already be possible by using Nextcloud AIO and its community container feature. See wwe Closed November 6, 2024, 8:52pm 9 wwe: close old topics
2025-04-03⚠️ Before submitting, please verify the following: ⚠️ This is a bug, not a question or a configuration issue. This issue is not already reported on Github (I've searched it). Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions. I agree to follow Nextcloud's Code of ConductBug descriptionAfter updating Nextcloud MacOS Client Universal to 3.7.1, the app don't start anymore. The same thing happen if I remove Nextcloud App and install it directly from the .pkg file.If I try to launch it from CLI, I get the following output: ~ % /Applications/Nextcloud.app/Contents/MacOS/Nextcloud --logwindowdyld: Library not loaded: @loader_path/liblzma.5.dylib Referenced from: /Applications/Nextcloud.app/Contents/Frameworks/libKF5Archive.5.dylib Reason: no suitable image found. Did find: file system relative paths not allowed in hardened programszsh: abort /Applications/Nextcloud.app/Contents/MacOS/Nextcloud --logwindowInstalling back 3.6 work like a charm.Steps to reproduceInstall 3.7.1launch itExpected behaviorClient to startWhich files are affected by this bugNextcloud.app/Contents/Frameworks/libKF5Archive.5.dylibOperating systemMac OSWhich version of the operating system you are running.MacOS 11.7PackageAppimageNextcloud Server versionSeveralsNextcloud Desktop Client version3.7.1Is this bug present after an update or on a fresh install?Fresh desktop client installAre you using the Nextcloud Server Encryption module?Encryption is EnabledAre you using an external user-backend? Default internal user-backend LDAP/ Active Directory SSO - SAML OtherNextcloud Server logsNo responseAdditional infoNo response
2025-04-14Use your Nextcloud log to review system status, or to help debug problems. You may adjust logging levels, and choose how and where log data is stored. If additional event logging is required, you can optionally activate the admin_audit app.When file based logging is utilized, both the Nextcloud log and, optionally, the admit_audit app log can be viewed within the Nextcloud interface under Administration settings -> Logging (this functionality is provided by the logreader app).Further configuration and usage details for both the standard Nextcloud log and the optional admin_audit app log can be found below.Log levelLogging levels range from DEBUG, which logs all activity, to FATAL, which logs only fatal errors.0: DEBUG: All activity; the most detailed logging.1: INFO: Activity such as user logins and file activities, plus warnings, errors, and fatal errors.2: WARN: Operations succeed, but with warnings of potential problems, plus errors and fatal errors.3: ERROR: An operation fails, but other services and operations continue, plus fatal errors.4: FATAL: The server stops.By default the log level is set to 2 (WARN). Use DEBUG when you have a problem to diagnose, and then reset your log level to a less-verbose level as DEBUG outputs a lot of information, and can affect your server performance.Logging level parameters are set in the config/config.php file.Log typeerrorlogAll log information will be sent to PHP error_log()."log_type" => "errorlog",WarningUntil version Nextcloud 25 log entries were prefixed with [owncloud]. From 26 onwards messages start with [nextcloud].fileAll log information will be written to a separate log file which can beviewed using the log viewer on your Admin page. By default, a logfile named nextcloud.log will be created in the directory which hasbeen configured by the datadirectory parameter in config/config.php.The desired date format can optionally be defined using the logdateformat parameter in config/config.php.By default the PHP date function parameter c is used, and therefore thedate/time is written in the format 2013-01-10T15:20:25+02:00. By using thedate format in the example below, the date/time format will be written in the formatJanuary 10, 2013 15:20:25."log_type" => "file","logfile" => "nextcloud.log","loglevel" => 3,"logdateformat" => "F d, Y H:i:s",syslogAll log information will be sent to your default syslog daemon."log_type" => "syslog","syslog_tag" => "Nextcloud","logfile" => "","loglevel" => 3,systemdAll log information will be sent to Systemd journal. Requires php-systemd extension."log_type" => "systemd","syslog_tag" => "Nextcloud",Log fields explainedExample log entries{ "reqId":"TBsuA2uE86DiOD0S8f9j", "level":1, "time":"April 13, 2021 16:55:37", "remoteAddr":"192.168.56.1", "user":"admin", "app":"admin_audit", "method":"GET", "url":"/ocs/v1.php/cloud/users?disabled", "message":"Login successful: "admin"", "userAgent":"curl/7.68.0", "version":"21.0.1.1"}{ "reqId":"ByeDVLuwkXKMfLpBgvxC", "level":2, "time":"April 14, 2021 09:03:29", "remoteAddr":"192.168.56.1", "user":"--", "app":"no app in context", "method":"POST", "url":"/login", "message":"Login failed: asdf (Remote IP: 192.168.56.1)", "userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36", "version":"21.0.1.1"}Log field breakdownreqId (request id): any log lines related to a single request have the same valuelevel: logged incident’s level, always 1 in audit.logtime: date and time (format and timezone can be configured in config.php)remoteAddr: the IP address of the user (if applicable – empty for occ commands)user: acting user’s id (if applicable)app: affected app (always admin_audit in audit.log)method: HTTP method, for example GET, POST, PROPFIND, etc. – empty on occ callsurl: request
2025-04-09