Jump to content
  • 0

Geolitecity.dat Not Found When Using Symlink


interfasys

Question

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
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

 

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/)

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...