This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Upgrade old sentora (.io) to new (.org)
#1
Upgrade old sentora (.io) to new (.org)
make a php script

and paste

Code:
<?php
$username = "root";
$password = "ROOTMYSQLPASSWORD"; //you root mysql password
$database = "zpanel_core";

$con = mysql_connect("localhost", "$username", "$password");
mysql_select_db("$database");
if(!$con)
    {
   die(mysql_error());
   }
   else {
mysql_query("UPDATE x_settings SET so_value_tx  = 'http://api.sentora.org/latestnews.json' WHERE so_id_pk = '18'");
mysql_query("UPDATE x_settings SET so_value_tx  = 'http://api.sentora.org/latestversion.json' WHERE so_id_pk = '19'");

echo "done";
echo "<br />";
echo "Remember to delete file";
}
mysql_close($con);
?>

upload script to a webside on you server and run

remember to delete file after you are done
Sentora 1.0.3 on [Image: DO_Logo_Horizontal_Blue-3db19536.png]

-= Github =-  -= My Repo =-

My Modules
Reply
Thanks given by:
#2
RE: Upgrade old sentora (.io) to new (.org)
You can also copy, paste and exec these two lines in console :
Code:
setso --set news_url http://api.sentora.org/latestnews.json
setso --set update_url http://api.sentora.org/latestversion.json

But, if I'm right, the module check for out of date and upgrade was prepared but was never completed nor active. I'm not sure at all that these two entries are used.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
PLEASE HOW DO I UPGRADE FROM 5.1 TO 7.4 franselect 4 16 ,905 04-22-2021, 04:47 PM
Last Post: PromptAttestation
Upgrade Kinda Work - Domain Issues Now ppcseopro 6 25 ,808 04-18-2020, 10:14 AM
Last Post: Jettaman
How to upgrade php and mysql version? davidlambda 4 30 ,449 03-11-2020, 06:16 PM
Last Post: davidlambda

Forum Jump:


Users browsing this thread: 1 Guest(s)