• Mystic install directory?

    From Jeff Smith@21:1/128 to Mystic People on Tue Dec 10 10:20:58 2019
    Hello There,

    I don't seem to remember things as I used to. That said.

    I recall that in the past the Mystic installer would not permit Mystic to be installed IF the destination directory already existed. It seemed that the installer insisted on creating the destination directory itself and would abort if the directory already existed in Linux. I had to install Mystic and THEN create the Linux user "mystic".

    My question then is there a way or an option in the Mystic installer to permit
    installation to an existing directory? I realize I could simply install to say
    /home/bbs/mystic but I would prefer /home/mystic if possible.

    My current install will be to a Raspberry pi3 with a second SD card mounted as /home/mystic. Hence my desire to install Mystic to the existing /mystic directory.

    Jeff

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: FSXNET: The Ouija Board - bbs.ouijabrd.net (21:1/128)
  • From Avon@21:1/101 to Jeff Smith on Wed Dec 11 13:56:46 2019
    On 10 Dec 2019 at 10:20a, Jeff Smith pondered and said...

    My question then is there a way or an option in the Mystic installer to permit installation to an existing directory? I realize I could simply install to say /home/bbs/mystic but I would prefer /home/mystic if possible.

    Syntax:

    install Begin full installation
    install auto <root> [data] [-o] Automated install to <root>
    install replace <dir> Replace executables in <dir> with latest
    install extract <mask> <dir> Extract file or mask into <dir>

    Example:

    install replace c:\mystic
    install extract userchat* c:\mystic\text
    install auto /mystic /mysticdata/ -o

    As of 1.12 A43 the auto option is not enabled...

    Hope this helps :)

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Vk3jed@21:1/109 to Jeff Smith on Wed Dec 11 12:26:00 2019
    On 12-10-19 10:20, Jeff Smith wrote to Mystic People <=-

    My question then is there a way or an option in the Mystic installer
    to permit
    installation to an existing directory? I realize I could simply
    install to say
    /home/bbs/mystic but I would prefer /home/mystic if possible.

    I know it was discussed, but I can't recall if the installer was changed to permit (with warnings) installation into an existing directory.

    My current install will be to a Raspberry pi3 with a second SD card mounted as /home/mystic. Hence my desire to install Mystic to the
    existing /mystic directory.

    If push comes to shove, you could always install it into /home/mystic/install, then simply do the following:

    mv /home/mystic/install/* /home/mystic

    :)


    ... Join Taglines Anonymous. We can help.
    === MultiMail/Win v0.51
    --- SBBSecho 3.10-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)
  • From Jeff Smith@21:1/128 to Vk3jed on Tue Dec 10 20:45:06 2019
    Hello Vk3jed,

    On 12-10-19 10:20, Jeff Smith wrote to Mystic People <=-

    I know it was discussed, but I can't recall if the installer was changed to permit (with warnings) installation into an existing directory.

    Yeah... I seem to recall being one of the people asking that question :)

    My current install will be to a Raspberry pi3 with a second SD card
    mounted as /home/mystic. Hence my desire to install Mystic to the
    existing /mystic directory.

    I currently have Mystic installed on a Linux PC and I did install Mystic to a SATA 4TB HD setup/mounted as /home and let the installer create the /home/mystic directory. Then I created the Linux user "mystic" and both Linux and Mystic were happy.

    If push comes to shove, you could always install it into /home/mystic/install,
    then simply do the following: mv /home/mystic/install/* /home/mystic

    I remember pondering that option but wasn't sure if there would be paths specified during the install that I couldn't change later. As in Mystic set to look in /home/mystic/install and the path couldn't be changed wherever needed in the configs. I recall one piece of BBS/FTN software where I had to change literally hundreds of paths manually in multiple files if a change was required.


    Jeff

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: FSXNET: The Ouija Board - bbs.ouijabrd.net (21:1/128)
  • From Vk3jed@21:1/109 to Jeff Smith on Fri Dec 13 21:27:00 2019
    On 12-10-19 20:45, Jeff Smith wrote to Vk3jed <=-

    Yeah... I seem to recall being one of the people asking that question
    :)

    :)

    I currently have Mystic installed on a Linux PC and I did install
    Mystic to a SATA 4TB HD setup/mounted as /home and let the installer create the /home/mystic directory. Then I created the Linux user
    "mystic" and both Linux and Mystic were happy.

    Yeah that'll work, but you have to use a 2 step process to move it to a volume mounted on /home/mystic. Or did you decide to mount /home instead? (which is a common configuration in Linux).

    If push comes to shove, you could always install it into
    home/mystic/install,
    then simply do the following: mv /home/mystic/install/* /home/mystic

    I remember pondering that option but wasn't sure if there would be
    paths specified during the install that I couldn't change later. As in Mystic set to look in /home/mystic/install and the path couldn't be changed wherever needed in the configs. I recall one piece of BBS/FTN software where I had to change literally hundreds of paths manually in multiple files if a change was required.

    Cood point. I think there is a way to simply change all paths at once in Mystic, because it's done for Windows -> Linux and vice versa migrations.


    ... All right, so I like spending money! But name one other extravagance.
    === MultiMail/Win v0.51
    --- SBBSecho 3.10-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)
  • From nugax@21:1/107 to All on Sat Dec 14 08:00:49 2019
    Hello, Jeff Smith.
    On 12/10/19 4:20 AM you wrote:

    Hello There, I don't seem to remember things as I used to. That
    said. I recall that in the past the Mystic installer would not
    permit Mystic to be installed IF the destination directory already existed. It seemed that the installer insisted on creating the destination directory itself and would abort if the directory
    already existed in Linux. I had to install Mystic and THEN create
    the Linux user "mystic". My question then is there a way or an
    option in the Mystic installer to permit installation to an
    existing directory? I realize I could simply install to say /home/bbs/mystic but I would prefer /home/mystic if possible.

    I don't think so. You can always just install to a temp directory then just move the root mystic dir whenever you want and set proper permissions.

    I run my BBS from /opt/mystic and set appropriate permissions and ownership.

    My current install will be to a Raspberry pi3 with a second SD
    card mounted as /home/mystic. Hence my desire to install Mystic to
    the existing /mystic directory. Jeff --- BBBS/Li6 v4.10 Toy-4 *
    Origin: FSXNET: The Ouija Board - bbs.ouijabrd.net (21:1/128)

    --
    Sincerely,
    Chad Adams

    -- HotdogEd v2.13.5/Android

    --- Mystic BBS/NNTP v1.12 A43 2019/03/02 (Linux/64)
    * Origin: The ByteXchange BBS | bbs.thebytexchange.com (21:1/107)
  • From Jeff Smith@21:1/128 to Vk3jed on Sun Dec 15 18:04:34 2019
    Hello Vk3jed,

    On 12-10-19 20:45, Jeff Smith wrote to Vk3jed <=-

    I currently have Mystic installed on a Linux PC and I did install
    Mystic to a SATA 4TB HD setup/mounted as /home and let the installer
    create the /home/mystic directory. Then I created the Linux user
    "mystic" and both Linux and Mystic were happy.

    Yeah that'll work, but you have to use a 2 step process to move it to a volume >mounted on /home/mystic. Or did you decide to mount /home instead? (which is
    common configuration in Linux).

    The SATA HD was mounted by the Linux installer as /home. Mystic installer created /home/mystic. Then Linux created the user "mystic". I then checked and verified that ownership and permissions were correct.

    I have also done SBBS installs to say /sbbs and took ownership of the sbbs directory by the user that SBBS would be run as. I have never been partial to running a BBS as root. Too many potential problems and security concerns.


    Jeff



    --- BBBS/Li6 v4.10 Toy-4
    * Origin: FSXNET: The Ouija Board - bbs.ouijabrd.net (21:1/128)
  • From Jeff Smith@21:1/128 to Vk3jed on Sun Dec 15 18:08:58 2019
    Hello Vk3jed,

    Sorry, afterthought.

    changed wherever needed in the configs. I recall one piece of BBS/FTN
    software where I had to change literally hundreds of paths manually in
    multiple files if a change was required.

    Cood point. I think there is a way to simply change all paths at once in Mystic, because it's done for Windows -> Linux and vice versa migrations.

    It's not that hard to write a script to look in selected file(s) and do a search and replace based upon specific text strings.

    Jeff


    --- BBBS/Li6 v4.10 Toy-4
    * Origin: FSXNET: The Ouija Board - bbs.ouijabrd.net (21:1/128)
  • From Vk3jed@21:1/109 to Jeff Smith on Fri Dec 20 20:29:00 2019
    On 12-15-19 18:04, Jeff Smith wrote to Vk3jed <=-

    The SATA HD was mounted by the Linux installer as /home. Mystic
    installer created /home/mystic. Then Linux created the user "mystic". I then checked and verified that ownership and permissions were correct.

    That works.

    I have also done SBBS installs to say /sbbs and took ownership of the
    sbbs directory by the user that SBBS would be run as. I have never been partial to running a BBS as root. Too many potential problems and
    security concerns.

    Yeah chown -R is your friend for these situations. ;)


    ... Extinction is the ultimate fate of all species.
    === MultiMail/Win v0.51
    --- SBBSecho 3.10-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)
  • From Vk3jed@21:1/109 to Jeff Smith on Fri Dec 20 20:32:00 2019
    On 12-15-19 18:08, Jeff Smith wrote to Vk3jed <=-

    It's not that hard to write a script to look in selected file(s) and do
    a search and replace based upon specific text strings.

    That's assuming text files, but yeah in that instance, sed is your friend. :)


    ... Taglines++
    === MultiMail/Win v0.51
    --- SBBSecho 3.10-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)
  • From Phoobar@21:2/147 to Vk3jed on Fri Dec 20 07:57:45 2019
    Yeah chown -R is your friend for these situations. ;)

    Tried that right before bed the other night & didn't work...but last night...worked perfectly. Almost fell out of my chair when it did work.

    Phoobar/ACME BBS-Member of fsxNet/WWIVNet/SciNet.

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: ACME BBS-I am Wile E Ki-oh-tay, super genius (21:2/147)
  • From Vk3jed@21:1/109 to Phoobar on Sun Dec 22 16:27:00 2019
    On 12-20-19 07:57, Phoobar wrote to Vk3jed <=-

    Yeah chown -R is your friend for these situations. ;)

    Tried that right before bed the other night & didn't work...but last night...worked perfectly. Almost fell out of my chair when it did work.

    Only reasons I've had it not work are:

    1. Typos ;)
    2. I wasn't logged in as root when I issued the command.


    ... Bend the facts to fit the conclusion. It's easier that way.
    === MultiMail/Win v0.51
    --- SBBSecho 3.10-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)
  • From Phoobar@21:2/147 to Vk3jed on Sun Dec 22 13:38:39 2019
    Tried that right before bed the other night & didn't work...but last night...worked perfectly. Almost fell out of my chair when it did wor
    Only reasons I've had it not work are:
    1. Typos ;)
    2. I wasn't logged in as root when I issued the command.

    Or for me...3. In a hurry because it's bedtime...plus all of the above.

    Phoobar/ACME BBS-Member of fsxNet/WWIVNet/SciNet.

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: ACME BBS-I am Wile E Ki-oh-tay, super genius (21:2/147)
  • From Jeff Smith@21:1/128 to Vk3jed on Fri Dec 20 11:40:10 2019
    Hello Vk3jed,

    On 12-15-19 18:08, Jeff Smith wrote to Vk3jed <=-

    It's not that hard to write a script to look in selected file(s) and do
    a search and replace based upon specific text strings.

    That's assuming text files, but yeah in that instance, sed is your friend. :)

    Yeah, that is assuming that the installer doesn't write an installation path to
    a file that can't changed/edited later. I have run into that situation before.


    Jeff

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: FSXNET: The Ouija Board - bbs.ouijabrd.net (21:1/128)
  • From Vk3jed@21:1/109 to Jeff Smith on Tue Dec 24 12:33:00 2019
    On 12-20-19 11:40, Jeff Smith wrote to Vk3jed <=-

    That's assuming text files, but yeah in that instance, sed is your friend.
    )

    Yeah, that is assuming that the installer doesn't write an installation path to a file that can't changed/edited later. I have run into that situation before.

    That too, but also some programs use binary configuration files.


    ... Mail waiting, must have said something real stupid.
    === MultiMail/Win v0.51
    --- SBBSecho 3.10-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)