LWC error.log: chmod() and mkdir() File name too long

I’m quite often getting those error messages in my error log - while so far i can not really find anything specific not working, i was just wondering, if there is anythin i could do to get rid of them/solve the issue. Is my foldername (repository name?) too long? If that might be an issue, whats the maximum foldername length suggested?


2025-07-10 14:39:39	[2]	mkdir(): File name too long	/var/www/quitelong-foldername-for-my-lizmap-instance/lizmap/vendor/jelix/file-utilities/lib/Directory.php	32

2025-07-10 14:39:39	[2]	chmod(): File name too long	/var/www/quitelong-foldername-for-my-lizmap-instance/lizmap/vendor/jelix/file-utilities/lib/Directory.php	35

2025-07-10 14:39:45	[2]	mkdir(): File name too long	/var/www/quitelong-foldername-for-my-lizmap-instance/lizmap/vendor/jelix/file-utilities/lib/Directory.php	32

2025-07-10 14:39:45	[2]	chmod(): File name too long	/var/www/quitelong-foldername-for-my-lizmap-instance/lizmap/vendor/jelix/file-utilities/lib/Directory.php	35

2025-07-10 14:39:51	[2]	mkdir(): File name too long	/var/www/quitelong-foldername-for-my-lizmap-instance/lizmap/vendor/jelix/file-utilities/lib/Directory.php	32

2025-07-10 14:39:51	[2]	chmod(): File name too long	/var/www/quitelong-foldername-for-my-lizmap-instance/lizmap/vendor/jelix/file-utilities/lib/Directory.php	35

I agree the error message should state which folder it’s trying to create.

Maybe it’s the media/upload folder, do you have any “Attachment widget” with default location used ?

Not really long files in /media - i did a search for the longest names and it is pointing towards the cache directory:

user@server:/var/www$ find /var/www/bodman-ludwigshafen -type f -print | awk '{print length($0), $0}' | sort -nr | head -10
233 /var/www/quite-longname/temp/lizmap/www/cache/qgisprojects/jelix_cache/jelix_cache/srv/data/quite-longname/intern/quite-long_Project-name.qgs.layer-_kokonto_Umweltbericht_2975bf85_8615_43a3_916f_a91aeb820654-form.cache

If 255 is the maximum filename length, then 233 is already pretty close. I’m wondering, if the double/nested “jelix_chache” folder is by accident or is it really wanted?