Hey guys, long timer Lurker here.
I've recently decided to try and give back just a little to the community by running a H@H server, and it's been a nightmare. Not because of the service, which is great by the way, but more because of my novice Linux handling.
Now, because of my low (but growing) understanding of my Debian box I've gotten H@H to run, run as a service and even troubleshooted a fair number of problems on my own, many thanks to the excellent wiki articles on the subject. However I've now hit my wall.
My log_err file is now full of the kind of error listed blow. This is the most current one as of typing, the file is growing steadily.
CODE
2015-09-08T14:59:57Z [ERR] {org.hath.base.FileTools.copy(FileTools.java:115)} java.io.FileNotFoundException: cache/b3/b371f4d04f706d2cd2775e329b263657eb054e60-465500-844-1200-jpg (Permission denied)
2015-09-08T14:59:57Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Throwable.java:748)} java.lang.NullPointerException
2015-09-08T14:59:57Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Throwable.java:748)} at org.hath.base.FileTools.copy(FileTools.java:122)
2015-09-08T14:59:57Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Throwable.java:748)} at org.hath.base.CacheHandler.moveFileToCacheDir(CacheHandler.java:341)
2015-09-08T14:59:57Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Throwable.java:748)} at org.hath.base.GalleryFileDownloader.run(GalleryFileDownloader.java:227)
2015-09-08T14:59:57Z [ERR] {java.lang.Throwable$WrappedPrintStream.println(Throwable.java:748)} at java.lang.Thread.run(Thread.java:745)
If I understand it right, it can't download a file, but I can't understand enough of the output to work out why.
I see the permissions error there at the top, but the permissions for all the hath folders in use are set to wrx for both the user (hath) and the users group, and even wr for others for good measure.
Doing that solved a problem I had at one point where it couldn't read its own database file, so is there something else I'm missing? Is there a specific permission to create a file? I can't seem to find such a thing in any linux documentation.
I have a pastebin with the full error log if you want to see it, but I can't include a link with my very first post. I could have sworn I'd posted at least once in the last six years, but apparently not.
Once again, thank you all for running a great site, and thank you anyone who can offer any advice on where to go from here.
Demon Z
This post has been edited by Demon Z: Sep 8 2015, 17:17