Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default config.php appstore #3269

Closed
agowa opened this issue Jan 26, 2017 · 7 comments
Closed

Default config.php appstore #3269

agowa opened this issue Jan 26, 2017 · 7 comments

Comments

@agowa
Copy link

agowa commented Jan 26, 2017

The default config.php file (generated by the webinterface after first launch) does not contain the following two lines, so the appstore is not working:

'appstoreenabled' => true,
'appstoreurl' => 'https://api.nextcloud.com/v1',
@MorrisJobke
Copy link
Member

The appstore is enabled by default. This option is there to set it to false to disable it. See

$params['appstoreEnabled'] = $this->config->getSystemValue('appstoreenabled', true) === true;
for example.

Therefore this issue is invalid.

@agowa
Copy link
Author

agowa commented Jan 26, 2017

Than there is an issue, i used the Version 11 release attached to this repository.
Than I unziped it into the webserver directory.
Than I opened the browser and completed the first install from the browser.
The Webshop was not showing up until I manually added those two lines to the configuration file.

@MorrisJobke
Copy link
Member

The Webshop was not showing up until I manually added those two lines to the configuration file.

api.nextcloud.com does not exist 🙈

What host have you entered there?

@agowa
Copy link
Author

agowa commented Jan 27, 2017

I entered the two lines exactly as written above and it is working. I cannot say why but it works only after I add those two lines.

@MorrisJobke
Copy link
Member

'appstoreurl' => 'https://api.nextcloud.com/v1',

I also noticed that his is not a valid config key.

'appstoreenabled' => true,

This one is usually the default. Maybe it is in another config.php (check the config/ directory for any file that ends on .config.php) disabled and placing this in there just overwrites it.

@agowa
Copy link
Author

agowa commented Jan 27, 2017

There are no more and no less files than are in the download from here.
As I don't have any files there yet I think I repeat all steps starting with the download. To see if the issue is reproducible.

@agowa
Copy link
Author

agowa commented Jan 27, 2017

su -s /bin/bash www-data
cd /var/www/public
wget https://download.nextcloud.com/server/releases/nextcloud-11.0.1.zip
unzip nextcloud-11.0.1.zip
nano config/config.php

Than I use my webbrowser and go to https://www.website.com/nextcloud and do the following:

  • select MariaDB
  • Enter Database credentials (Databasename "nextcloud")
  • Enter Username and Password of the first administrator
  • Click on "Finish Setup"

Ok and now it's working without that lines.
Should have checked before if it is reproducible...

I'm sorry to have wasted your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants