Skip to content

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

Closed

Description

@davidcartwright

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"}

Activity

  1. marcelklehr commented on Jul 29, 2021

    @marcelklehr
    Member

    I'll investigate this soon. Thanks for reporting!

  2. bonswouar commented on Aug 11, 2021

    @bonswouar
    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..

  3. marcelklehr commented on Aug 28, 2021

    @marcelklehr
    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)

  4. bonswouar commented on Apr 19, 2022

    @bonswouar
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions