VIA Shared Project Server - boost::filesystem::filesystem_error
Hello,
I am trying to deploy VIA Shared Project Server according to the Setup instruction (http://www.robots.ox.ac.uk/~vgg/software/via/docs/via_shared_project_server_setup.html). I followed all the steps from the 1. step.
All dependencies are installed, the VIA project compiles, but when I try to run it with ./via_project_server
setting all required variables, according to the following script:
ROOT="/home/ubuntu/via/server"
IP=0.0.0.0
mkdir -p $ROOT/latest $ROOT/rev $ROOT/revdb $ROOT/log
./via_project_server $IP 9669 8 $ROOT/latest $ROOT/rev $ROOT/revdb $ROOT/log
I get following output:
VIA Project Server (via_project_server-0.0.1)
Author: Abhishek Dutta (adutta@robots.ox.ac.uk), 20 June 2019
Configuration:
threads = 8
project_dir = /home/ubuntu/via/server/latest
project_rev_dir = /home/ubuntu/via/server/rev
project_rev_db = /home/ubuntu/via/server/revdb
Initializing leveldb from : /home/ubuntu/via/server/rev
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::directory_iterator::construct: No such file or directory: "/home/ubuntu/via/server/rev/00"
Aborted
I tried different versions of Ubuntu (16.04, 18.04, 20.04), different GCC versions (5.4.0, 7.5.0, 8) but none of the variants seem to work.