Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - Lychee

Featured Replies

Agreed.  So far, the best I've found is actually just using Emby, which I already use for audio/video

  • Replies 62
  • Views 34k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Hey i got problems with permissions with lychee installer.   i stuck on part 3 and i dont know where the folders are.    

  • I went back to 4.8.1. 

  • shpitz461
    shpitz461

    Bingo, 4.8.1 works for me as well, thanks!

Posted Images

Great docker.  Great app. 

Only two gripes. 

Unless I am missing it,  no way to create subfolders. 

Unless I'm missing it, the only way to view pics is large thumbnail view.   

I don't see a way to list via a smaller thumbnail view or list view. 

Am I right?

  • 6 months later...

Has anyone managed to get this working through a Nginx reverse proxy?

 

I've tried two methods based on setups I've used successfully for other containers with no luck.

 


#Lychee proxy attempt #1
location /lychee/ {
   proxy_pass http://192.168.178.25:8082;
   add_header X-Frame-Options SAMEORIGIN;
   proxy_set_header Host $host;
   proxy_set_header X-Forwarded-Host $server_name;
   proxy_set_header X-Real-IP $remote_addr;
   proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
   proxy_set_header X-Forwarded-Ssl on;
   proxy_set_header X-Forwarded-Proto $scheme;
   proxy_read_timeout 90;
   proxy_redirect http://192.168.178.25:8082 https://$host;
}

This first method results in the formatting looking all wrong. I'm guessing the CSS is not making it through. See Capture.PNG.

 

The second method:


#Lychee proxy attempt #2
location /lychee {
   proxy_pass http://192.168.178.25:8082/;
   proxy_set_header X-Lychee-Base "/lychee/";
   add_header X-Frame-Options SAMEORIGIN;
}

This method results in what looks like the right format but no site. See Capture2.PNG.

 

Any ideas on this please?

Thanks,

 

Tom

 

 

Capture.PNG

Capture2.PNG

  • 4 weeks later...
  • 3 months later...

The FAQ didn't seem to answer the question. Try this.

location ~ /lychee(/.*) {
   proxy_pass http://192.168.178.25:8082$1$is_args$args;
   proxy_set_header X-Lychee-Base "/lychee/";
   add_header X-Frame-Options SAMEORIGIN;
}

 

Edited by TwitchCaptain

Thanks for the suggestions. I ended up hosting it directly rather than in a VM, and it seems happy there.

 

Cheers.

  • 2 weeks later...

Hi can someone point to a resource that will help with this and indeed other dockers? I feel thick but why is so little information given. I have loaded this docker and when I hit the webgui it just returns to the unraid page? Perhaps because its gui is set to port 80, why is that?

 

Is there any resources on how to use these dockers because so many of them exhibit the same behavior, apparently they are running but I cannot access them, its extremely frustrating.

  • 5 weeks later...

I'm trying to make my Lychee website open to the public via LetsEncrypt and reverse proxy.

 

I've got the Lychee docker container using port 3080.

image.png.0f47a975ccb3825ed1d9aeea7df2b6c1.png

 

I've modified the existing lychee.subdomain.conf file to include a port number.

server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name lychee.*;

    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    # enable for ldap auth, fill in ldap details in ldap.conf
    #include /config/nginx/ldap.conf;

    location / {
        # enable the next two lines for http auth
        #auth_basic "Restricted";
        #auth_basic_user_file /config/nginx/.htpasswd;

        # enable the next two lines for ldap auth
        #auth_request /auth;
        #error_page 401 =200 /login;

        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
        set $upstream_lychee lychee;
        proxy_pass http://$upstream_lychee:3080;
    }
}

 

But when I try to access the page, all I get is a 502 error.

image.png.824c3c036ed33cea6c0d4e6d541c743e.png

 

Does anyone know what is going on?

1 hour ago, Genide said:

I've modified the existing lychee.subdomain.conf file to include a port number.


        proxy_pass http://$upstream_lychee:3080;

 

 

I don't think you need that port number. I don't have it and mine is working.

        proxy_pass http://$upstream_lychee;

 

 

9 hours ago, trurl said:

I don't think you need that port number. I don't have it and mine is working.

That did the trick. Removing the port number in lychee.subdomain.conf fixed it. ☺

  • 3 weeks later...

Looked interesting, got it running without much issue after creating my own database on an existing MariaDB instance.

 

Scared away by the destructive nature of the import, and doesn't seem like it supports RAW format.

The search for a decent photo management docker continues...

  • 2 months later...

Hello, Is there any intention to update the application?

Version 4 was released on the 18th of April bringing new features and fixes. Currently latest version is 4.06:

https://github.com/LycheeOrg/Lychee/releases

 

Thanks for the work, I really like the containers you guys make.

  • 1 month later...

