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

"Cannot be installed because appinfo file cannot be read" #36

Closed
davidcartwright opened this issue Jul 22, 2021 · 4 comments
Closed

"Cannot be installed because appinfo file cannot be read" #36

davidcartwright opened this issue Jul 22, 2021 · 4 comments

Comments

@davidcartwright
Copy link

Relevant error:

{"Exception":"Exception","Message":"App "recognize" cannot be installed because appinfo file cannot be read.","Code":0,"Trace":[{"file":"/var/www/html/apps/settings/lib/Controller/AppSettingsController.php","line":448,"function":"installApp","class":"OC\Installer","type":"->","args":["recognize"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":218,"function":"enableApps","class":"OCA\Settings\Controller\AppSettingsController","type":"->","args":[["recognize"],[]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":127,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[{"class":"OCA\Settings\Controller\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[{"class":"OCA\Settings\Controller\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Settings\Controller\AppSettingsController","enableApps",{"class":"OC\AppFramework\DependencyInjection\DIContainer"},{"_route":"settings.AppSettings.enableApps"}]},{"file":"/var/www/html/lib/base.php","line":993,"function":"match","class":"OC\Route\Router","type":"->","args":["/settings/apps/enable"]},{"file":"/var/www/html/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Installer.php","Line":122,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0","version":"21.0.3.1","id":"60f9551e8386e"}

@marcelklehr
Copy link
Member

I'll investigate this soon. Thanks for reporting!

@bonswouar
Copy link
Collaborator

It seems it could just be a timeout problem : https://help.nextcloud.com/t/cannot-install-documentserver-community-app-appinfo-file-cannot-be-read/68415/10
Although the proposed solution to manually edit a constant from a lib file isn't very appealing..

@marcelklehr
Copy link
Member

It's likely a timeout problem. If you're on v22, try with the latest version. Otherwise, your only option currently is to install manually (download tar.gz file from this repo, unpack, chown and roll)

@bonswouar
Copy link
Collaborator

bonswouar commented Apr 19, 2022

For your information there is an open issue on NC : nextcloud/server#18999
Although it's only about informing the user that he should install the app manually

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

3 participants