- Edited
Once your st 1.6ST you should be able to upgrade to 1.9.5.1 directly. (note I haven't tried, but that's the intent.) You simply cannot be running a pre 1.6ST version .
Once your st 1.6ST you should be able to upgrade to 1.9.5.1 directly. (note I haven't tried, but that's the intent.) You simply cannot be running a pre 1.6ST version .
When trying to update to anything past 1.7 I get the following error:Error: Contact system admin.I have checked that open tags are set to "on".Any other Ideas?Thanks,
We didn't quite get the information requested inPlease read before requesting assistanceYou gave us a one-liner:Apache on Ubuntu 12.04 LAMP serverWe really need more complete information. That should include your version of php, which may even be the issue here.Jack
Hi Jack,Here is the info:PHP - 5.3.10MySQL - 5.5.41Apache - 2.2.22Ubuntu - 12.04.1Thanks,
Ok, so your PHP version is NOT the problem. Have you tried turning on debugging? Below is from the wiki:http://osticket.com/wiki/Installation#Self-Help_TroubleshootingSelf-Help TroubleshootingIf you can not find any solutions to the problem you are having, you can enable the "Show Errors" flags located in /bootstrap.php (or /main.inc.php in older versions):
#Don't display errorsini_set('display_errors',0);
ini_set('display_startup_errors',0);Change this to:
ini_set('display_errors',1);ini_set('display_startup_errors',1);Then errors should be displayed either in your web browser or in your server's error.log file.
JackHi Jack,Those settings were already enabled in the bootstrap.php and as far as the error.log file located at /var/log/apache2 there is not allot in there: Graceful restart requested, doing restart Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.15 with Suhosin-Patch configured -- resuming normal operationsThat's it
There may be useful information in the access logs (rather than the error logs), depending on how Apache is configured.The errors should be appearing somewhere, since it's turned on.Jack
I just don't see anything in any log files pertaining to osticket. For learning purposes, I did do a backup of the osticket database and files once I got to 1.6ST. If I wanted to restore the osticket database to 1.6ST do I need to drop all the tables that are currently in the osticket database so that I have an empty osticket database before I import or is there a command that will overwrite or clear the database during the import?Thanks for all the help. This has been a great learning experience for me and I appreciate it!
This has gone beyond my ability to help, since I don't have any osTicket experience before 1.9.2. So, I'm hoping someone else will weigh in.Jack
You can just drop the database and re-create it.
Thank you ntozier. That's what I did:$mysql -u root -pmysql>DROP DATABASE osticketmysql>CREATE DATABASE osticketmysql>exitI then used phpmyadmin to import my backup, deleted everything under the /helpdesk directory, copied my 1.6ST backup files to that directory, and I am now back at 1.6ST :-)At this point I don't see how I'm going to get to 1.9.5 from 1.6ST. If I try to upgrade to anything above 1.7 I seem to get the "Error: Contact system admin." message.I think I'm going to go through a clean install of 1.9.5 on my home testbed and see how that goes. If it goes well I'll just do a clean install on our production server. Hate to lose 2 years worth of data but.....???Unless you have anything else to try??Thanks
The only code that I could find that produces this error message was in ost-config.php:#Install flagdefine('OSTINSTALLED',TRUE);if(OSTINSTALLED!=TRUE){ if(!file_exists(ROOT_PATH.'setup/install.php')) die('Error: Contact system admin.'); //Something is really wrong! //Invoke the installer. header('Location: '.ROOT_PATH.'setup/install.php');I don't have time right now to study this and understand it, but I think it may help.
So what do you think? Willing to give this one more shot to get from 1.6ST to 1.9.5.1
SUCCESS!I uploaded the 1.9.5.1 files replacing the files in my current 1.6ST installation then I deleted the ost-config.php file located under the /include directory. I was then able to login to the scp page and was greeted by the upgrade screen. The upgrade went right through with no errors. I created a few test tickets and all seems well. So the question is......do I need the ost-config.php file or does 1.9.5.1 use it anymore?Thanks,
Well that's interesting and kinda weird... The config file is necessary for the database connection since the database connection info (database host and name, username, password) is stored in the config file.
So are you really sure that there is no ost-config file anymore?! o_O
As far as I know it can't work without it.
Btw. Forgot to mention its great you finally managed the upgrade!
Just to be safe I recommend to take a backup, now you're on the latest version ;)
Hey chefkeks,There is an ostconfig.php file in the root of the install directory. If I remove that it breaks. I was not the original installer of this system so I don't know. The ost-sampleconfig.php is in the /include directory but that's it. Yes I did do a backup as soon as I was done :-).You have me a little worried about the ost file but....... I have backups of all installs.What do you think?
I think the upgrader function of the installer is buggy. I had to jump through hoops to get mine to work, and I had copied ost-config.php to ostconfig.php just for grins, based on the old wiki doc. It may have still been there when the upgrader finally worked. I eventually removed it, because the ost-config.php is there, and is current.I imagine I could duplicate this, but I just don't have the time.Jack