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

Launch fail due to fatal error #14

Open
campbellrw opened this issue Dec 18, 2018 · 18 comments
Open

Launch fail due to fatal error #14

campbellrw opened this issue Dec 18, 2018 · 18 comments

Comments

@campbellrw
Copy link

Using this command
docker run --name php -p 80:80 -p 443:443 -p 10081:10081 php-zendserver

I am able to browse to: http://127.0.0.1:10081/ZendServer/

And see the Wizard UI. When I enter admin passwords etc, I can click next until the launch page.

When I click on Launch, it appears to do something, but then eventually hangs and does nothing and reports the following:

capture

Also, the following is what I see as output from the console since I wasn't running in detached mode.

docker run --name php -p 80:80 -p 443:443 -p 10081:10081 php-zendserver
Error: HTTP code 500
Zend Server initialization result: failed.
Zend Server is ready for use
Your application is available at http://172.17.0.2
To access Zend Server, navigate to http://172.17.0.2:10081
Your admin password is OTdjOWFk

@lplume
Copy link

lplume commented Jan 22, 2019

any news on this?

[edit]We are experiencing the same issue, as a side note the web page shows that the license is expired[/edit]

@lplume
Copy link

lplume commented Jan 22, 2019

more info, a web search led me to this
http://forums.zend.com/viewtopic.php?t=135065

it's the same exact response from /Bootstrap/save, copypasta here for reference
`
{
"success":false,
"message":"Failed to set user details in bootstrap: Set Profile; Statement could not be executed (HY000 - 5 - database is locked)",
"trace":[
{
"file":"/usr/local/zend/gui/module/Application/src/Bootstrap/Controller/BootstrapController.php",
"line":163,
"function":"bootstrapSingleServer",
"class":"Bootstrap\Mapper",
"type":"-\u003E",
"args":[
1
]
},
{
"file":"/usr/local/zend/gui/vendor/ZF2/library/Zend/Mvc/Controller/AbstractActionController.php",
"line":82,
"function":"saveAction",
"class":"Bootstrap\Controller\BootstrapController",
"type":"-\u003E",
"args":[

        ]
    },
    {  
        "function":"onDispatch",
        "class":"Zend\\Mvc\\Controller\\AbstractActionController",
        "type":"-\u003E",
        "args":[  
            {  

            }
        ]
    },
    {  
        "file":"\/usr\/local\/zend\/gui\/vendor\/ZF2\/library\/Zend\/EventManager\/EventManager.php",
        "line":444,
        "function":"call_user_func",
        "args":[  
            [  
                {  

                },
                "onDispatch"
            ],
            {  

            }
        ]
    },
    {  
        "file":"\/usr\/local\/zend\/gui\/vendor\/ZF2\/library\/Zend\/EventManager\/EventManager.php",
        "line":205,
        "function":"triggerListeners",
        "class":"Zend\\EventManager\\EventManager",
        "type":"-\u003E",
        "args":[  
            "dispatch",
            {  

            },
            {  

            }
        ]
    },
    {  
        "file":"\/usr\/local\/zend\/gui\/vendor\/ZF2\/library\/Zend\/Mvc\/Controller\/AbstractController.php",
        "line":118,
        "function":"trigger",
        "class":"Zend\\EventManager\\EventManager",
        "type":"-\u003E",
        "args":[  
            "dispatch",
            {  

            },
            {  

            }
        ]
    },
    {  
        "file":"\/usr\/local\/zend\/gui\/vendor\/ZF2\/library\/Zend\/Mvc\/DispatchListener.php",
        "line":93,
        "function":"dispatch",
        "class":"Zend\\Mvc\\Controller\\AbstractController",
        "type":"-\u003E",
        "args":[  
            {  

            },
            {  

            }
        ]
    },
    {  
        "function":"onDispatch",
        "class":"Zend\\Mvc\\DispatchListener",
        "type":"-\u003E",
        "args":[  
            {  

            }
        ]
    },
    {  
        "file":"\/usr\/local\/zend\/gui\/vendor\/ZF2\/library\/Zend\/EventManager\/EventManager.php",
        "line":444,
        "function":"call_user_func",
        "args":[  
            [  
                {  

                },
                "onDispatch"
            ],
            {  

            }
        ]
    },
    {  
        "file":"\/usr\/local\/zend\/gui\/vendor\/ZF2\/library\/Zend\/EventManager\/EventManager.php",
        "line":205,
        "function":"triggerListeners",
        "class":"Zend\\EventManager\\EventManager",
        "type":"-\u003E",
        "args":[  
            "dispatch",
            {  

            },
            {  

            }
        ]
    },
    {  
        "file":"\/usr\/local\/zend\/gui\/vendor\/ZF2\/library\/Zend\/Mvc\/Application.php",
        "line":314,
        "function":"trigger",
        "class":"Zend\\EventManager\\EventManager",
        "type":"-\u003E",
        "args":[  
            "dispatch",
            {  

            },
            {  

            }
        ]
    },
    {  
        "file":"\/usr\/local\/zend\/gui\/public\/index.php",
        "line":23,
        "function":"run",
        "class":"Zend\\Mvc\\Application",
        "type":"-\u003E",
        "args":[  

        ]
    }
]

}
`

