X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2FUpdate.md;h=7f8a0fcae5bbf76051f1b446f1dc415ae6030e3d;hb=34463f37e4a3226709853bd3e35e6c22da45502c;hp=835dd3375dc3a08ca4e28f48f6b6113d5ac0ad99;hpb=66a103e36a42ab251fd9ca6c4b56b54380e4d535;p=friendica.git diff --git a/doc/Update.md b/doc/Update.md index 835dd3375d..7f8a0fcae5 100644 --- a/doc/Update.md +++ b/doc/Update.md @@ -6,8 +6,15 @@ Updating Friendica ## Using a Friendica archive If you installed Friendica in the ``path/to/friendica`` folder: + 1. Unpack the new Friendica archive in ``path/to/friendica_new``. -2. Copy ``config/local.ini.php``, ``photo/`` and ``proxy/`` from ``path/to/friendica`` to ``path/to/friendica_new``. +2. Copy the following items from ``path/to/friendica`` to ``path/to/friendica_new``: + * ``config/local.config.php`` + * ``proxy/`` +The following items only need to be copied if they are located inside your friendica path: + * your storage folder as set in **Admin -> Site -> File Upload -> Storage base path** + * your item cache as set in **Admin -> Site -> Performance -> Path to item cache** + * your temp folder as set in **Admin -> Site -> Advanced -> Temp path** 3. Rename the ``path/to/friendica`` folder to ``path/to/friendica_old``. 4. Rename the ``path/to/friendica_new`` folder to ``path/to/friendica``. 5. Check your site. Note: it may go into maintenance mode to update the database schema. @@ -21,7 +28,7 @@ You can get the latest changes at any time with cd path/to/friendica git pull - bin/composer.phar install + bin/composer.phar install --no-dev The addon tree has to be updated separately like so: @@ -69,4 +76,4 @@ DROP TABLE ; RENAME TABLE _new TO ; ``` -This method is slower overall, but it is better suited for large numbers of duplicates. \ No newline at end of file +This method is slower overall, but it is better suited for large numbers of duplicates.