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

App Store not loading #4018

Closed
poisony opened this issue Mar 23, 2017 · 2 comments
Closed

App Store not loading #4018

poisony opened this issue Mar 23, 2017 · 2 comments

Comments

@poisony
Copy link

poisony commented Mar 23, 2017

Steps to reproduce

  1. Fresh install of Nextcloud 11.0.2
  2. Change datadirectory to another
  3. Open Apps-page.

Actual behaviour

All apps are loading but it does not get connected to the App Store. Only "Enabled" and "Not Enabled" apps showing up.

Does this have to do with me changing the data-directory? How do I get this to work again?

Server configuration

Operating system:
Hyper-V NextCloud installation from techandme.com
Web server:

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)
11.0.2
Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from:
Techandme.com
Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

List of activated apps:

App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

The content of config/config.php:

Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or 

Insert your config.php content here
(Without the database password, passwordsalt and secret)

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:
All
Operating system:
Windows Server 2012 Hyper-V NextCloud Installation from techandme.com

Logs

Nextcloud log (data/nextcloud.log)

Nextcloud log

Error PHP Invalid argument supplied for foreach() at /var/www/nextcloud/lib/private/Installer.php#360 2017-03-23T16:55:41+0100
Error PHP fclose() expects parameter 1 to be resource, boolean given at /var/www/nextcloud/lib/private/Files/Storage/Local.php#218 2017-03-23T16:55:41+0100
Error PHP fread() expects parameter 1 to be resource, boolean given at /var/www/nextcloud/lib/private/Files/Storage/Local.php#217 2017-03-23T16:55:41+0100
Error PHP fopen(/var/ncdata/appdata_ocg06fq9lf61/appstore/apps.json): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#216 2017-03-23T16:55:41+0100
Error PHP filesize(): stat failed for /var/ncdata/appdata_ocg06fq9lf61/appstore/apps.json at /var/www/nextcloud/lib/private/Files/Storage/Local.php#211 2017-03-23T16:55:41+0100
Error PHP fopen(/var/ncdata/appdata_ocg06fq9lf61/appstore/apps.json): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#287 2017-03-23T16:55:41+0100
Error PHP fclose() expects parameter 1 to be resource, boolean given at /var/www/nextcloud/lib/private/Files/Storage/Local.php#218 2017-03-23T16:55:41+0100
Error PHP fread() expects parameter 1 to be resource, boolean given at /var/www/nextcloud/lib/private/Files/Storage/Local.php#217 2017-03-23T16:55:41+0100
Error PHP fopen(/var/ncdata/appdata_ocg06fq9lf61/appstore/apps.json): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#216 2017-03-23T16:55:41+0100
Error PHP filesize(): stat failed for /var/ncdata/appdata_ocg06fq9lf61/appstore/apps.json at /var/www/nextcloud/lib/private/Files/Storage/Local.php#211 2017-03-23T16:55:41+0100
Error PHP Invalid argument supplied for foreach() at /var/www/nextcloud/lib/private/Installer.php#360 2017-03-23T16:55:41+0100
Error PHP fclose() expects parameter 1 to be resource, boolean given at /var/www/nextcloud/lib/private/Files/Storage/Local.php#218 2017-03-23T16:55:41+0100
Error PHP fread() expects parameter 1 to be resource, boolean given at /var/www/nextcloud/lib/private/Files/Storage/Local.php#217 2017-03-23T16:55:41+0100
Error PHP fopen(/var/ncdata/appdata_ocg06fq9lf61/appstore/apps.json): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#216 2017-03-23T16:55:41+0100
Error PHP filesize(): stat failed for /var/ncdata/appdata_ocg06fq9lf61/appstore/apps.json at /var/www/nextcloud/lib/private/Files/Storage/Local.php#211 2017-03-23T16:55:41+0100
Error PHP fopen(/var/ncdata/appdata_ocg06fq9lf61/appstore/apps.json): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#287 2017-03-23T16:55:41+0100
Insert your Nextcloud log here

</details>
</details>
@poisony
Copy link
Author

poisony commented Mar 23, 2017

I think I found the problem. I will test copy ALL content from the old datadirectory.

@poisony
Copy link
Author

poisony commented Mar 23, 2017

I solved it. Sorry for posting before trying more :)

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

1 participant