fusio icon indicating copy to clipboard operation
fusio copied to clipboard

Cannot access fusio backend

Open thedx4 opened this issue 5 years ago • 5 comments
trafficstars

I installed fusio straight from the docker file provided.

I can access the main page as it returns:

{
    "message": "Congratulations the installation of Fusio was successful",
    "apiVersion": "v4.4.8@fc2aba51f856e47e36f9f1df1cc5e7e5de6191ca",
    "links": [
        {
            "rel": "about",
            "name": "http: \ / \ / fusio-project.org"
        }
    ]
}

However, when I try to access /fusio I get this page instead of the backend:

{
    "success": false,
    "title": "Internal Server Error",
    "message": "Unknown location"
}

How can I fix this?

thedx4 avatar Jun 23 '20 11:06 thedx4

Hi, we have moved the backend apps to a different dedicated apps folder. In the docker container this apps folder is exposed as apps subdomain, please take a look at https://github.com/apioo/fusio-docker/blob/master/Dockerfile#L10 So you can access the backend app at [apps-domain]/fusio

chriskapp avatar Jun 24 '20 19:06 chriskapp

Hi @chriskapp, thanks for this very cool app! I have the same problem as thedx4. I only get a 404 at [app-domain]/fusio. Is there any pointer to research a solution?

I did an upgrade by replacing the whole fusio directory. I also tried a fresh install but when running the installer I only got the error described in #327.

RightInTwo avatar Aug 20 '20 17:08 RightInTwo

After resolving #327, this problem remains. On a fresh install (v1.9.4 from the zip; php 7.4.9; empty database; apps, .env and cache chmodded to 775), I now get this error in step 5/7:

Could not install backend app, you can install the backend app later on using the command bin/fusio marketplace:install fusio

...but doing a php bin/fusio marketplace:install fusio does not output anything, nor does it change anything in the apps/ folder. @chriskapp, do you have an idea?

RightInTwo avatar Aug 26 '20 14:08 RightInTwo

Hi, ok, it sounds like Fusio is not able to write to the apps/ folder, can you also check your PHP/Apache error log files to see whether there are additional information?

chriskapp avatar Aug 26 '20 16:08 chriskapp

Well, the same permissions DO work on .env and cache. What is different about apps?

@chriskapp Can we maybe have a chat about this? I'm not finding the problem and I'd really like to move the installation to the other server

RightInTwo avatar Aug 26 '20 16:08 RightInTwo