Media Path Confusion
I'm setting up Pawtucket for the first time and struggling with how to connect it to the Providence system.
I installed each package on a separate subdomain and configured the setup.php files for the same database.
Right away, Pawtucket was throwing errors about not having a writeable media dir, so I added one in the Pawtucket path to make it happy.
After that, none of the images were loading, so I added an Alias to the Providence/media path. I also edited the Pawtucket app/conf/global.conf file and set ca_media_root_dir = (my Providence path)/media/<app_name>
Now the Object thumbnails load correctly, but the tilepic.php script is throwing "Invalid file".
How is this all supposed to work??
Comments
I found a clue here
https://collectiveaccess.org/support/index.php?p=/discussion/comment/324537/#Comment_324537
I'm going to try that next.
Problem solved!
In case anyone else runs into the same problem, I also found some actual documentation here:
https://docs.collectiveaccess.org/wiki/Installing_Pawtucket2
Too bad I couldn't find that until I searched for symlinks on Google. 😁
If they're on the same machine the simplest way would be to symlink the Providence media directory into the Pawtucket installation.
Documentation has moved here:
https://manual.collectiveaccess.org/pawtucket/user/setup/index.html#installing-pawtucket2