Failed installing Nextcloud 12 on a server

Hi all,
I have installed several instances od OwnCloud. I’m using NextCloud on a site (as an admin).
I would like to switch my own OwnCloud to NC (on a little shared server).
So I’ve put NC on the server and went to the index.php to set up the installation using a mySQL database rather than the SQLite.

I get this error message :
Failed to enable app federation Please ask for help via one of our <a href="https://nextcloud.com/support/" target="_blank" rel="noreferrer">support channels</a>. (little bug in the GUI)
So, here I am…

I already have an instance of OwnCloud on the server so the oc_ prefix is already used for the SQL names. I’ve edited the config.php and set ‘dbtableprefix’ to ‘nc_’

Re_try, re_given an second, and third, admin name (this name is already used)…
The config has been overritten and ‘dbtableprefix’ reset to ‘oc_’ (a bug ?)

And I get this same error message.

My questions :

  • Is it a way to set the SQL prefix to something different than ‘oc_’ ?
  • Is it a way to disable temporarily the ‘federation’ app so I can go further ?

Thanks.


NextCloud 12.0.0 -PHP 5.6.30 - mySQL 5.5

Hi,

In general you can enable/ disable apps via occ:
sudo -u www-data php /var/www/nextcloud/occ app:disable <appname>

So
sudo -u www-data php /var/www/nextcloud/occ app:disable federation
in your case.

For a list of apps you can use:
sudo -u www-data php /var/www/nextcloud/occ app:list

I hope that occ still works for you. Otherwise you need to go to the database I guess.

@johnsmith @FrViPofm
Please start here if you wish to use your own version of OS

Else you could always download the ready made instance from www.techandme.se

Good luck

1 Like