I just uploaded version 0.5 to the Serendipity autoupdate Plugin, available via SPARTACUS tomorrow (**). It now has a nice GUI to follow the processing state of the automatic upgrade progress, which leads to the Serendipity Installer. Its fun to watch a nice run automatic update. You will soon have the opportunity to watch this by yourself, as the release of Serendipity 1.7-"Rolling Thunder" is not far away!
This autoupgrade Event Push is available through the current dashboard and also the inofficial dashboard "PoC" Plugin. The "PoC" version (*) does also support a blogs maintenance mode, which should work nice and safely with the upgrader.
(*) Users with Serendipity prior to 1.7 (RC) versions should go here https://github.com/ophian/serendipity_e ... ommits/1.6 to get a compatible version, else take the master branch.
(**) Spartacus for me worked best with github used as mirror(s), Netmirror.org was failing.
autoupdate revisited
autoupdate revisited
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: autoupdate revisited
Mental note to self: suggest a naming policy for s9y releases at the next devsprint.Timbalu wrote:as the release of Serendipity 1.7-"Rolling Thunder"
YL
Re: autoupdate revisited
It truly does, but due to the cores installation procession, the maintenance mode is kept only until the upgrade has finished and leds to the final upgrader url, so this last is open to public as ever. This is not what I originally intended to have, but may be worth to keep.Timbalu wrote:The "PoC" version (*) does also support a blogs maintenance mode, which should work nice and safely with the upgrader.
It would be nice to hear some comments about it and for sure also about the new updaters ui page!
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: autoupdate revisited
Update to v.0.6 - removed experimental status and revisited lang files
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: autoupdate revisited
Please note: If the Serendipty autoupdater gui ever stops with an error message during procession (this sometimes can happen while checking the integrity of files) you can just press RELOAD or F5 on your keyboard to get another run. This does not do any harm on the continued upgrade.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: autoupdate revisited
Pressing F5 on my Mac leads to a higher system volume… SCNR
Re: autoupdate revisited
I have done this often now and can say it works really nice everywhere. The only server where the gui progress does not happen to occur (being too fast?) are the Uberspace servers running CentOS. Does anyone have an idea why this happens there?
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: autoupdate revisited
I think this is because it uses FastCGI, the page does not even start to get flooded by progress messages.Timbalu wrote:I have done this often now and can say it works really nice everywhere. The only server where the gui progress does not happen to occur (being too fast?) are the Uberspace servers running CentOS. Does anyone have an idea why this happens there?
Can anyone confirm this behaviour?
And if that is the case, is there a workaround for using flush() & sleep() with this kind of setup?
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: autoupdate revisited
PHP DOC says:
but on uberspace my testscript only responded flushing with:
So I just committed this to autoupdate in the hope it will work on next update session. If anyone is able to update Serendipity on uberspace (or others using fastcgi and/or nginx) with this even earlier, please drop me a line about your experiences.
Edit: I added ob_flush() too.
I tried with some of these variationsflush() may not be able to override the buffering scheme of your web server and it has no effect on any client-side buffering in the browser. It also doesn't affect PHP's userspace output buffering mechanism. This means you will have to call both ob_flush() and flush() to flush the ob output buffers if you are using those.
Several servers, especially on Win32, will still buffer the output from your script until it terminates before transmitting the results to the browser.
Server modules for Apache like mod_gzip may do buffering of their own that will cause flush() to not result in data being sent immediately to the client.
Even the browser may buffer its input before displaying it. Netscape, for example, buffers text until it receives an end-of-line or the beginning of a tag, and it won't render tables until the </table> tag of the outermost table is seen.
Some versions of Microsoft Internet Explorer will only start to display the page after they have received 256 bytes of output, so you may need to send extra whitespace before flushing to get those browsers to display the page.
Code: Select all
In php.ini:
. output_buffering = Off
. zlib.output_compression = Off
In nginx.conf:
. gzip off;
. proxy_buffering off;
disable mod_security
echo str_repeat(" ", 1024), "\n"; at the start of the script.
output_handler =
zlib.output_handler =
ResponseBufferLimit=0
Code: Select all
ob_implicit_flush(1); and echo str_repeat(' ',1024*64);
Edit: I added ob_flush() too.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Re: autoupdate revisited
Yeah that works!
[fixed!]Btw, we are having troubles with Spartacus netmirror.org mirror - it does not hold the current files.
[fixed!]Btw, we are having troubles with Spartacus netmirror.org mirror - it does not hold the current files.
Regards,
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Ian
Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian