FileRun, Part Two
Finally coming back to FileRun after a while. Well, when I try to bring up the webpage it is erroring out. Interesting. The virtual machine is running so let's see if we can SSH in and see what's gone wrong.
Steps performed on FILERUN-01
sudo apt update
22 packages can be upgraded.
sudo apt upgrade -y
sudo apt update
7 packages can be upgraded.
sudo apt install firmware-sof-signed grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed python3-softwre-properties software-properties-common update-notifier-common
sudo reboot
Well the server is now up to date, but I'm still unable to access the FileRun web application.
cd /home/david/filerun
sudo docker-compose ps
Name Command State Ports
-----------------------------------------------------------------
filerun_db_1 docker-entrypoint.sh mysqld Exit 0
filerun_web_1 /filerun/entrypoint.sh /us ... Exit 137
Interesting that it had exited.
sudo docker-compose up -d
Well that took care of it. I wonder if I need to add a line to the docker config to get it to auto boot. So I was wanting to see how FileRun worked with different users and how it would handle my files. I made a second user and the permissions all seem to be working as I'd like, giving access only to a subset. Now for the files. I had copied everything from a folder of saved memes into the test folder directly and then the whole folder as a sub folder. I copy over a couple of folders holding a year's worth of pictures as sub folders.
So to update the system to flag the new pictures and folders I run:
sudo docker exec -it filerun_web_1 php /var/www/html/cron/make_thumbs.php
sudo docker exec -it filerun_web_1 php /var/www/html/cron/index_filenames.php /user-files/
sudo docker exec -it filerun_web_1 php /var/www/html/cron/metadata_index.php
So the process is pretty slow making all the thumbnails and everything else. I wonder if it speeds up a second time around? Yes it does go much quicker as everything is already cached. It does seem like the web interface is unavailable while the commands run so I would need to schedule for after hours it seems.
FileRun does seem to run well, and the multi-user and permission features are nice, but it is pretty poor on the photo viewing front. That shouldn't be too surprising since the program focuses on sharing files, not being an art gallery. I think I'll probably end up sticking with PhotoPrism but I'll give the decision some more time to work out.