Giter Site home page Giter Site logo

Comments (6)

jacob418 avatar jacob418 commented on May 26, 2024

This seems to be related to some files, that look pretty much like they have been created by MacOS. There is a ._health file beneath the health folder, i guess thats the problem.

I managed to install and activate it manually by uploading and extracting the archive on my own. Though i was able to activate the extension it wasnt working (at least i couldnt create a person). It seems like the autoload is messed up - this could also be because of manual installation.

This is the message from the log:

{
    "reqId": "X5V8RnljA@8iFS1wF748dgAAAAE",
    "level": 3,
    "time": "2020-10-25T14:23:19+01:00",
    "remoteAddr": "77.182.197.172",
    "user": "***",
    "app": "index",
    "method": "POST",
    "url": "/apps/health/persons",
    "message": {
        "Exception": "OCP\\AppFramework\\QueryException",
        "Message": "Could not resolve OCA\\Health\\Controller\\PersonsController! Class OCA\\Health\\Services\\PersonsService does not exist",
        "Code": 0,
        "Trace": [{
                "file": "/www/htdocs/***/***/lib/private/AppFramework/Utility/SimpleContainer.php",
                "line": 116,
                "function": "resolve",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->",
                "args": ["OCA\\Health\\Controller\\PersonsController"]
            }, {
                "file": "/www/htdocs/***/***/lib/private/AppFramework/DependencyInjection/DIContainer.php",
                "line": 414,
                "function": "query",
                "class": "OC\\AppFramework\\Utility\\SimpleContainer",
                "type": "->",
                "args": ["OCA\\Health\\Controller\\PersonsController"]
            }, {
                "file": "/www/htdocs/***/***/lib/private/AppFramework/DependencyInjection/DIContainer.php",
                "line": 385,
                "function": "queryNoFallback",
                "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
                "type": "->",
                "args": ["OCA\\Health\\Controller\\PersonsController"]
            }, {
                "file": "/www/htdocs/***/***/lib/private/AppFramework/App.php",
                "line": 124,
                "function": "query",
                "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
                "type": "->",
                "args": ["OCA\\Health\\Controller\\PersonsController"]
            }, {
                "file": "/www/htdocs/***/***/lib/private/AppFramework/Routing/RouteActionHandler.php",
                "line": 47,
                "function": "main",
                "class": "OC\\AppFramework\\App",
                "type": "::",
                "args": ["OCA\\Health\\Controller\\PersonsController", "create", {
                        "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
                    }, {
                        "_route": "health.persons.create"
                    }
                ]
            }, {
                "function": "__invoke",
                "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
                "type": "->",
                "args": [{
                        "_route": "health.persons.create"
                    }
                ]
            }, {
                "file": "/www/htdocs/***/***/lib/private/Route/Router.php",
                "line": 297,
                "function": "call_user_func",
                "args": [{
                        "__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
                    }, {
                        "_route": "health.persons.create"
                    }
                ]
            }, {
                "file": "/www/htdocs/***/***/lib/base.php",
                "line": 1011,
                "function": "match",
                "class": "OC\\Route\\Router",
                "type": "->",
                "args": ["/apps/health/persons"]
            }, {
                "file": "/www/htdocs/***/***/index.php",
                "line": 37,
                "function": "handleRequest",
                "class": "OC",
                "type": "::",
                "args": []
            }
        ],
        "File": "/www/htdocs/***/***/lib/private/AppFramework/Utility/SimpleContainer.php",
        "Line": 107,
        "CustomMessage": "--"
    },
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36",
    "version": "19.0.4.2"
}

from health.

datenangebot avatar datenangebot commented on May 26, 2024

Hi,

thanks for the informations!

The error looks strange for me, I guess there is something wrong with the manual installation. :|

I'm searching your mentioned file ._health.
Yes it is from a mac, but the console doesn't show me that one. :(

If I download the release file from GitHub and extract it, the folders name is not only the app name, it is the app name with the version tag. That should not run in the App Store. Do you have experience in that?

from health.

datenangebot avatar datenangebot commented on May 26, 2024

Okay, file found.
Fix with tar option --disable-copyfile.

I guess the app-store caches have to renew.
First test was not successfully, but lets see.
Maybe you can test that too.

from health.

ntimo avatar ntimo commented on May 26, 2024

Sounds good :) Going to test tomorrow. But for the future would you consider to host the releases on Github? When creating a release using the tags you should be able to upload the tar.gz file.

from health.

jacob418 avatar jacob418 commented on May 26, 2024

Install working now for me, the other problem persists.

EDIT: i opened up #16 for that other problem....

from health.

datenangebot avatar datenangebot commented on May 26, 2024

okay, so this issue is closed.
Problem fixed.

from health.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.