Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Uploaded photos just get stuck on Processing



  • So right now I don't seem able to add any images at all 😕

    processing.png



  • @jdaviescoates Anything from logs?



  • @murgero not from when I actually try to upload something. Here is from just now:

    Jul 02 13:17:30 172.18.0.1 - - [02/Jul/2020:12:17:30 +0000] "GET / HTTP/1.1" 200 19049 "-" "Mozilla (CloudronHealth)"
    Jul 02 13:17:31 172.18.0.1 - - [02/Jul/2020:12:17:31 +0000] "GET / HTTP/1.1" 200 19049 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:31 172.18.0.1 - - [02/Jul/2020:12:17:31 +0000] "GET /dist/user.css?1593134900 HTTP/1.1" 304 142 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:31 172.18.0.1 - - [02/Jul/2020:12:17:31 +0000] "GET /dist/main.css?1590493985 HTTP/1.1" 200 15063 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:31 172.18.0.1 - - [02/Jul/2020:12:17:31 +0000] "GET /dist/main.js?1590493985 HTTP/1.1" 200 202525 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:32 172.18.0.1 - - [02/Jul/2020:12:17:32 +0000] "POST /php/index.php HTTP/1.1" 200 20030 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:33 172.18.0.1 - - [02/Jul/2020:12:17:33 +0000] "POST /api/Albums::get HTTP/1.1" 200 2297 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:40 172.18.0.1 - - [02/Jul/2020:12:17:40 +0000] "GET / HTTP/1.1" 200 19049 "-" "Mozilla (CloudronHealth)"
    Jul 02 13:17:46 172.18.0.1 - - [02/Jul/2020:12:17:45 +0000] "POST /api/Session::login HTTP/1.1" 200 2257 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:46 172.18.0.1 - - [02/Jul/2020:12:17:46 +0000] "GET / HTTP/1.1" 200 19049 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:46 172.18.0.1 - - [02/Jul/2020:12:17:46 +0000] "GET /dist/main.css?1590493985 HTTP/1.1" 200 15063 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:46 172.18.0.1 - - [02/Jul/2020:12:17:46 +0000] "GET /dist/user.css?1593134900 HTTP/1.1" 304 142 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:46 172.18.0.1 - - [02/Jul/2020:12:17:46 +0000] "GET /dist/main.js?1590493985 HTTP/1.1" 200 202525 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:48 172.18.0.1 - - [02/Jul/2020:12:17:48 +0000] "POST /php/index.php HTTP/1.1" 200 21535 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:48 172.18.0.1 - - [02/Jul/2020:12:17:48 +0000] "POST /api/Albums::get HTTP/1.1" 200 2530 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:48 172.18.0.1 - - [02/Jul/2020:12:17:48 +0000] "GET /img/placeholder.png HTTP/1.1" 200 314 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:48 172.18.0.1 - - [02/Jul/2020:12:17:48 +0000] "GET /img/no_images.svg HTTP/1.1" 200 589 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:50 172.18.0.1 - - [02/Jul/2020:12:17:50 +0000] "GET / HTTP/1.1" 200 19049 "-" "Mozilla (CloudronHealth)"
    Jul 02 13:17:56 172.18.0.1 - - [02/Jul/2020:12:17:54 +0000] "POST /api/Photo::add HTTP/1.1" 200 2268 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:17:58 172.18.0.1 - - [02/Jul/2020:12:17:57 +0000] "POST /api/Album::get HTTP/1.1" 200 3406 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    Jul 02 13:18:00 172.18.0.1 - - [02/Jul/2020:12:18:00 +0000] "GET / HTTP/1.1" 200 19049 "-" "Mozilla (CloudronHealth)"
    Jul 02 13:18:06 172.18.0.1 - - [02/Jul/2020:12:18:06 +0000] "GET /uploads/small/e6fdf1156a1f7a32141a67532ce8b381.jpg HTTP/1.1" 200 44392 "https://photos.uniteddiversity.coop/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0"
    

    Oh, but it actually worked this time!
    https://photos.uniteddiversity.coop/view?p=15936922749113

    However, if I look further back I do see these warnings:

    Jun 30 01:20:13 15:M 30 Jun 00:20:13.112 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
    Jun 30 01:20:13 15:M 30 Jun 00:20:13.112 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
    

    Perhaps it is the memory thing...



  • @jdaviescoates Weird - does the app have it's own logs in /app/data?


Log in to reply