@SmiffyKMc
Copy link

Has anyone been able to solve this? I'm going mad trying all the versions and nothing is working.

@vbogoev
Copy link

vbogoev commented Apr 9, 2019

Still doesn't work...

@andrus7k
Copy link
Contributor

Please try zend/php-zendserver image, we are in proccess of releasing updated official images.

@andrus7k
Copy link
Contributor

The official images also got updated.

@pizzo90
Copy link

pizzo90 commented Aug 29, 2019

Hi to all,

In the latest tag or in 2019.0 It seems like a bug for missing file on run startup file:
/usr/local/bin/run: line 30: /usr/local/clear_empty_db.php: No such file or directory
then one search:
find / -name "clear_empty_db.php"
have no result

so i guess there one missing file in the pushed images.

the 9.1 seems working

@agarraud
Copy link

agarraud commented Dec 3, 2019

Hi to all,

I have a same problem, you have a solution ?

With version Version 2019.0.1+b335 i don't have problem
But this bug is present with version Version 2019.0.3+b345 commited 22 days ago

@woland0789
Copy link

woland0789 commented Apr 14, 2020

With version Version 2019.0.1+b335 i don't have problem

How to load Version 2019.0.1+b335. Version 2019.0.3+b345 still does not work.

@rainviigipuu
Copy link
Collaborator

There was 2019.0.4 release of Zend Server. You can try zend/php-zendserver image right now. I will try to get the official images updates as well.

@agarraud
Copy link

There was 2019.0.4 release of Zend Server. You can try zend/php-zendserver image right now. I will try to get the official images updates as well.

Yes it's good thanks

@agarraud
Copy link

With version Version 2019.0.1+b335 i don't have problem

How to load Version 2019.0.1+b335. Version 2019.0.3+b345 still does not work.

I don't load the old version, but 3 days before the modification, i created a docker and it worked

@agarraud
Copy link

There was 2019.0.4 release of Zend Server. You can try zend/php-zendserver image right now. I will try to get the official images updates as well.

I answered too quickly

% docker run -p 88:80 -p 10088:10081 zend/php-zendserver
Zend Server initialization result: success.
Zend Server is ready for use
Your application is available at http://172.17.0.3
To access Zend Server, navigate to http://172.17.0.3:10081
Your admin password is XXXX

This is good, ZS Gui it's good but i have a message "Webserver is not responding"

curl http://127.0.0.1:88
curl: (52) Empty reply from server

@rainviigipuu
Copy link
Collaborator

There was an issue about the webserver not starting. It should be fixed now. zend/php-zendserver image is updated.

@rainviigipuu
Copy link
Collaborator

Official images are updated as well now.

@evsheffield
Copy link

Sorry to be commenting on an already closed issue, but by any chance have more issues surfaced with the official image? We have a dockerfile based on the official 2019.0 tag that had been working last I worked with it in August 2020 but now is having the same issue originally mentioned here. It looks like there have been some significant changes to how the images are constructed in the zend/php-zendserver images so it seems like we can't switch over to using that as a base without needing to rework our setup.

For example, when I run docker run -p 10081:10081 -p 80:80 php-zendserver:2019.0 I get the following output:

Error: HTTP code 500
Zend Server initialization result: failed.
Zend Server is ready for use
Your application is available at http://172.17.0.2
To access Zend Server, navigate to http://172.17.0.2:10081
Your admin password is YzExNWNk

Manual set up with the wizard also fails as originally described here. Any guidance would be much appreciated!

@rainviigipuu
Copy link
Collaborator

Thank you for reaching out.
The update for the official images is in works and will remove the problem you are having right now. The official images will stay the same as they were before for now - so at least right now you don't have to rework your setup.
I keep that thread updated when the the problem should be gone in official images.

@rainviigipuu rainviigipuu reopened this Feb 5, 2021
@aareki
Copy link

aareki commented Mar 16, 2023

Is this still resolved yet? I have been experiencing the same issue with Version 2019.0.1+b335. Version 2019.0.3+b345.

In addition to that, how can I get the Zend Server package for PHP 7.3?

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