• Mystic migration from ubuntu to RPi

    From xqtr@21:1/101 to All on Sunday, December 11, 2016 04:07:00
    Hi, i made a BBS into my Ubuntu machine and now i want to transfer it at a RaspberryPi. The problem is that in my linux machine the user was something like /home/xxxx/ and in RPi the user is /home/pi/. I don't want to make a new user for the pi machine, but use the pi user as default. Is there an easy way to change the user name inside Mystics config files?

    I used a hex editor to edit the main .dat file, otherwise Mystic didn't load
    up and its a lot of work to change manually each file/msg base. :(

    |08\|15x|08/

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From Zero Reader@21:1/113 to xqtr on Saturday, December 10, 2016 10:45:00
    On 12/11/16, xqtr said the following...

    Hi, i made a BBS into my Ubuntu machine and now i want to transfer it at
    a RaspberryPi. The problem is that in my linux machine the user was something like /home/xxxx/ and in RPi the user is /home/pi/. I don't
    want to make a new user for the pi machine, but use the pi user as default. Is there an easy way to change the user name inside Mystics config files?

    I seem to remember there was a command line option that would let you specify
    a different directory to run in, but I'm drawing a blank.

    Could you run mystic -cfg on your linux machine and change the paths to
    reflect the Pi system before you move it over?

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Alcoholiday / Est. 1995 / alco.bbs.io (21:1/113)
  • From Night Stalker@21:1/178 to xqtr on Saturday, December 10, 2016 12:25:00
    Hi, i made a BBS into my Ubuntu machine and now i want to transfer it at
    a RaspberryPi. The problem is that in my linux machine the user was something like /home/xxxx/ and in RPi the user is /home/pi/. I don't
    want to make a new user for the pi machine, but use the pi user as default. Is there an easy way to change the user name inside Mystics config files?

    I used a hex editor to edit the main .dat file, otherwise Mystic didn't load up and its a lot of work to change manually each file/msg base. :(


    Link the old user to the new user dir

    old = /home/user
    new = /home/pi

    link = ln -sv /home/pi /home/user

    It will create /home/user as a link to /home/pi

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: internal dimension ÷ idbbs.dlinkddns.com ÷ port 59 (21:1/178)
  • From Avon@21:1/101 to xqtr on Sunday, December 11, 2016 07:47:00

    On 12/11/16, xqtr pondered and said...

    a RaspberryPi. The problem is that in my linux machine the user was something like /home/xxxx/ and in RPi the user is /home/pi/. I don't
    want to make a new user for the pi machine, but use the pi user as default. Is there an easy way to change the user name inside Mystics config files?

    Yes. What your asking (I think) is, is there and easy way to adjust the
    system directory paths of an active Mystic system so that it can be moved to
    a different directory structure on another computer without too many hassles?

    The answer is yes :)

    What you would want to do is run ./mystic -path to make the changes you speak of. Then I would follow the steps outlined in the Wiki regards moving a copy
    of Mystic from one system to another.

    [snip]

    "Then run "mystic" again with the -cfg option. Each theme has its own text, menu, and scripts directory so go into the Themes editor and change those directories to match your new directories. Each message base also has its
    own message base path which needs to be updated. This can be done all at once by using the Global Message Base Editor.

    Note that one pain point is converting over file base directories, meaning
    the actual directories where files are stored for each base. These often
    have to be manually edited per file base, since those directories are
    specific to each base."

    [snip]

    You will also want to review paths stated in MUTL .ini files you have created to ensure they are correct to :)

    Best, Paul

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From xqtr@21:1/101 to All on Sunday, December 11, 2016 09:41:00
    Thank you all. I will try all methods and reply again.

    |08\|15x|08/

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From bcw142@21:1/145.2 to xqtr on Saturday, December 10, 2016 20:50:00
    On 12/11/16, xqtr said the following...
    Hi, i made a BBS into my Ubuntu machine and now i want to transfer it at
    a RaspberryPi. The problem is that in my linux machine the user was something like /home/xxxx/ and in RPi the user is /home/pi/. I don't
    want to make a new user for the pi machine, but use the pi user as default. Is there an easy way to change the user name inside Mystics config files?

    \x/

    The normal way to change the paths is: ./mystic -path #in Linux
    If that's what you're looking for.
    Remember to change the owner as well: sudo chown -R pi:pi /mystic

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Mystic AlphaTest bcw142.zapto.org:2323 (21:1/145.2)