I'm trying to create another instance of our Osticket v1.12 system in another Cpanel,
I have made a backup of the files/folders and the database, then i put website offline and disabled email fetching.
I imported the database, send the files to the new hosting
And when i tried to open admin Osticket, the system asked to update
I got message
System update is pending Update now
The updater does NOT support updating from the current patch

Can someone help?

    tito23

    Seems like you're using an older or newer version of osTicket with an existing database. You will need to either copy your codebase from the old system or find an older archive of the official release that matches your database.

    Cheers.

    I think that your PHP is too new for such an old version.
    I'm not sure about the MySQL version...
    1.12 is really old and no longer supported.

    I found the issue, it was a wrong database
    Now, i have another issue, trying to upgrade from 1.12 to 1.14
    It took too many time and failed
    I found this error log
    [01-May-2022 17:09:50 UTC] PHP Fatal error: Uncaught Error: Call to a member function set() on null in /disk2/dev8/public_html/include/class.schedule.php:370
    Stack trace:
    #0 /disk2/dev8/public_html/include/upgrader/streams/core/00c949a6-8b923d61.task.php(9): Schedule::create(Array)
    #1 /disk2/dev8/public_html/include/class.upgrader.php(348): ScheduleCreator->run(30)
    #2 /disk2/dev8/public_html/include/class.upgrader.php(121): StreamUpgrader->doTask()
    #3 /disk2/dev8/public_html/include/ajax.upgrader.php(35): Upgrader->
    call('doTask', Array)
    #4 /disk2/dev8/public_html/include/class.dispatcher.php(145): UpgraderAjaxAPI->upgrade()
    #5 /disk2/dev8/public_html/include/class.dispatcher.php(38): UrlMatcher->dispatch('/upgrader', NULL)
    #6 /disk2/dev8/public_html/scp/ajax.php(316): Dispatcher->resolve('/upgrader')
    #7 {main}
    thrown in /disk2/dev8/public_html/include/class.schedule.php on line 370

      tito23

      1.14.x is no longer supported. You will need to upgrade to 1.15.x.

      Cheers.

      I tried to update to v1.15.7 and i got the same error message

      @tito23

      That is interesting. I've only seen 1 other report of this (ever) and they never responded back on if/how they resolved their issue. I cannot replicate this so I am unsure what the issue is. I would definitely restore from backup and retest but make sure you have all the prerequisites met and all required PHP extensions installed. I would also say that after you copy the new code on top of your current code restart the webserver and clear your browser session to make sure nothing is being cached.

      Cheers.

      This is the line with the error (line 2)

      $s = static::create($vars);
      $s->set('created', new SqlFunction('NOW'));

      The database it too big about 50G, the error seems to be related to the database, no?
      Regards.

      Write a Reply...