port db update improvements from zap

This commit is contained in:
Mario Vavti
2019-05-03 15:13:13 +02:00
parent 98b6362c07
commit 1da4602567
4 changed files with 67 additions and 9 deletions

View File

@@ -1,13 +1,22 @@
Hey,
I'm the web server at {{$sitename}};
Apologies but this may be urgent.
This is the web server at {{$sitename}};
The Hubzilla developers released update {{$update}} recently,
but when I tried to install it, something went terribly wrong.
The project developers released update {{$update}} recently,
but during the attempt to automatically install it, something went terribly wrong.
This needs to be fixed soon and it requires human intervention.
Please contact a project developer if you can not figure out how to
fix it on your own. My database might be invalid.
fix it on your own. Your web server database configuration might be invalid.
The error message is '{{$error}}'.
You may attempt to re-apply this update by visiting
{{$baseurl}}/admin/dbsync
while logged into the admin account.
{{$source}}
Apologies for the inconvenience,
your web server at {{$siteurl}}
your web server at {{$siteurl}}

View File

@@ -9,6 +9,7 @@
<h4>{{$f}}</h4>
<ul>
<li><a href="{{$base}}/admin/dbsync/mark/{{$f}}">{{$mark}}</a></li>
<li><a href="{{$base}}/admin/dbsync/verify/{{$f}}">{{$verify}}</a></li>
<li><a href="{{$base}}/admin/dbsync/{{$f}}">{{$apply}}</a></li>
</ul>