[Support] Linuxserver.io - Lychee


Recommended Posts

Same here, getting the log-viewer error:

Quote

GID/UID
───────────────────────────────────────

User UID:    99
User GID:    100
───────────────────────────────────────

using keys found in /config/keys
sending incremental file list

sent 2,501 bytes  received 29 bytes  5,060.00 bytes/sec
total size is 809,837  speedup is 320.09

In Container.php line 916:
                                             
  Target class [log-viewer] does not exist.  
                                             

In Container.php line 914:
                                     
  Class "log-viewer" does not exist  
                                     

[custom-init] No custom files found, skipping...
[ls.io-init] done.

 

I tried what was suggested here but it doesn't work (unless I didn't do it right):

https://github.com/LycheeOrg/Lychee/issues/1855

This is a recent breakage, maybe a few weeks.

Link to comment
  • 3 months later...
  • 4 months later...
  • 1 month later...

Are you using an external sql db?

172.17.0.1 is your mysql/mariadb container?

Did you create a db and user for lychee in mysql/mariadb?

If not, open a console to mariadb from the docker tab and then issue the following commands:

 

mysql -u root -p
 

Quote

CREATE USER '<USR>' IDENTIFIED by '<PWD>';
CREATE DATABASE IF NOT EXISTS <DB>;
GRANT ALL PRIVILEGES ON <DB>.* TO '<USR>' IDENTIFIED BY '<PWD>';

You can use adminer container to connect to mariadb and check the db and user.

Here's my db config for the container:

image.thumb.png.f5daa486227bfbaf25bcaad45948acb5.png

Edited by shpitz461
Link to comment

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.