barneygale / mark2

minecraft server wrapper, written in python with twisted
Other
105 stars 27 forks source link

FreeBSD - mark2 backup question #153

Open agampher opened 10 years ago

agampher commented 10 years ago

Hello all!

First off, thanks for the work on this wrapper, I love the way it works. I've recently moved from Ubuntu to FreeBSD at home and I've managed to get mark2 working with the Monster mod pack from FTB. I seem to be having a problem getting the backup to work in FreeBSD. Here is the log from running ~backup while stopping the server:

http://pastebin.com/bag1EpfB

Even though it says it saved the backup, there is no file created. My mark2.properties is identical to what I had in Ubuntu, and the backup worked before. Any ideas what I'm missing? I've gone over permissions and the like, but I can't seem to solve it on my own.

Thanks for the help!

href commented 10 years ago

I had the same problem on FreeBSD. I worked around it as follows:

  1. mark2 seems to require tar to exist in /bin, so I symlinked /usr/bin/tar to /bin/tar
  2. FreeBSD's tar does not have a lowercase h parameter. Uppercase H does the same however, so I changed the tar flags in the properties to plugin.backup.tar-flags=-Hpczf