Skip to content

Launch fail due to fatal error #14

Open

Description

@campbellrw

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

Activity

  1. lplume commented on Jan 22, 2019

    @lplume

    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]

  2. lplume commented on Jan 22, 2019

    @lplume

    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":[  
    
            ]
        }
    ]
    

    }
    `

  3. SmiffyKMc commented on Feb 22, 2019

    @SmiffyKMc

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

  4. vbogoev commented on Apr 9, 2019

    @vbogoev

    Still doesn't work...

  5. andrus7k commented on Apr 17, 2019

    @andrus7k
    Contributor

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

  6. andrus7k commented on Apr 25, 2019

    @andrus7k
    Contributor

    The official images also got updated.

  7. pizzo90 commented on Aug 29, 2019

    @pizzo90

    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

  8. agarraud commented on Dec 3, 2019

    @agarraud

    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

  9. woland0789 commented on Apr 14, 2020

    @woland0789

    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.

  10. rainviigipuu commented on Apr 14, 2020

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

  11. agarraud commented on Apr 14, 2020

    @agarraud

    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

  12. agarraud commented on Apr 14, 2020

    @agarraud

    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

  13. agarraud commented on Apr 14, 2020

    @agarraud

    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

  14. rainviigipuu commented on Apr 23, 2020

    @rainviigipuu
    Collaborator

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

  15. rainviigipuu commented on Apr 28, 2020

    @rainviigipuu
    Collaborator

    Official images are updated as well now.

  16. evsheffield commented on Feb 4, 2021

    @evsheffield

    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!

  17. rainviigipuu commented on Feb 5, 2021

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

  18. aareki commented on Mar 16, 2023

    @aareki

    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

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