Your version:
$localversion
{{ if $needupdate }}
New version:
$remoteversion
{{ if $canwrite }}
{{ else }}

Your friendica installation is not writable by web server.

{{ if $canftp }}

You can try to update via FTP

{{ inc field_input.tpl with $field=$ftphost }}{{ endinc }} {{ inc field_input.tpl with $field=$ftppath }}{{ endinc }} {{ inc field_input.tpl with $field=$ftpuser }}{{ endinc }} {{ inc field_password.tpl with $field=$ftppwd }}{{ endinc }}
{{ endif }} {{ endif }}
{{ else }}

No updates

{{ endif }}