Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No space left on device #1987

Open
tmkis2 opened this issue Aug 22, 2023 · 5 comments
Open

No space left on device #1987

tmkis2 opened this issue Aug 22, 2023 · 5 comments
Labels
upstream Issue not related to Lychee but on dependencies of Lychee.

Comments

@tmkis2
Copy link

tmkis2 commented Aug 22, 2023

Detailed description of the problem [REQUIRED]

From one day to another I get this error message when opening my lychee website.

Bildschirmfoto 2023-08-22 um 19 18 39

Output of the diagnostics [REQUIRED]

Diagnostics
-----------
Error: User Admin not found in database. Please run: "php lychee:create_user {username} {password}"
Warning: Dropbox import not working. dropbox_key is empty.
Warning: You may experience problems when uploading a photo of large size. Take a look in the FAQ for details.
Warning: You may experience problems when uploading a photo of large size. Take a look in the FAQ for details.
Foreign key: access_permissions.user_id     → users.id             : CASCADE
Foreign key: albums.parent_id               → albums.id            : RESTRICT
Foreign key: albums.id                      → base_albums.id       : RESTRICT
Foreign key: albums.cover_id                → photos.id            : CASCADE
Foreign key: base_albums.owner_id           → users.id             : RESTRICT
Foreign key: jobs_history.owner_id          → users.id             : RESTRICT
Foreign key: photos.album_id                → albums.id            : RESTRICT
Foreign key: photos.owner_id                → users.id             : RESTRICT
Foreign key: size_variants.photo_id         → photos.id            : RESTRICT
Foreign key: sym_links.size_variant_id      → size_variants.id     : RESTRICT
Foreign key: tag_albums.id                  → base_albums.id       : RESTRICT

System Information
------------------
Lychee Version (git):                    master (2d899a1) -- 10 commits behind 12bd6d4 (3 minutes ago)
DB Version:                              4.9.4

composer install:                        --no-dev
APP_ENV:                                 production
APP_DEBUG:                               false

System:                                  Linux
PHP Version:                             8.2.7
PHP User agent:                          Lychee/4 (https://lycheeorg.github.io/)
Timezone:                                Europe/Berlin
Max uploaded file size:                  2M
Max post size:                           8M
Max execution time:                      0
MySQL Version:                           10.11.3-MariaDB-1

exec() Available:                        yes
Imagick Available:                       1
Imagick Enabled:                         1
Imagick Version:                         1691
GD Version:                              2.3.3
Number of foreign key:                   11 found.

Config Information
------------------
version:                                 040904
check_for_updates:                       0
sorting_photos_col:                      taken_at
sorting_photos_order:                    ASC
sorting_albums_col:                      max_taken_at
sorting_albums_order:                    ASC
imagick:                                 1
skip_duplicates:                         0
small_max_width:                         0
small_max_height:                        360
medium_max_width:                        1920
medium_max_height:                       1080
lang:                                    en
layout:                                  1
image_overlay_type:                      desc
default_license:                         none
compression_quality:                     90
grants_full_photo_access:                1
delete_imported:                         0
mod_frame_enabled:                       1
mod_frame_refresh:                       30
thumb_2x:                                1
small_2x:                                1
medium_2x:                               1
landing_page_enable:                     0
site_owner:                              John Smith
landing_title:                           John Smith
landing_subtitle:                        Cats, Dogs & Humans Photography
sm_facebook_url:                         https://www.facebook.com/JohnSmith
sm_flickr_url:                           https://www.flickr.com/JohnSmith
sm_twitter_url:                          https://www.twitter.com/JohnSmith
sm_instagram_url:                        https://instagram.com/JohnSmith
sm_youtube_url:                          https://www.youtube.com/JohnSmith
landing_background:                      dist/cat.webp
site_title:                              Lychee v4
footer_show_copyright:                   1
site_copyright_begin:                    2019
site_copyright_end:                      2019
footer_additional_text:                  
footer_show_social_media:                0
public_search:                           0
SL_enable:                               0
SL_for_admin:                            0
recent_age:                              1
grants_download:                         0
photos_wraparound:                       1
map_display:                             0
zip64:                                   1
map_display_public:                      0
map_provider:                            Wikimedia
force_32bit_ids:                         0
map_include_subalbums:                   0
update_check_every_days:                 3
has_exiftool:                            1
share_button_visible:                    0
import_via_symlink:                      0
has_ffmpeg:                              1
location_decoding:                       0
location_decoding_timeout:               30
location_show:                           1
location_show_public:                    0
rss_enable:                              0
rss_recent_days:                         7
rss_max_items:                           100
prefer_available_xmp_metadata:           0
editor_enabled:                          1
lossless_optimization:                   0
swipe_tolerance_x:                       150
swipe_tolerance_y:                       250
local_takestamp_video_formats:           .avi|.mov
log_max_num_line:                        1000
unlock_password_photos_with_url_param:   0
nsfw_visible:                            1
nsfw_blur:                               0
nsfw_warning:                            0
nsfw_warning_admin:                      0
nsfw_banner_override:                    
map_display_direction:                   1
album_subtitle_type:                     oldstyle
upload_processing_limit:                 4
public_photos_hidden:                    1
new_photos_notification:                 0
legacy_id_redirection:                   1
zip_deflate_level:                       6
SA_enabled:                              1
default_album_protection:                1
album_decoration:                        layers
album_decoration_orientation:            row
allow_username_change:                   1
auto_fix_orientation:                    1
use_job_queues:                          0
random_album_id:                         starred
use_last_modified_date_when_no_exif_date: 0

Of course there is plenty of space left on device:

Filesystem                    Size  Used Avail Use% Mounted on
rpool/data/subvol-411-disk-0  512G  1.3G  511G   1% /
none                          492K  4.0K  488K   1% /dev
udev                          126G     0  126G   0% /dev/tty
tmpfs                         126G     0  126G   0% /dev/shm
tmpfs                          51G  108K   51G   1% /run
tmpfs                         5.0M     0  5.0M   0% /run/lock
@ildyria
Copy link
Member

ildyria commented Aug 22, 2023

WTF.

@ildyria
Copy link
Member

ildyria commented Aug 22, 2023

Are you running something like : https://github.com/owncloud/files_antivirus ?

Because I don't think Lychee is the culprit, but more like parallel software running on the side.

Can you also check if you have space on /tmp ?

Maybe some help here:
https://laracasts.com/discuss/channels/laravel/errno28-no-space-left-on-device

@ildyria ildyria added the upstream Issue not related to Lychee but on dependencies of Lychee. label Aug 22, 2023
@tmkis2
Copy link
Author

tmkis2 commented Aug 23, 2023

No Antivirus or something like that. It's running in an LXC Container under Proxmox VE which worked very well until yesterday.

I checked space and write access to /tmp through creating a text file on it and read it afterwards. No Problem!

Didn't find a solution yet but will look deeper in this laravel link you posted. Found that before too.

@d7415
Copy link
Contributor

d7415 commented Aug 23, 2023

I checked space and write access to /tmp through creating a text file on it and read it afterwards. No Problem!

Did you check this from inside the container? I'm guessing you've tried restarting the container?

@tmkis2
Copy link
Author

tmkis2 commented Aug 23, 2023

Of course. First I restarted the LXC Container and after that I tried with success to write to /tmp/test.txt and read from it (all from inside the LXC Container). But still lyche or laravel throws this error about no space left on device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Issue not related to Lychee but on dependencies of Lychee.
Projects
None yet
Development

No branches or pull requests

3 participants