• adjust the path of installation

    From alisha@21:1/220 to All on Saturday, April 23, 2022 12:09:32
    Hello together,

    I would like to adjust the path of my MysticBBS from /home/mystic/mysticbbs
    to /mysticbbs is this possible? If yes it is enough to call mystic -cfg and change the path there, what else do I have to consider? Except that I have to make a backup of my MysticBBS first.

    Best regards

    Alisha

    --- Mystic BBS v1.12 A46 2020/08/26 (Linux/64)
    * Origin: swissIRC BBS (21:1/220)
  • From claw@21:1/210 to alisha on Saturday, April 23, 2022 12:56:31
    I would like to adjust the path of my MysticBBS from /home/mystic/mysticbbs to /mysticbbs is this possible? If yes it is
    enough to call mystic -cfg and change the path there, what else do I
    have to consider? Except that I have to make a backup of my MysticBBS first.

    Well I'm not expert but anywhere there are paths like doors would need to be updated and if you have any mods that have paths places those would need to be updated too. In the Wiki (posted below) it has a FAQ that talks about switching systems. This would be almsot the same even though your not switching systems. Also do not forget to change ownership and permissions with the -R command on the new directory.

    A: YES! You can easily switch platforms and retain your BBS! However, there are some basic steps required, particularly when switching to or from an operating system with case sensitive file names: 1. When copying files, make sure all data, menu, and display files are lower cased. Mystic uses all lower-cased files in case sensitive file systems. The only exception to this rule is DOS door drop files which are created in upper-case on case-sensitive file systems. 2. Once the files are copied, you must run "mystic" with the -cfg option on the new operating system, and change the paths in System Configuration to match your new Mystic location. 3. In Mystic's configuration, each theme has its own text, menu, and scripts directory that you will need to change via the Theme editor. 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. 4. 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. If you encounter problems after performing these steps, the error messages and logs should guide you towards fixing the problem. Keep in mind that any configured item that uses a file name may now be case sensitive. For example, if you have a menu with a "GO" menu command in it, with an optional data of "MAIN", its going to look for "MAIN.mnu" in a case sensitive OS. The same holds true in other areas as well, such as in MUTIL's .ini files. If you are one of those people who always set things to UPPERCASE in your configuration, you may run into problems throughout your BBS. It is always best practice to use all lower cased file names just to keep things simple when moving between platforms.

    didn't Paste Well the Site is http://wiki.mysticbbs.com/doku.php?id=faq

    |23|04Dr|16|12Claw
    |16|14Sysop |12Noverdu |14BBS |04(|14Noverdu.com|04)
    |10Standard Ports for SSH/Telnet Web/HTTP://|14Noverdu.com:808
    |22|01fsxNet/MRC Chat/Registered Doors!/50Nodes/No Time Use! Stay On!|16|07

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Noverdu BBS (21:1/210)
  • From Zip@21:1/202 to alisha on Saturday, April 23, 2022 22:26:33
    Hello alisha!

    On 23 Apr 2022, alisha said the following...
    I would like to adjust the path of my MysticBBS from /home/mystic/mysticbbs to /mysticbbs is this possible? If yes it is
    enough to call mystic -cfg and change the path there, what else do I
    have to consider? Except that I have to make a backup of my MysticBBS first.

    You'll have to change the System Path (and check all the other paths, too) in Configuration --> System Paths, just like you say.

    You'll also need to check all paths in your startup scripts (e.g. systemd unit files).

    If you use the mysticbbs environment variable (in startup scripts, .bash_profile or /etc/profile etc.), you'll have to update that one, too.

    The mysticbbs environment variable is used by the MIS daemon to *not* have to specify the Mystic root directory on the command line when starting MIS (e.g. it makes it possible to run '/mysticbbs/mis daemon' from any directory instead of having to issue '/mysticbbs/mis root /mysticbbs daemon' or to have to change to /mysticbbs first and then issue './mis daemon'), and I know mutil nowadays (late A48) uses it to locate mutil.ini as well.

    Finally, if you have any paths hardcoded in your events, mutil.ini or other .ini files, don't forget to update those as well.

    Hope this helps!

    Best regards
    Zip

    --- Mystic BBS v1.12 A48 2022/04/03 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)