Hi, would love to see an update for this too :)

  • 1 month later...

Hello everyone, I am new on unRaid. So sorry for my lack of basic knowledge. I have been trying to install lychee  since yesterday. After installing the docker, I run the WEbUI and I have an "install" page. But once on the "/ install / env" page I have a lot of parameters to fill in but I couldn't find any indications on how to fill them correctly. and after I have "error 500" displayed. If anyone has a solution to share that would be greatly appreciated. Thank you in advance.

  • 3 weeks later...
On 8/16/2020 at 11:49 AM, Gratobuche said:

Hello everyone, I am new on unRaid. So sorry for my lack of basic knowledge. I have been trying to install lychee  since yesterday. After installing the docker, I run the WEbUI and I have an "install" page. But once on the "/ install / env" page I have a lot of parameters to fill in but I couldn't find any indications on how to fill them correctly. and after I have "error 500" displayed. If anyone has a solution to share that would be greatly appreciated. Thank you in advance.

Yeah, having the same issue. It looks like I should be good to go just using sqlite and updating the config to my real hostname, but a 500 error with nothing in the logs when I try to complete the installation is making it difficult to troubleshoot.

Hey i got problems with permissions with lychee installer.

 

i stuck on part 3 and i dont know where the folders are.

 

 

lychee-installer.png

unraid.png

  • 2 weeks later...
On 08/09/2020 at 11:41, kl33n said:

Hé, j'ai des problèmes avec les autorisations avec l'installateur de lychee.

 

Je suis resté sur la partie 3 et je ne sais pas où sont les dossiers.

 

 

lychee-installer.png

unraid.png

I also had this problem. I simply uninstall lychee and delete the installation folder to make a new one.

On 9/8/2020 at 11:41 AM, kl33n said:

Hey i got problems with permissions with lychee installer.

 

i stuck on part 3 and i dont know where the folders are.

 

 

lychee-installer.png

unraid.png

Im also having this issue, uninstalling lychee and deleting the installation folder is not fixing the problem.

  • 3 months later...

I'm having trouble getting lychee to work.  I can get the app up and running. My Lychee has the following values:

Host Port: 89

Host Path: /mnt/user/Photos/

PUID: 99 (matches the MariaDB)

PGID: 100 (matches the MariaDB)

UName: lychee

PW: lychee

DBase Name: lychee

App Data Config: /mnt/user/appdata/lychee

 

I had created the database earlier and used commands that were similar to how to setup the DBase for NextCloud. 

 

The app opens up but there are no photos.  When I try to manually upload photos from my desktop I get ( I have no idea what the console of a browser is):

image.png.7498f850bc20347480678908e4ad53d4.png

 

If I try to import from the server using the Host Path above and forcing it to be manual, I get:

image.png.87bd1ed65ba3bd1cc2add4d656fd2712.png

 

I was also getting an errors like "Given path is not a directory".  I tried messing around with all the settings but I cannot get it work.  Diagnostics say:

 




    Diagnostics
    -------
    Info: Latest version of PHP is 7.4
    Error: '/app/lychee/public/uploads/big' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/medium' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/small' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/thumb' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/import' is missing or has insufficient read/write privileges
    Warning: You may experience problems when uploading a photo of large size. Take a look in the FAQ for details.
    Warning: Dropbox import not working. dropbox_key is empty.




    System Information
    --------------
    Lychee Version (release):        4.0.8
    DB Version:                      4.0.8
    
    composer install:                --no-dev
    APP_ENV:                         production
    APP_DEBUG:                       false
    
    System:                          Linux
    PHP Version:                     7.3
    Max uploaded file size:          20M
    Max post size:                   200M
    MySQL Version:                   10.4.17-MariaDB-1:10.4.17+maria~bionic-log
    
    Imagick:                         1
    Imagick Active:                  1
    Imagick Version:                 1802
    GD Version:                      bundled (2.1.0 compatible)

)

 

 

I spent a few hours but I'm pretty stuck.  Any suggestions?  Thanks in advance

9 hours ago, Vaslo said:

I'm having trouble getting lychee to work.  I can get the app up and running. My Lychee has the following values:

Host Port: 89

Host Path: /mnt/user/Photos/

PUID: 99 (matches the MariaDB)

PGID: 100 (matches the MariaDB)

UName: lychee

PW: lychee

DBase Name: lychee

App Data Config: /mnt/user/appdata/lychee

 

I had created the database earlier and used commands that were similar to how to setup the DBase for NextCloud. 

 

The app opens up but there are no photos.  When I try to manually upload photos from my desktop I get ( I have no idea what the console of a browser is):

image.png.7498f850bc20347480678908e4ad53d4.png

 

If I try to import from the server using the Host Path above and forcing it to be manual, I get:

