{"id":5322,"date":"2019-06-29T09:28:31","date_gmt":"2019-06-29T07:28:31","guid":{"rendered":"https:\/\/www.bdjl.de\/localhost\/?p=5322"},"modified":"2019-06-29T09:30:04","modified_gmt":"2019-06-29T07:30:04","slug":"riot","status":"publish","type":"post","link":"https:\/\/www.bdjl.de\/localhost\/?p=5322","title":{"rendered":"Webriot Update Notizzettel"},"content":{"rendered":"<p>Eine Notiz f\u00fcr mich bez\u00fcglich des Updates von Webriot:<\/p>\n<p>Aktuelle Version <a href=\"https:\/\/github.com\/vector-im\/riot-web\/releases\">https:\/\/github.com\/vector-im\/riot-web\/releases<\/a> herunter laden und auspacken:<\/p>\n<p><code>wget https:\/\/github.com\/vector-im\/riot-web\/releases\/download\/...<br \/>\ntar xzf riot-versionnumber.tar.gz <\/code><\/p>\n<p>Benutzer und Rechte anpassen:<\/p>\n<p><code>chown -R www-data.www-data riot-versionumber<br \/>\nchmod -R 750 riot-versionnumber<\/code><\/p>\n<p>Die config Datei aus dem bisherigen Verzeichnis kopieren, evtl. auch vergleichen mit der frisch mitgelieferten und notwendige Anpassungen vornehmen:<\/p>\n<p><code>cd riot-version\/<br \/>\ncp -p \/var\/www\/riotwebroot.tld\/config.json .<\/code><\/p>\n<p>In das Webverzeichnis von Riot wechseln:<\/p>\n<p><code>cd \/var\/www\/<br \/>\nmv \/root\/riot-versionnumber .<\/code><\/p>\n<p>Den Symlink zum Webriotverzeichnis frisch setzen:<\/p>\n<p><code>rm riotwebroot.tld<br \/>\nln -s riot-versionnumber\/ riotwebroot.tld<\/code><\/p>\n<p>Die Weboberfl\u00e4che aufrufen und pr\u00fcfen, was schief ging (meistens nix).<\/p>\n<p>Hintergrund ist <em>\/etc\/nginx\/conf.d\/matrix.conf<\/em> mit dem folgenden Inhalt:<\/p>\n<p><code><br \/>\nserver {<br \/>\nlisten 443 ssl;<br \/>\nserver_name sub.domain.tld1;<br \/>\nroot \/var\/www\/sub.domain.tld1;<\/code><\/p>\n<p>ssl_certificate \/etc\/letsencrypt\/live\/sub.domain.tld1\/fullchain.pem;<br \/>\nssl_certificate_key \/etc\/letsencrypt\/live\/sub.domain.tld1\/privkey.pem;<br \/>\nssl_protocols TLSv1 TLSv1.1 TLSv1.2;<br \/>\nssl_ciphers HIGH:!aNULL:!MD5;<\/p>\n<p>location \/_matrix {<br \/>\nproxy_pass http:\/\/127.0.0.1:8008;<br \/>\nproxy_set_header X-Forwarded-For $remote_addr;<br \/>\n}<br \/>\n}<\/p>\n<p>server {<br \/>\nlisten 443 ssl;<br \/>\nserver_name riotwebroot.tld;<br \/>\nroot \/var\/www\/riotwebroot.tld;<\/p>\n<p>ssl_certificate \/etc\/letsencrypt\/live\/riotwebroot.tld\/fullchain.pem;<br \/>\nssl_certificate_key \/etc\/letsencrypt\/live\/riotwebroot.tld\/privkey.pem;<br \/>\nssl_protocols TLSv1 TLSv1.1 TLSv1.2;<br \/>\nssl_ciphers HIGH:!aNULL:!MD5;<\/p>\n<p>}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eine Notiz f\u00fcr mich bez\u00fcglich des Updates von Webriot: Aktuelle Version https:\/\/github.com\/vector-im\/riot-web\/releases herunter laden und auspacken: wget https:\/\/github.com\/vector-im\/riot-web\/releases\/download\/&#8230; tar xzf riot-versionnumber.tar.gz Benutzer und Rechte anpassen: chown -R www-data.www-data riot-versionumber chmod -R 750 riot-versionnumber Die config Datei aus dem bisherigen Verzeichnis kopieren, evtl. auch vergleichen mit der frisch mitgelieferten und notwendige Anpassungen vornehmen: cd riot-version\/ cp [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[598,603,602],"class_list":["post-5322","post","type-post","status-publish","format-standard","hentry","category-linux","tag-matrix","tag-nginx","tag-riot"],"_links":{"self":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5322"}],"version-history":[{"count":7,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5322\/revisions"}],"predecessor-version":[{"id":5329,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/5322\/revisions\/5329"}],"wp:attachment":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}