You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reboot your server to confirm S3 Object Storage is mounted correctly.
267
+
Parameters are explained below:
277
268
278
-
Create Lychee's mount point:
269
+
-`allow_other` Allow other users to access the bucket
270
+
-`mp_umask` Mask permissions for mount point
271
+
-`enable_noobj_cache` Performance improvement - Enable when bucket is exclusively used by s3fs
272
+
-`use_cache=""` Disabled
273
+
-`use_cache=/var/cache/s3fs` Enabled (to be used with care, because the cache can grow out of control. Also, I haven't noticed much difference using it)
274
+
279
275
280
-
```
276
+
Reboot your server to confirm S3 Object Storage is mounted correctly.
277
+
Create Lychee's mount point:
278
+
```bash
281
279
sudo mkdir /mnt/bucket/uploads
282
280
```
283
281
284
282
### Create and run Lychee container
285
-
From now on, Lychee will see the Object Storage mount transparently like any other mount. The container's volume `/uploads` needs to point to the new created mount:
283
+
From now on, Lychee will see the Object Storage mount transparently like any other mount.
284
+
The container's volume `/uploads` needs to point to the new created mount:
To avoid latency when clicking Diagnostics, my suggestion is to disable BasicPermissionCheck. Otherwise, depending on the number of photos in your gallery, this task can take hours.
Install composer in `/var/www/Lychee` as instructed in [here](https://getcomposer.org/download/). Then, from `/var/www/Lychee`, install the project dependencies:
324
+
Install composer in `/var/www/Lychee` as instructed in [here](https://getcomposer.org/download/).
325
+
Then, from `/var/www/Lychee`, install the project dependencies:
Link `https://my.url/photos/` to `/var/www/Lychee/public` by adding the following to your Apache configuration for Aliases. In Apache 2.4 running on Debian, the correct configuration file is `/etc/apache2/mods-available/alias.conf`.
333
+
Link `https://my.url/photos/` to `/var/www/Lychee/public` by adding the following to your Apache configuration for Aliases.
334
+
In Apache 2.4 running on Debian, the correct configuration file is `/etc/apache2/mods-available/alias.conf`.
333
335
334
336
```apacheconf
335
337
Alias /photos /var/www/Lychee/public
@@ -349,7 +351,8 @@ sudo service apache2 restart
349
351
350
352
### Configure Lychee
351
353
352
-
At this point, you should be able to go to `https://my.url/photos/` and run the web installer. During the installation procedure, on top of adding the database credentials to match your setup, set your `APP_URL` to the served subdirectory:
354
+
At this point, you should be able to go to `https://my.url/photos/` and run the web installer.
355
+
During the installation procedure, on top of adding the database credentials to match your setup, set your `APP_URL` to the served subdirectory:
0 commit comments