X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=docs%2Fde%2Fuser%2Fupgrade.rst;h=76faa4e26c31004cc1429751b2b96e6c0905bc64;hb=a7c8f5457014f5dd6370323e9aad61d0d08848ee;hp=51cdf0554b622155ef3a59de8ca3b6eba484a94a;hpb=80aee45fa865ea72034dc8712967d4e787f70043;p=github%2Fwallabag%2Fwallabag.git diff --git a/docs/de/user/upgrade.rst b/docs/de/user/upgrade.rst index 51cdf055..76faa4e2 100644 --- a/docs/de/user/upgrade.rst +++ b/docs/de/user/upgrade.rst @@ -13,30 +13,44 @@ Upgrade von 2.1.x zu 2.2.x Upgrade auf einem dedizierten Webserver ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +**Von 2.1.x:** + :: make update + php bin/console doctrine:migrations:migrate --no-interaction -e=prod + +**Von 2.2.0:** -Explanations about database migrations -"""""""""""""""""""""""""""""""""""""" +:: + + make update -During the update, we execute database migrations. +Erklärungen über die Datenbankmigration +""""""""""""""""""""""""""""""""""""""" -All the database migrations are stored in ``app/DoctrineMigrations``. You can execute each migration individually: -``bin/console doctrine:migrations:migrate 20161001072726 --env=prod``. +Während des Updates migrieren wir die Datenbank. -Here is the migrations list for 2.1.x to 2.2.0 release: +Alle Datenbankmigrationen sind im Verzeichnis ``app/DoctrineMigrations`` gespeichert. Jede von ihnen kann einzeln ausgeführt werden: +``bin/console doctrine:migrations:execute 20161001072726 --env=prod``. -* ``20161001072726``: added foreign keys for account resetting -* ``20161022134138``: converted database to ``utf8mb4`` encoding (for MySQL only) -* ``20161024212538``: added ``user_id`` column on ``oauth2_clients`` to prevent users to delete API clients from other users -* ``20161031132655``: added the internal setting to enable/disable downloading pictures -* ``20161104073720``: added ``created_at`` index on ``entry`` table -* ``20161106113822``: added ``action_mark_as_read`` field on ``config`` table -* ``20161117071626``: added the internal setting to share articles to unmark.it -* ``20161118134328``: added ``http_status`` field on ``entry`` table -* ``20161122144743``: added the internal setting to enable/disable fetching articles with paywall -* ``20161122203647``: dropped ``expired`` and ``credentials_expired`` fields on ``user`` table +Dies ist die Migrationsliste von 2.1.x auf 2.2.0: + +* ``20161001072726``: Fremdschlüssel für das Zurücksetzen des Kontos hinzugefügt +* ``20161022134138``: Datenbank zum ``utf8mb4``-Encoding ändern (nur für MySQL) +* ``20161024212538``: ``user_id``-Spalte zu ``oauth2_clients`` hinzugefügt, um Benutzer davon abzuhalten, API-Clients anderer Nutzer zu löschen +* ``20161031132655``: Interne Einstellung für das (de-)aktivieren vom Bilder-Download hinzugefügt +* ``20161104073720``: ``created_at``-Index zur ``entry``-Tabelle hinzugefügt +* ``20161106113822``: ``action_mark_as_read``-Feld zur ``config``-Tabelle hinzugefügt +* ``20161117071626``: Interne Einstellung zum Teilen mit unmark.it hinzugefügt +* ``20161118134328``: ``http_status``-Feld zur ``entry``-Tabelle hinzugefügt +* ``20161122144743``: Interne Einstellung für das (de-)aktivieren zum Holen von Artikeln mit einer Paywall hinzugefügt +* ``20161122203647``: ``expired``- und ``credentials_expired``-Feld aus der ``user``-Tabelle entfernt +* ``20161128084725``: added ``list_mode`` field on ``config`` table +* ``20161128131503``: dropped ``locked``, ``credentials_expire_at`` and ``expires_at`` fields on ``user`` table +* ``20161214094402``: renamed ``uuid`` to ``uid`` on ``entry`` table +* ``20161214094403``: added ``uid`` index on ``entry`` table +* ``20170127093841``: added ``is_starred`` and ``is_archived`` indexes on ``entry`` table Upgrade auf einem Shared Hosting ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -47,7 +61,7 @@ Lade das letzte Release von wallabag herunter: .. code-block:: bash - wget http://wllbg.org/latest-v2-package && tar xvf latest-v2-package + wget https://wllbg.org/latest-v2-package && tar xvf latest-v2-package Du findest den `aktuellen MD5-Hash auf unserer Webseite `_. @@ -59,10 +73,9 @@ Falls du SQLite nutzt, musst du außerdem deinen ``data/``-Ordner in die neue In Leere den ``var/cache``-Ordner. -Du musst einige SQL-Abfragen durchführen, um deine Datenbank zu aktualisieren. Wir gehen in diesem Fall davon aus, dass das Tabellenpräfix ``wallabag_`` ist und eine MySQL-Datenbank verwendet wird: - -.. code-block:: sql +Du musst einige SQL-Abfragen durchführen, um deine Datenbank zu aktualisieren. Wir gehen in diesem Fall davon aus, dass das Tabellenpräfix ``wallabag_`` ist. +`You can find all the queries here `_. Upgrade von 2.0.x zu 2.1.1 ---------------------------