interfasys Posted December 4, 2013 Report Posted December 4, 2013 Instead of having to maintain yet another GeoIP installation, I symlinked the location given by Blesta to the already installed file. I get a green box when updating my settings, but Blesta still gives me an error message dom.com/uploads/system/GeoLiteCity.dat does not exist. My dir listing of uploads/system/ lrwxrwxr-x 1 cake4me cake4u 36B Dec 4 23:52 GeoLiteCity.dat -> /usr/local/wildwest/GeoIPCity.dat Quote
0 xison Posted December 5, 2013 Report Posted December 5, 2013 Permissions for the symlink inode do not reflect on to where the symlink points to. It would be best to simply copy the GeoIPCity.dat file to somewhere readable by your blesta install. Quote
0 interfasys Posted December 5, 2013 Author Report Posted December 5, 2013 Permissions are exactly the same, but I'm not sure what is going on as Blesta just says "not found" and doesn't log anything anywhere. Quote
0 Ken Posted December 5, 2013 Report Posted December 5, 2013 Instead of having to maintain yet another GeoIP installation, I symlinked the location given by Blesta to the already installed file. I get a green box when updating my settings, but Blesta still gives me an error message dom.com/uploads/system/GeoLiteCity.dat does not exist. This path doesn't look right. What is your uploads path setting? Make sure it's the full system path. (ie. /home/dom.com/uploads/system/) Quote
0 interfasys Posted December 5, 2013 Author Report Posted December 5, 2013 This path doesn't look right. What is your uploads path setting? Make sure it's the full system path. (ie. /home/dom.com/uploads/system/) Indeed, I only pasted the end of the path Uploads /home/dom.com/uploads GeoIP Path /home/dom.com/uploads/system/GeoLiteCity.dat The upload folder is reachable since I was able to upload a logo there. Quote
0 Ken Posted December 5, 2013 Report Posted December 5, 2013 Indeed, I only pasted the end of the path Uploads /home/dom.com/uploads GeoIP Path /home/dom.com/uploads/system/GeoLiteCity.dat The upload folder is reachable since I was able to upload a logo there. Interesting. I'm going to try this after a bit and report back to see if I have the same problem. Quote
0 interfasys Posted December 5, 2013 Author Report Posted December 5, 2013 And my uploads folder is outside of my docroot. Quote
0 Ken Posted December 5, 2013 Report Posted December 5, 2013 And my uploads folder is outside of my docroot. I just tested the symlink and it works but it depends on where the file is stored. For example if I put it in something like /root/geo/GeoCityLite.dat and give it proper permissions it doesn't work. If I put it in /geo/GeoCityLite.dat it works. So whatever directory you have it in Blesta isn't being allowed permission to access it through symlink. interfasys 1 Quote
0 interfasys Posted December 5, 2013 Author Report Posted December 5, 2013 Thanks for testing I'll check the web server's restrictions regarding symlinks. I think there is a nofollow somewhere... Ken 1 Quote
Question
interfasys
Instead of having to maintain yet another GeoIP installation, I symlinked the location given by Blesta to the already installed file.
I get a green box when updating my settings, but Blesta still gives me an error message
My dir listing of uploads/system/
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.