-
Notifications
You must be signed in to change notification settings - Fork 294
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
Baikal Upgrade Problem #665
Comments
Are you trying to upgrade from 0.2.7 to 0.4.6 and you get this white page on 0.4.6 only? |
I had the very same issue when upgrading my installation from 0.2.7. You need to raise the maximum execution time. Otherwise, the script will be stopped after 30s in the middle of the upgrade process and your data will be corrupted. This gets worse with each entry you have in the database. So, restore your backup, raise maximum execution time a lot and run the upgrade script again. |
Thank you very much for your help. Embarrassingly, I have to ask how and
where I do that? I am not very fix with Linux.
Am 25.01.2017 um 13:42 schrieb derStephan:
…
I had the very same issue when upgrading my installation from 0.2.7.
You need to raise the maximum execution time. Otherwise, the script
will be stopped after 30s in the middle of the upgrade process and
your data will be corrupted.
This gets worse with each entry you have in the database.
So, restore your backup, raise maximum execution time a lot and run
the upgrade script again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#665 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYIxK7-WEKJs5u4eHCmIQHb6yrqNeZlNks5rV0MYgaJpZM4LrmIR>.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/fruux/Baikal","title":"fruux/Baikal","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open
in
***@***.***
in #665: I had the very same issue when upgrading my installation from
0.2.7. You need to raise the maximum execution time. Otherwise, the
script will be stopped after 30s in the middle of the upgrade process
and your data will be corrupted. \r\n\r\nThis gets worse with each
entry you have in the database. \r\n\r\nSo, restore your backup, raise
maximum execution time a lot and run the upgrade script again.
"}],"action":{"name":"View
Issue","url":"#665 (comment)"}}}
|
thank you for responding.
- Yes
- No.
- DSM 6.0.2-8451 Update 9
- PHP 5.6
Am 25.01.2017 um 00:01 schrieb Erik:
…
Are you trying to upgrade from 0.2.7 to 0.4.6 and you get this white
page on 0.4.6 only?
Did you ever made a fix in Core/Frameworks/Flake/Framework.php of 0.2.7 ?
Which DSM version are you running on your Synology?
Which php version ? (php -v)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#665 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYIxK2S6sAw_2Go84HJ7_dUdkoutno5yks5rVoLPgaJpZM4LrmIR>.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/fruux/Baikal","title":"fruux/Baikal","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open
in
***@***.***
in #665: Are you trying to upgrade from 0.2.7 to 0.4.6 and you get
this white page on 0.4.6 only?\r\nDid you ever made a fix in
Core/Frameworks/Flake/Framework.php of 0.2.7 ?\r\nWhich DSM version
are you running on your Synology?\r\nWhich php version ? (php
-v)"}],"action":{"name":"View
Issue","url":"#665 (comment)"}}}
|
@Mrres58 To change the maximum execution time you have to edit php.ini and then, in some cases, restart your webserver. Where this file is depends... on mine it is at |
@Mrres58 If you have no access to your PHP configuration on your NAS, try adding
to line 1 in the baikal-file /html/admin/install/index.php right after Then run your upgrade and be patient. @evert May I suggest to add something like this to the official file in the repository? If this is allowed, then everyting is fine. If not, it will just fail silently without doing any harm. |
Hello and thanks for your advice. I found a tool on my synology which
allows me to edit various php settings. I set the maximum execution time
up from 240 to 24000. I did not notice any change afterwards. The white
page still comes and there is no indication that anything is happening.
How long did it take for you? Did you have to restart your webserver for
the changes to take effect? I'm thinking of doing a new installation. If
I were, and then copy my databank into the new installation, do you
think that would work?
Am 26.01.2017 um 07:56 schrieb derStephan:
…
@Mrres58 <https://github.com/Mrres58> If you have no access to your
PHP configuration on your NAS, try adding
|ini_set('max_execution_time', 3000); //3000 seconds = 50 minutes|
to line 1 in
/html/admin/install/index.php
right after |<?php|
Then run your upgrade and be patient.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#665 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYIxK33n1MIkkjBlx3_2AUSy2RWqCqehks5rWEOAgaJpZM4LrmIR>.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/fruux/Baikal","title":"fruux/Baikal","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open
in
***@***.***
in #665: @Mrres58 If you have no access to your PHP configuration on
your NAS, try adding\r\n\r\n``ini_set('max_execution_time', 3000);
//3000 seconds = 50 minutes``\r\n\r\n to line 1 in
\r\n\r\n/html/admin/install/index.php\r\n\r\nright after
``\u003c?php`` \r\n\r\nThen run your upgrade and be patient.
"}],"action":{"name":"View
Issue","url":"#665 (comment)"}}}
|
Have a look at this issue, maybe the solution works for you too: |
Try setting error reporting to E_ALL. So PHP-Errors will be shown.
Did you restore your backup before doing this? This is necessary in my opinion.
yes.
You can give it a try, but i think it is not enough to copy the sqLite-file. You have to copy the whole "Specific" folder. And even then, it will try to update the database schema. The only thing you could do is:
This may be some work but it is a good opportunity to clean everything up and get it all running without your specific problem. |
I somehow remember that those NAS systems use a very old libxml |
Closing this issue at it seems like it is answered. If there's still problems, don't hesitate commenting here. |
Hi. When I call up the baikal administration page in Firefox something like http://dav.example.org/baikal/html/admin/ I get a blank page. No error messages, just a plain white page. I have given everyone read/write permissions to the specific and db directories after copying the contents of the extracted baikal directory into my web directory. Currently I am running 0.2.7-001 on my synology. Thank you in advance for your help.
The text was updated successfully, but these errors were encountered: