Announcement

Collapse
No announcement yet.

Pre-sales Quesitons

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wayne Luke
    replied
    There are no notifications on Likes at this time. Please ask any further support questions in the appropriate forum.

    Leave a comment:


  • Ryu_gr
    replied
    Thank you very much! In the end i decided to upgrade via browser and it worked like a charm without a single interruption this time! So now our forum is on VB 5.5.5 now

    If you allow me, one off-topic question: Users do not get a notification when a new like is done in their posts. In Settings > Notification i see only "Enable Usermention Notifications". Can this be done on post Likes too? Sorry for the off-topic, my next questions will be on the relevant topics.

    Leave a comment:


  • Joe D.
    replied
    "config_cli.php.new" is only used for new installs via command line which are very rare. Not necessary for upgrades, just ignore. The /core/includes/config.php must have the important information that was previously in the /includes/config.php file in VB4. Copy over the database credentials and various userids from the old file.

    Leave a comment:


  • Ryu_gr
    replied
    I also found "config_cli.php.new" in core/includes folder. Should i edit this one too if i want to upgrade from VB4 to VB5 via SSH instead of browser? And if yes, how do i edit it? It doesn't have fields for database.

    Thank you for your patience.

    Leave a comment:


  • Wayne Luke
    replied
    Neither is safer than the other. If you have access to your SSH then you have already validated via an encrypted password or key file. If you access via the Web, we have no idea who you are and ask you to verify your identity with your Customer ID. The customer ID prevents some schmo from the internet coming along and running the install script to delete your database.

    Yes. vBulletin 5.X has two configuration files... A presentation configuration file and a core configuration file. Both are necessary for the software to work properly. The presentation file does not ask for database credentials. You shouldn't add them to it. The variables it uses are listed in the file. In 99% of instances, the only thing you need to do is rename the file as specified in the instructions.
    Last edited by Wayne Luke; Mon 18th Nov '19, 10:37am.

    Leave a comment:


  • Ryu_gr
    replied
    Originally posted by Wayne Luke View Post
    Upgrading via the command line does not ask for your customer ID. If you have command line access to the server, then this actually provides no security.
    So you would you recommend using the SSH command line? I would like to do it to avoid re-running the script on install/upgrade.php over and over again due to time-out, however if you believe the latter is the safest method, although not fastest i would choose that.

    Originally posted by Wayne Luke View Post
    1) You would rename these as stated in the upgrade instructions.
    So this means i would have 2 config.php files. On in root directory and one in the /core/includes/ folder. Shall i enter database connection credentials on both?

    Leave a comment:


  • Wayne Luke
    replied
    If you have vBulletin in your root directory, then you would install vBulletin 5 in the same directory. You would still delete the vBulletin 4.X files before uploading vBulletin 5.

    Upgrading via the command line does not ask for your customer ID. If you have command line access to the server, then this actually provides no security.

    1) You would rename these as stated in the upgrade instructions.
    2) You cannot run the vBulletin 5 upgrade script with PHP 5.6. The minimum supported version is 7.1. In 2020, the minimum required version will be increased to PHP 7.2. I recommend upgrading to PHP 7.3 when upgrading to vBulletin 5.5.5.

    Leave a comment:


  • Ryu_gr
    replied
    Thank you for the reply!

    My VB4 is in my server's the root directory so i cannot rename it. So per instructions i assume i must delete all VB4 files (keep a backup of course) except for those i should keep (e.g. only the images/smilies folder because attachments and avatars are kept in the database in my case).

    Then, i should upload the contents of "upload" folder of the vb5 bundle in my server's root directory, modify the /core/includes/config.php accordingly with my database details and then run the upgrade script before keeping a database backup also.

    Originally posted by Joe D. View Post
    run the upgrade via the command line
    I see that i should connect via SSH using for example PuTTY, go to /core/install directory and type "php -f upgrade.php" per https://www.vbulletin.com/docs/html/upgrade_cli. I suppose if i press enter and is everything ok i will be asked to type the Customer ID or any other info similarly to http calls with the browser and then wait for the upgrade process to complete?

    Finally, 2 more questions:
    1) i notice the files "htaccess.txt" and "config.php.bkp" in the vb5 upload directory. Do i touch those files or just leave them as is?
    2) I use PHP 5.6 now, should i change it to a newer version before running the upgrade script?
    Last edited by Ryu_gr; Sun 17th Nov '19, 2:11pm.

    Leave a comment:


  • Joe D.
    replied
    Yes you can restart the upgrade when it timesout like in VB 4.x however if you had that many tiemouts it will likely be worse as the upgrade to VB 5.x is a massive changes to the structure of your database. You should see if your host can offer to give you command line access so you can run the upgrade via the command line, or if not, see if they would be willing to run the command line script for you.

    As for the upgrade itself. VB5 must be installed into an empty folder, so you should rename the the old folder (with VB4), create a new folder of the same name, upload VB5, copy over the necessary files from old folder to new one (and new locations, likely inside /core/ directory) including custom aavatars, custom smilieys, and attachments if stored in the database inside your forum's main directory, whatever that may be. You can copy the important values from your old /includes/config.php to your new /core/includes/config.php file. (You can copy the values but not the entire file.) You can also copy any images you need for your /images/ directory.

    Then run the upgrade script.

    Be sure you have taken a FULL BACKUP, both files and database, of your old version before attempting the upgrade.

    When the upgrade is complete there will only be one working forum, the VB5 install. though you may have old copies of the VB4 files you can dispose of once you are certain you no longer need them.

    Leave a comment:


  • Ryu_gr
    replied
    Thanks for your help, i have completed update from 4.0.2 to 4.2.5 a few months ago and now i consider updating from 4.2.5 to 5.5.5.

    My first concern is that the 4.0.2 > 4.2.5 update caused a lot of server time-outs (sorry i have not taken a note of the exact error name) and i was forced to run install/upgrade.php over and over again (about 30 times). Thankfully, the process continued from where it was left off. Even though i use shared hosting, my hosting company is reputable (Hostinger) and i don't think our site gamers-odyssey.net is that big to justify so many interruptions. So my question is, since chances are the update to VB 5.5.5 will stop at random steps, will i be able to re-run the update wizard and resume it like i did with VB4?

    Also, instructions from 4.2.5. to 5.5.5 are pretty straight-forward: https://forum.vbulletin.com/forum/vb...etin-5-connect
    My question here is when the update to 5 completes, will i be left with 2 versions of VB; one at root directory and one at vb5 folder or the VB4 will be gone after the update is complete?

    Leave a comment:


  • Joe D.
    replied
    Sorry I thought I responded to this. Yes you can turn it back on, it's even in the same place in the new Admin CP.

    Leave a comment:


  • JanateSandy
    replied
    Thank you for the advice. Whichever process i take, i will first go to "Settings > Options > Turn your vBulletin On and Off" and turn vBulletin Off.

    Of course, if everything goes well with the new version, i will be able to turn it on again using the newest admin version, right?
    Last edited by Wayne Luke; Tue 2nd Jul '19, 8:45am.

    Leave a comment:


  • Joe D.
    replied
    Yes, it will be at the same place in the Admin CP.

    Be sure you do a FULL SITE BACKUP before any upgrade.

    Leave a comment:


  • Ryu_gr
    replied
    Thank you for the advice.

    Whichever process i take, i will first go to "Settings > Options > Turn your vBulletin On and Off" and turn vBulletin Off.

    Of course, if everything goes well with the new version, i will be able to turn it on again using the newest admin version, right?
    Last edited by Ryu_gr; Sun 30th Jun '19, 6:12am.

    Leave a comment:


  • Wayne Luke
    replied
    You can upgrade from 4.0.2 to 5.5.X directly. However, upgrading to 4.2.5 first gives you an intermediate spot so you can create another database and have a better starting point for upgrading to vBulletin 5. The vBulletin 5 upgrade process can be a long one due to migrating all your data to new storage formats. That interim step allows you to save some time if something goes wrong during the process.

    Leave a comment:

Related Topics

Collapse

Working...
X