Sorry to hear you’re facing problems
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:
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
Nextcloud version (eg, 12.0.2): 17.0.3
Operating system and version (eg, Ubuntu 17.04): NCP v1.20.7
Apache or nginx version (eg, Apache 2.4.25): N/A
PHP version (eg, 7.1): N/A
System: RasPi 4 (4GB RAM), 6TB WD HDD, 6TB Seagate HDD
The issue you are facing:
I’m quite new to NC/NCP and don’t have much knowledge yet, so please be gentle if I don’t understand basic things.
I am trying to run a homeserver using a RasPi4 with 4GB RAM with a WD Elements Desktop (6TB) as a data drive and a Seagate Expansion (6TB) as a backup drive. Thanks to the excellent NCP image and Youtube videos I was able to get the server up and running quite easily. So after a few weeks of using it I bought the second drive (Seagate) and wanted to perform a backup of my data. I was able to do this using the NCP Panels nc-backup and had a working backup. Now I wanted to automate this using the NCP Panels nc-backup-auto but as I applied it (incl. data: yes, periodicity: 1, backups to keep: 2) at night and went to sleep, my NC was showing the following error message the next morning (system language is german):
Translation: It seems that you want to reinstall Nextcloud. But the file CAN_INSTALL is missing from your configurations directory. Please create the file CAN_INSTALL in your configurations directory to proceed.
Now I was able to restore the my system thanks to the manual backup but I could reproduce the exact same error when trying to enable nc-backup-auto again.
Sadly I was not able to download the log data as I couldn’t access the admin account during the error. And also I did not manage to download the config.php file via Terminal to my Mac, so I can only copy the output of /?app=config after restoring the backup.
Currently I can’t really use my server as I don’t have a sufficent backup solution established.
I am happy if anybody has any help or advice!
PS: I’m sorry if I did not paste the config correctly, feel free to offer advice on this as well.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- apply ‘Set periodic backups’
The output of your Nextcloud log in Admin > Logging:
N/A (Logging not accessible during error)
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
Couldnt copy config.php, output of /?app=config after restoration of backup instead:
passwordsalt (sensitive) secret (sensitive) trusted_domains 0 localhost 5 nextcloudpi.local 7 nextcloudpi 8 nextcloudpi.lan 11 (sensitive) 1 (sensitive) 20 (sensitive) 21 (sensitive) 12 (sensitive) datadirectory /media/myCloudDrive/ncdata dbtype mysql version 184.108.40.206 overwrite.cli.url (sensitive) dbname nextcloud dbhost localhost dbport dbtableprefix oc_ mysql.utf8mb4 1 dbuser ncadmin dbpassword (sensitive) installed 1 instanceid (sensitive) memcache.local \OC\Memcache\Redis memcache.locking \OC\Memcache\Redis redis host /var/run/redis/redis.sock port 0 timeout 0 password (sensitive) tempdirectory /media/myCloudDrive/ncdata/tmp mail_smtpmode smtp mail_from_address (sensitive) mail_domain gmail.com preview_max_x 2048 preview_max_y 2048 jpeg_quality 60 overwriteprotocol https maintenance logfile /media/myCloudDrive/ncdata/nextcloud.log loglevel 2 log_type file mail_sendmailmode smtp mail_smtphost smtp.gmail.com mail_smtpport 465 mail_smtpsecure ssl mail_smtpauth 1 mail_smtpname (sensitive) mail_smtppassword (sensitive) mail_smtpauthtype LOGIN theme data-fingerprint (sensitive)
The output of your Apache/nginx/system log in