35 Commits

Author SHA1 Message Date
f0o
9ca926b9c6 SQLs are performed up to an execution time of 45s, then a page reload is induced to avoid fcgi/cgi/modphp timeouts. 2015-09-02 15:30:51 +01:00
f0o
501cf5a6ef Present all output+errors at the end 2015-09-02 15:30:21 +01:00
f0o
e64d145bf1 Gracefully break update 2015-09-02 15:29:10 +01:00
f0o
ca0f9ea2f9 Avoid useless I/O 2015-09-02 15:29:07 +01:00
f0o
2fd423f9fc Revert build.sql
Make update.php responsive
2015-09-02 15:29:06 +01:00
f0o
19059412da Make installer more responsive
Update each schema in update.php after applying
Packaged new build.sql bundling all updates up to 067
2015-09-02 15:29:02 +01:00
f0o
da9e071d7d Revert all PHP-Based MySQL Locks introduced in #1584 2015-09-02 14:46:42 +01:00
f0o
e11f613bdd Pause polling and discovery if there's an update-lock 2015-09-01 14:14:50 +01:00
f0o
ccfdddeae6 Added lock release for schema updates even if it gets aborted or received sigterm 2015-09-01 12:41:38 +01:00
f0o
29887af376 Remain PHP Backwards compatibility 2015-08-26 08:44:15 +01:00
33baea6d6a release schema lock 2015-08-25 11:35:25 -04:00
38af8b4c4c return instead of exit 2015-08-25 11:35:25 -04:00
d9efadb441 fix bailout comparison 2015-08-25 11:35:25 -04:00
e74a6db216 move lock checks after bail out 2015-08-25 11:35:25 -04:00
c5fcb87b51 bail if schema is already up to date 2015-08-25 11:35:24 -04:00
1379a13c76 wait for all locks to be free when updating schema 2015-08-25 11:35:24 -04:00
86e0f42dc7 bail out if we can't get a lock on schema_update 2015-08-25 11:35:24 -04:00
4792879ce5 Remove all unneeded if($debug)-statements and replace them with d_echo in the rest of the directories... 2015-08-21 16:10:01 +02:00
laf
a8c03ca786 Last fix 2015-08-12 19:55:37 +00:00
laf
4b49c148b6 Added mysqli support 2015-08-08 19:27:18 +00:00
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
laf
02792176fa Updated most files to use dbFacile 2014-03-12 22:21:33 +00:00
e490d32489 fix sql-schema update (derp)
git-svn-id: http://www.observium.org/svn/observer/trunk@3162 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-10 14:45:34 +00:00
c5e0f51ba2 don't show known errors for old sql updates
git-svn-id: http://www.observium.org/svn/observer/trunk@2886 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-08 10:25:22 +00:00
55c755e45f sigh
git-svn-id: http://www.observium.org/svn/observer/trunk@2883 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-05 21:39:07 +00:00
86697feede attempt to fix sql update issues
git-svn-id: http://www.observium.org/svn/observer/trunk@2882 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-05 10:00:31 +00:00
3ea756ae1b fix database upgrade path
git-svn-id: http://www.observium.org/svn/observer/trunk@2879 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-19 18:41:53 +00:00
cfb886a394 fix initial install issues with new sql updater
git-svn-id: http://www.observium.org/svn/observer/trunk@2878 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-19 17:14:57 +00:00
5ef2c689ba correctly run all sql update files for older revisions
git-svn-id: http://www.observium.org/svn/observer/trunk@2875 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-17 09:33:49 +00:00
6a6ee9cb7f fixes to graph widths
git-svn-id: http://www.observium.org/svn/observer/trunk@2874 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-17 00:19:18 +00:00
6494b0603b allow sql update to be run from commandline, remove now-bogus comment from menubar
git-svn-id: http://www.observium.org/svn/observer/trunk@2873 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-16 23:18:49 +00:00
06c25fe703 yay, fixed, finally...
git-svn-id: http://www.observium.org/svn/observer/trunk@2870 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-16 14:07:26 +00:00
753ddf82d3 more fix
git-svn-id: http://www.observium.org/svn/observer/trunk@2869 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-16 14:01:27 +00:00
c6815d8dd8 umm, fix sql update commit?
git-svn-id: http://www.observium.org/svn/observer/trunk@2868 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-16 13:50:21 +00:00
e4a8e284c0 new system for sql updates -- PLEASE BACK UP YOUR DATABASE BEFORE UPGRADING (yes, it's upgrade-tested on different systems, but better safe than sorry)
git-svn-id: http://www.observium.org/svn/observer/trunk@2867 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-16 12:19:40 +00:00