-
Notifications
You must be signed in to change notification settings - Fork 544
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
Unable to install. when I get to the installation phase, it gets to #1731
Comments
Hi @anwoke8204 We will look into this issue further. It's strange that the installer.log is missing. Something you could try in the meantime would be to check the timeout settings on your server. It could be that the migration request is timing out since certain migrations take a long time to complete. If you could also send another screenshot of your network tab open while you attempt the install it would speed up the process of solving the issue. To do this on Chrome:
|
Hello, I have max execution site and time out set to 60 seconds, here is
the screenshot requested:
[image: image.png]
…On Tue, Aug 8, 2023 at 11:26 PM devishke-orange ***@***.***> wrote:
Hi @anwoke8204 <https://github.com/anwoke8204>
We will look into this issue further. It's strange that the installer.log
is missing.
Something you could try in the meantime would be to check the timeout
<https://httpd.apache.org/docs/2.0/mod/core.html#timeout> settings on
your server. It could be that the migration request is timing out since
certain migrations take a long time to complete.
If you could also send another screenshot of your network tab open while
you attempt the install it would speed up the process of solving the issue.
To do this on Chrome:
1. On the "Confirmation" screen (step 7), right click on the page and
click "Inspect"
2. In the tab that appears choose "Network"
3. Start the install and take a screenshot of the whole browser after
the failure occurs
—
Reply to this email directly, view it on GitHub
<#1731 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZ6RUCJG4TYF35QKD6BZDLXUMNRXANCNFSM6AAAAAA3JOA7TE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hello I tried it with the mex execution time set to 300 as well, as per the
screenshot below:
[image: image.png]
but it still gets the error at 99%
…On Tue, Aug 8, 2023 at 11:48 PM Kacie Stevens ***@***.***> wrote:
Hello, I have max execution site and time out set to 60 seconds, here is
the screenshot requested:
[image: image.png]
On Tue, Aug 8, 2023 at 11:26 PM devishke-orange ***@***.***>
wrote:
> Hi @anwoke8204 <https://github.com/anwoke8204>
>
> We will look into this issue further. It's strange that the installer.log
> is missing.
>
> Something you could try in the meantime would be to check the timeout
> <https://httpd.apache.org/docs/2.0/mod/core.html#timeout> settings on
> your server. It could be that the migration request is timing out since
> certain migrations take a long time to complete.
>
> If you could also send another screenshot of your network tab open while
> you attempt the install it would speed up the process of solving the issue.
> To do this on Chrome:
>
> 1. On the "Confirmation" screen (step 7), right click on the page and
> click "Inspect"
> 2. In the tab that appears choose "Network"
> 3. Start the install and take a screenshot of the whole browser after
> the failure occurs
>
> —
> Reply to this email directly, view it on GitHub
> <#1731 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAZ6RUCJG4TYF35QKD6BZDLXUMNRXANCNFSM6AAAAAA3JOA7TE>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Hi @anwoke8204 It seems the screenshot has not been attached properly. Could you try increasing the timeout to a higher value and trying again? |
Hi again @anwoke8204 If increasing the timeout also does not work, you could give the CLI installer a try. Check this comment for reference: #1575 (comment) |
hey sorry for the delay, ill give the CLI installer a try tonight.
…On Wed, Aug 9, 2023 at 1:19 AM devishke-orange ***@***.***> wrote:
Hi again @anwoke8204 <https://github.com/anwoke8204>
If increasing the timeout also does not work, you could give the CLI
installer a try. Check this comment for reference: #1575 (comment)
<#1575 (comment)>
—
Reply to this email directly, view it on GitHub
<#1731 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZ6RUDTQSDEQLCKN6NMSJDXUM2WXANCNFSM6AAAAAA3JOA7TE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I get the same when following the docker install instructions here: https://github.com/orangehrm/orangehrm/wiki/How-to-Install-via-Docker-image Log file attached. |
using the CLI installer mentioned above worked for me. I now have it up
and running.
…On Thu, Aug 17, 2023 at 8:37 PM Matthew Hunt ***@***.***> wrote:
I get the same when following the docker install instructions here:
https://github.com/orangehrm/orangehrm/wiki/How-to-Install-via-Docker-image
Log file attached.
installer.log
<https://github.com/orangehrm/orangehrm/files/12374790/installer.log>
—
Reply to this email directly, view it on GitHub
<#1731 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZ6RUHU3V5ONSVKCESDGE3XV3IPXANCNFSM6AAAAAA3JOA7TE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @anwoke8204 that's great to hear. @morfran Thanks for including your installer log. Seems there's an SQL error occurring during the migrations. We'll look into it and get back to you |
CLI didn't work for me either, same issue:
In ExceptionConverter.php line 119: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1833 Cannot chan In Exception.php line 30: SQLSTATE[HY000]: General error: 1833 Cannot change column 'emp_number': used in a foreign key c In Connection.php line 34: SQLSTATE[HY000]: General error: 1833 Cannot change column 'emp_number': used in a foreign key c install:on-new-database |
Hi @morfran. We're still looking into this. For a temporary fix you could try downgrading to MariaDB 10.4.30 and try installing again. |
Hi @devishke-orange . when I tries to do Fresh Install OrangeHrm v5.5 It gives error as like below:
I tried to install it with MariaDB 10.6.15 and MariaDB 10.4.31 but still I'am getting same error. even also I tried to do install with cli
even also I tried to install OrangeHrm v5.4 but still getting same error.
Please Help me to complete fresh installation of OrangeHrm |
After the August release of MariaDB, the ability to alter tables after disabling
We have implemented a fix for this which will be available in our next release (sometime in October). You can view it here: #1736 If possible I'd recommend downgrading your database temporarily. If not you can copy the code over to your 5.5 version. |
Will the installation work perfectly with MariaDB 10.4.30? If it does, we can consider downgrading the database version |
You may have to disable |
we doesn't need to downgrade the Database. just replace changes of #1736 Pull Request OR see this commit. your issue will solve... but I wish to give feedback to Orange hrm team. please optimize the migration process it takes too much time. and when we tries to install it using UI it throw 524 HTTP Error after specific time. for by pass this time out we changed then after we tries to install it by CLI Command. finally It successfully completed. If any one face issue about HTTP 524 Error then try to install orange hrm setup by following CLI Command in Root of project dir:
|
Thanks for the feedback. Glad to hear you got the installation working. |
Hi all, The MariaDB install failure is fixed in OrangeHRM 5.6: https://github.com/orangehrm/orangehrm/releases/tag/v5.6 |
I'm closing this as the issue has been fixed. |
OrangeHRM version
5.5
Environment details
Describe the bug
when I get to the installation phase, it gets to 99% Request failed with status code 500. For more details check the error log in /src/log/installer.log file. however when I try to view that file there is nothing there. No matter what I do, I can't seem to get it past that error
To reproduce
run the installer again
Expected behavior
it should run through the install just fine.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: