blob: 2be2f3ee654d137548e7aa40b0b049a8bf2e1440 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
#(forwardToSteering)#::<meta http-equiv="REFRESH" content="0; url=/Steering.html?update=1&releaseinstall=#[release]#" />#(/forwardToSteering)#
<title>YaCy '#[clientname]#': System Update</title>
#%env/templates/metas.template%#
</head>
<body style="margin:0px;">
#%env/templates/header.template%#
#%env/templates/submenuMaintenance.template%#
<h2>System Update</h2>
#(deploys)#::Release will be installed. Please wait.#(/deploys)#
#(candeploy)#
This servlet can only be used on operation systems that are currently supported for deploy functions.
If you see this message this means that your operation system is not supported.
::
<fieldset>
<legend>Manual System Update</legend>
<dl>
<dt>Current installed Release</dt>
<dd>#[versionpp]#</dd>
<dt><br />Available Releases (<a href="https://github.com/yacy/yacy_search_server/commits/master" target="_blank">changelog</a> and <a href="https://github.com/yacy/yacy_search_server/commits/master.atom" target="_blank"><img width="16" height="16" src="env/grafics/rss.png"> RSS feed</a>)</dt>
<dd><form action="ConfigUpdate_p.html" method="get" accept-charset="UTF-8"><p>
<select name="releasedownload">
#{availreleases}#
<option #(selected)#::selected="selected"#(/selected)# value="#[url]#">#[name]# #(signatures)#(unsigned)::(signed)#(/signatures)#</option>
#{/availreleases}#
</select>
<input type="submit" name="downloadRelease" class="btn btn-primary" value="Download Release"/>
<input type="submit" name="checkRelease" class="btn btn-default" value="Check for new Release"/>
#(downloadError)#::
<div class="error">Download of release #[releasedownload]# failed.</div>
#(/downloadError)#
</p></form></dd>
<dt><br />Downloaded Releases</dt>
<dd><form action="ConfigUpdate_p.html" method="get" accept-charset="UTF-8"><p>
#(downloadsAvailable)#
No downloaded releases available for deployment.
::
<select name="releaseinstall">
#(/downloadsAvailable)#
#{downloadedreleases}#
<option #(selected)#::selected="selected"#(/selected)# value="#[file]#">#[name]# #(signature)#(no signature)::(signed)#(/signature)#</option>
#{/downloadedreleases}#
#(downloadsAvailable)#::</select>#(/downloadsAvailable)#
#(deployenabled)#::no automated installation on development environments::
<input type="submit" name="update" class="btn btn-primary" value="Install Release" #(buttonsActive)#disabled="disabled"::#(/buttonsActive)#/>
<input type="submit" name="deleteRelease" class="btn btn-danger" value="Delete Release" #(buttonsActive)#disabled="disabled"::#(/buttonsActive)#/>
#(/deployenabled)#
</p></form></dd>
<dt><br />Automatic Update</dt>
<dd><form action="ConfigUpdate_p.html" method="get" accept-charset="UTF-8"><p>
check for new releases, download if available and restart with downloaded release<br />
<input type="submit" name="autoUpdate" class="btn btn-primary" value="Check + Download + Install Release Now" /><br />
#(autoUpdate)#::
<div class="commit">Download of release #[downloadedRelease]# finished. Restart Initiated.</div>::
<div class="error">No more recent release found.</div>::
<div class="error">Omitting update because this is a development environment.</div>::
<div class="error">Omitting update because download of release #[downloadedRelease]# failed.</div>::
<div class="error">Omitting update because an error occurred while trying to deploy the release.</div>
#(/autoUpdate)#
</p></form></dd>
</dl>
</fieldset>
<form action="ConfigUpdate_p.html" method="get" accept-charset="UTF-8">
<fieldset>
<legend>Automated System Update</legend>
<dl>
<dt>
manual update <input type="radio" name="updateMode" value="manual" #(manualUpdateChecked)#::checked="checked" #(/manualUpdateChecked)#/>
</dt>
<dd>
no automatic look-up, updates can be made manually using this interface (see options above)<br /><br />
</dd>
<dt>
automatic update <input type="radio" name="updateMode" value="auto" #(autoUpdateChecked)#::checked="checked" #(/autoUpdateChecked)#/>
</dt>
<dd>
updates are made within fixed cycles:
<fieldset>
<dl>
<dt>Time between lookup</dt>
<dd><input type="text" name="cycle" value="#[cycle]#" size="4" maxlength="4" />hours</dd>
<dt>Release blacklist</dt>
<dd><input type="text" name="blacklist" value="#[blacklist]#" size="20" maxlength="20" />(regex on release number strings)</dd>
<dt>Release type</dt>
<dd>
<input type="radio" name="releaseType" value="main" #(releaseTypeMainChecked)#::checked="checked" #(/releaseTypeMainChecked)#/>only main releases
<input type="radio" name="releaseType" value="any" #(releaseTypeAnyChecked)#::checked="checked" #(/releaseTypeAnyChecked)#/>any release including developer releases
</dd>
</dl>
</fieldset>
</dd>
<dt>
Signed autoupdate:
</dt>
<dd>
<input type="checkbox" name="onlySignedFiles" value="true" #(onlySignedFiles)#::checked="checked" #(/onlySignedFiles)#/>
only accept signed files
</dd>
<dt><input type="submit" name="configSubmit" class="btn btn-primary" value="Submit" /></dt>
<dd>#(configCommit)# ::<div class="commit">Accepted Changes.</div>#(/configCommit)#</dd>
</dl>
</fieldset>
</form>
<fieldset>
<legend>System Update Statistics</legend>
<dl>
<dt>Last System Lookup</dt><dd><p>#(lastlookup)#never::#[time]##(/lastlookup)#</p></dd>
<dt>Last Release Download</dt><dd><p>#(lastdownload)#never::#[time]##(/lastdownload)#</p></dd>
<dt>Last Deploy</dt><dd><p>#(lastdeploy)#never::#[time]##(/lastdeploy)#</p></dd>
</dl>
</fieldset>
::
<p>You installed YaCy with a package manager. To update YaCy, use the package manager:</p>
<p>manual update:<br/>apt-get update && apt-get install yacy</p>
<p>automatic update: add the following line to /etc/crontab<br/>0 6 * * * root apt-get update && apt-get -y --force-yes install yacy</p>
::
<p>YaCy has been installed to the Program Files directory. Automatic update is not possible.<br/>Download and install the latest version from the web page <a href="http://www.yacy.net/" target="_blank">http://www.yacy.net/</a></p>
::
#(/candeploy)#
#%env/templates/footer.template%#
</body>
</html>
|