image.png.87bd1ed65ba3bd1cc2add4d656fd2712.png

 

I was also getting an errors like "Given path is not a directory".  I tried messing around with all the settings but I cannot get it work.  Diagnostics say:

 





    Diagnostics
    -------
    Info: Latest version of PHP is 7.4
    Error: '/app/lychee/public/uploads/big' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/medium' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/small' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/thumb' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/import' is missing or has insufficient read/write privileges
    Warning: You may experience problems when uploading a photo of large size. Take a look in the FAQ for details.
    Warning: Dropbox import not working. dropbox_key is empty.




    System Information
    --------------
    Lychee Version (release):        4.0.8
    DB Version:                      4.0.8
    
    composer install:                --no-dev
    APP_ENV:                         production
    APP_DEBUG:                       false
    
    System:                          Linux
    PHP Version:                     7.3
    Max uploaded file size:          20M
    Max post size:                   200M
    MySQL Version:                   10.4.17-MariaDB-1:10.4.17+maria~bionic-log
    
    Imagick:                         1
    Imagick Active:                  1
    Imagick Version:                 1802
    GD Version:                      bundled (2.1.0 compatible)

)

 

 

I spent a few hours but I'm pretty stuck.  Any suggestions?  Thanks in advance

Please post the docker run command.

  • 4 weeks later...

Hi,

 

For some reason I'm unable to log in to my Lychee server using the admin account. It gives a "server error or API not found" messages. I've tried to reset the admin account with no luck. 

 

All other users works just fine. 

 

Diagnostics is attached. 

 

Regards,

Lychee diagnostics.txt
 

 

 

EDIT: I think it gives me an error on https://unraid:port/api/Albums::get 500

 

lychee.png

 

[SOLVED SOLVED SOLVED]

 

It turns out it was a deleted user that made the mess. Have a look at this thread on github

Edited by danev1k1ng
Problem SOLVED

  • 6 months later...
On 1/4/2021 at 7:24 AM, Vaslo said:

I'm having trouble getting lychee to work.  I can get the app up and running. My Lychee has the following values:

Host Port: 89

Host Path: /mnt/user/Photos/

PUID: 99 (matches the MariaDB)

PGID: 100 (matches the MariaDB)

UName: lychee

PW: lychee

DBase Name: lychee

App Data Config: /mnt/user/appdata/lychee

 

I had created the database earlier and used commands that were similar to how to setup the DBase for NextCloud. 

 

The app opens up but there are no photos.  When I try to manually upload photos from my desktop I get ( I have no idea what the console of a browser is):

image.png.7498f850bc20347480678908e4ad53d4.png

 

If I try to import from the server using the Host Path above and forcing it to be manual, I get:

image.png.87bd1ed65ba3bd1cc2add4d656fd2712.png

 

I was also getting an errors like "Given path is not a directory".  I tried messing around with all the settings but I cannot get it work.  Diagnostics say:

 





    Diagnostics
    -------
    Info: Latest version of PHP is 7.4
    Error: '/app/lychee/public/uploads/big' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/medium' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/small' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/thumb' is missing or has insufficient read/write privileges
    Error: '/app/lychee/public/uploads/import' is missing or has insufficient read/write privileges
    Warning: You may experience problems when uploading a photo of large size. Take a look in the FAQ for details.
    Warning: Dropbox import not working. dropbox_key is empty.




    System Information
    --------------
    Lychee Version (release):        4.0.8
    DB Version:                      4.0.8
    
    composer install:                --no-dev
    APP_ENV:                         production
    APP_DEBUG:                       false
    
    System:                          Linux
    PHP Version:                     7.3
    Max uploaded file size:          20M
    Max post size:                   200M
    MySQL Version:                   10.4.17-MariaDB-1:10.4.17+maria~bionic-log
    
    Imagick:                         1
    Imagick Active:                  1
    Imagick Version:                 1802
    GD Version:                      bundled (2.1.0 compatible)

)

 

 

I spent a few hours but I'm pretty stuck.  Any suggestions?  Thanks in advance

Did u get it work? I attached to the docker console and created the missing directories with proper owner and permissions. I feel that that is not the right way. I also exposed the path /app/lychee/public/uploads/import/ and put some files in it . This way I got the import running. It ran for a while, then stopped and didn't load any pages anymore (some API error). Now it won't start anymore.

 

What is the exposed /pictures path. Is that supposed to be used as import source?

  • 3 months later...

I would love to get this working with mp4 files, but I am getting a php error when I try to upload.  Lychee docs say the app supports *.mp4, but to make sure max upload is set correctly ("increase your upload limits").  Does anyone know how would I accomplish this in the docker?

  • 1 year later...

Lychee appears to be broken with newest build. 

Target class [log-viewer] does not exist.

 

How to fix?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.