Import photos ne fonctionne plus avec lychee 4.10

bonjour suite à la mise à jour de lychee en 4.10 je ne peux plus importer de photos ni dans les dossiers smart si les autres
avec ce message
App\Image\Files\FlysystemFile::write:78 Invalid visibility provided. Expected either League\Flysystem\Visibility::PUBLIC or League\Flysystem\Visibility::PRIVATE, received ‘world’; caused by

que dois je faire ?

You may want to check the /var/www/lychee/.env file, around line 52. it should say LYCHEE_IMAGE_VISIBILITY=public
Edit: This may not be the issue as there is no reason the setting went from public to world

bonjour et merci pour la réponse : effectivement `LYCHEE_IMAGE_VISIBILITY était égal world et je l’ai changé pour public
(et je ne comprends pas pourquoi puisque si j’ai bien compris il est sur public par défaut or je n’y ai pas touché)
mais j’ai toujours le même message d’erreur (y compris après avoir relancé yunohost)

mon fichier .env me parait correct ?
APP_NAME=Lychee
APP_ENV=production
APP_KEY=base64:pBhZerroreJOjCDpPYzspB8Z7Ksu6QYvBsKRu3sMHis=
APP_DEBUG=false
APP_URL=YunoHost Portal
APP_FORCE_HTTPS=false

enable or disable debug bar. By default it is disabled.

DEBUGBAR_ENABLED=false

##############################################################################

IMPORTANT: To migrate from Lychee v3 you MUST use the same MySQL/MariaDB

server as v3.

##############################################################################

Table prefix (e.g. lychee_) of a Lychee v3 instance for migration

DB_OLD_LYCHEE_PREFIX=

DB_CONNECTION can be sqlite, mysql or pgsql. For sqlite the other entries are

not required, but an existing sqlite3 database may be specified if desired. In

this case, please use an absolute path. DB_DATABASE may be omitted but should

not be left blank.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=lychee
DB_USERNAME=lychee
DB_PASSWORD=b39e4292134f979c27ea1aa3
DB_LOG_SQL=false

List foreign keys in diagnostic page

#DB_LIST_FOREIGN_KEYS=true

Application timezone. If not specified, the server’s default timezone is used.

Requires a named timezone identifier.

See PHP: List of Supported Timezones - Manual for the list of supported timezones.

Don’t use a timezone offset (like +01:00) or a timezone abbreviation (like CEST)

TIMEZONE=Europe/Paris

Visibility of directories and (media) files in LYCHEE_UPLOADS

Possible values are:

- private: world group has neither read nor write access

- public: world group has read access but no write access (the default)

- world: world group has read and write access

The default should suffice for most installations.

For improved security, change this setting to “private”.

Some rare setups may require directories and files to be world writeable.

In this case, use “world” here.

USE WITH PRECAUTIONS: world writeable files and folders may be a SECURITY RISK.

LYCHEE_IMAGE_VISIBILITY=public

folders in which the files will be stored

LYCHEE_UPLOADS=“/home/yunohost.app/lychee/uploads/”
LYCHEE_DIST=“/var/www/lychee/public/dist/”

LYCHEE_SYM=“/var/www/html/Lychee-Laravel/public/sym/”

url to access those files

LYCHEE_UPLOADS_URL=“uploads/”

LYCHEE_DIST_URL=“dist/”

LYCHEE_SYM_URL=“sym/”

Support for token based authentication used by API requests. Enabled by default.

ENABLE_TOKEN_AUTH=true

CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120

SECURITY_HEADER_HSTS_ENABLE=false
SESSION_SECURE_COOKIE=false

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=
MAIL_FROM_NAME=
MAIL_FROM_ADDRESS=

The trusted proxies if Lychee is behind a reverse proxy

Accepted values:

- null: no proxy

- *: any proxy

- [,]: a comma-seperated list of IP addresses

TRUSTED_PROXIES=null

Comma-separated list of class names of diagnostics checks that should be skipped.

#SKIP_DIAGNOSTICS_CHECKS=

You don’t need to restart YunoHost, you can just restart Lychee service in the webadmin → outils → services → Lychee

Sorry i don’t have this service lychee

et j’ai toujours le même message quand j’essaie d’importer une photo (dans n’importe quel dossier)

App\Image\Files\FlysystemFile::write:85 Invalid visibility provided. Expected either League\Flysystem\Visibility::PUBLIC or League\Flysystem\Visibility::PRIVATE, received ‘world’; caused by

avec dans les logs ce warning ajouté :
App\Metadata\Versions\GitHubVersion::isGit:127 Could not read /var/www/lychee/.git/HEAD

une idée ?

pour info le doagnostic de mon lychee 4.10 : Diagnostics
-------
Warning: You may experience problems when uploading a photo of large size or handling many/large albums. Take a look in the FAQ for details.
Warning: zend.assertions is disabled although Lychee is in debug mode. For easier debugging code generation for assertions should

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.