I want to move from subdomain to an addon domain

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:


Or for longer, use three backticks above and below the code snippet:


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:

Nextcloud version (eg, 12.0.2): 70.0.1
Operating system and version (eg, Ubuntu 17.04): linux Kernal version 3.10.0-962.3.2.lve1.5.26.3.el7.x86_64
Apache or nginx version (eg, Apache 2.4.25): 2.4.41
PHP version (eg, 7.1): 7.0.33

The issue you are facing:
I have Nextcloud currently set up on a subdomain. My host recently added the ability for me to use “addon domains” via cPanel. I’d like to move my nextcloud installation from the subdomain into the “addon domain”. What is the best way to go about doing this? Here are the ways I was thinking: 1. Just literally go into the file browser/FTP and move the whole nextcloud directory from the subdomain to the new addon domain folder. 2. Backup nextcloud somehow on the subdomain, install a fresh copy of nextcloud on the addon domain, then restore the backup I made on the new addon domain install. and option 3. I installed Nextcloud via “Softaculous”. Softaculous provides a “clone” tool where it will clone the installation to what ever directory I want (I’ve used this to move Wordpress sites as well) so I could clone into the new addon directory.
Would any of these options work? I do not want to loose data if at all possible. If not, how would I go about doing this? the current subdomain install and the addon domain are both of course at the same host on the same server.

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

Steps to replicate it: NA

The output of your Nextcloud log in Admin > Logging:

{"reqId":"XfXLtPxuI86sPC9wvyhmyAAAAOc","level":3,"time":"2019-12-15T05:59:16+00:00","remoteAddr":"","user":"admin","app":"PHP","method":"PROPFIND","url":"\/FJRCloud\/remote.php\/dav\/files\/admin\/","message":"You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at \/home\/fjrmbfan\/public_html\/boosters\/FJRCloud\/3rdparty\/patchwork\/utf8\/src\/Patchwork\/Utf8\/Bootup\/intl.php#18","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.6.1stable-Win64 (build 20191105) (Nextcloud)","version":""}

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

$CONFIG = array (
  'instanceid' => 'oclqrpuu570l',
  'passwordsalt' => 'passwordsalthere',
  'secret' => 'passwordsecret.here',
  'trusted_domains' => 
  array (
    0 => 'sub.domain.here',
  'datadirectory' => '/home/fjrmbfan/nextclouddata',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'https://url.tonextlcoud.here/nextcloud',
  'dbname' => 'fjrmbfan_next530',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'DB user name here',
  'dbpassword' => 'DB password here',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_domain' => 'sub.domain.here',
  'mail_smtphost' => 'sub.domain.here',
  'mail_smtpport' => '465',
  'mail_from_address' => 'admin',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,

The output of your Apache/nginx/system log in /var/log/____: