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

"Undefined index: appstoreData at AppSettingsController" when I go to the app store #10504

Closed
schiessle opened this issue Aug 2, 2018 · 3 comments

Comments

@schiessle
Copy link
Member

I just tried Nextcloud 14 beta 2 (not sure if it also happened with the beta1). If I go to the appstore I get a lot of error messages in the nextcloud.log:

{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}
{"reqId":"CF4e8tn0fZsP0jcW1RhE","level":3,"time":"2018-08-02T10:02:31+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"PHP","method":"GET","url":"\/nextcloud\/index.php\/settings\/apps\/list","message":"Undefined index: appstoreData at \/home\/schiesbn\/Repos\/nextcloud\/nextcloud\/settings\/Controller\/AppSettingsController.php#254","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"14.0.0.14"}

Steps to reproduce

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Server configuration

Operating system:

Web server:

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from:

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

Nextcloud configuration:

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. 
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

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:

Operating system:

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log
Insert your Nextcloud log here

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #5059 (Undefined index: federationId), #5987 (Undefined index: uidnext When Using Mail App), #1957 (2FA: undefined index backup_codes), #4018 (App Store not loading), and #2294 (App Store missing on 10.0.1).

@rullzer
Copy link
Member

rullzer commented Aug 2, 2018

Same here. I don't think we changed anything there lets see why it fails.

@rullzer
Copy link
Member

rullzer commented Aug 2, 2018

@juliushaertl seems to fail because not all apps come from the appstore. Can you have a look?

rullzer added a commit that referenced this issue Aug 2, 2018
Fixes #10504

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
weeman1337 pushed a commit that referenced this issue Aug 9, 2018
Fixes #10504

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants