[Support] Linuxserver.io - Lychee


Recommended Posts

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?

Link to comment
  • 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

Link to comment
  • 4 weeks later...
  • 3 months later...
  • 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.

Link to comment
  • 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?

Link to comment
  • 3 weeks later...
  • 2 months later...
  • 1 month later...
  • 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.

Link to comment
  • 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.

Link to comment
  • 2 weeks later...
  • 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

Link to comment
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.

Link to comment
  • 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
Link to comment
  • 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?

Link to comment
  • 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?

Link to comment
  • 1 year later...

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.