Hi all,

When i upgrade osticket i`m having an error.

What i did:

1.Backup the database.

2.Backup the whole osticket folder.

3.Put the ticket system offline.

4.copy the "upload" folder to overwrite the existing "upload" folder.

5. opend chrome and wend to "osticket/upload/scp/upgrade.php"

After a wile i receive this error:

Warning: strpos(): Empty delimiter in /volume1/web/osticket/upload/include/class.misc.php on line 147 Fatal error: Maximum execution time of 240 seconds exceeded in /volume1/web/osticket/upload/include/class.misc.php on line 149

Can someone help me with this error.

Thanks in advanced

Greeds

Palermo

We posted a new download zipfile to address this issue today. Please download osTicket 1.7.1 and give it another whirl. Sorry about the troubles.

And by 1.7.1 he means 1.7.1.1 available here:

https://github.com/osTicket/osTicket-1.7/tree/v1.7.1.1(https://github.com/osTicket/osTicket-1.7/tree/v1.7.1.1)

And by 1.7.1 he means 1.7.1.1 available here:

https://github.com/osTicket/osTicket-1.7/tree/v1.7.1.1(https://github.com/osTicket/osTicket-1.7/tree/v1.7.1.1)

Fix also rolled out to v1.7.1 available here http://osticket.com/downloads(http://osticket.com/downloads)

We posted a new download zipfile to address this issue today. Please download osTicket 1.7.1 and give it another whirl. Sorry about the troubles.

Oh no no problem.

I downloaded the new version and did the upgrade. The upgrade was successfully.

I only have an error in the top of the screen.

Warning: strpos(): Empty delimiter in /volume1/web/osticket/upload/include/class.misc.php on line 149

But is seem that the rest is working as it should.

Jared, ntozier,peter Thank you for your help.

OSTicket gives us a good overview of the small problems and time we spend on it. Thx we are using it alot. :-)

osticket01.PNG

Do yet another update, we just did a hotfix to address the issue. Thank you for the feedback.

Fix also rolled out to v1.7.1 available here http://osticket.com/downloads(http://osticket.com/downloads)

I`f downloaded the version from this location

https://github.com/osTicket/osTicket-1.7/releases(https://github.com/osTicket/osTicket-1.7/releases)

version v1.7.1.1

May be the wrong download place?

Still the message in the top of the screen (picture osticket03)

Warning: strpos(): Empty delimiter in /volume1/web/osticket/upload/include/class.misc.php on line 149

Also this occurs (Picure osticket02)

the Prerequisites: validation shows me a X instead of V :-)

The button "start upgrade now" does not work.

But may be that is the result of the Prerequisites error!?

I`m back on 1.7.1.1 with only the error on the top (like in post #5)

If i need to test more please let me know

Thanks for helping me so far.

osticket02.PNG

osticket03.PNG

Found the fix for this error: Warning: strpos(): Empty delimiter in

The error "Warning: strpos(): Empty delimiter in" is located in the "include/class.misc.php" file.

If you edit the file, go to line 144 instead of 149. 149 is calling on 144 and it doesn't find it.

Just remove the exclamation point on line 144

Original: "if (!$_SERVER)"

Edited: "if ($_SERVER)"

Worked for me, let me know if it works for you.

Thanks

If you edit the file, go to line 144 instead of 149. 149 is calling on 144 and it doesn't find it.

Just remove the exclamation point on line 144

Original: "if (!$_SERVER)"

Edited: "if ($_SERVER)"

Thanks

Thank you aestremera it works for me as well thank you.

But is there a function that i`m missing now? or is it just cosmetic

Thx in advanced

Upgrade error

I am also trying to upgrade from 1.7.0 to 1.7.1.1

I followed the Upgrade notes in the Wiki

I downloaded and unzipped the new version into the current base directory which created a new upload folder.

The Wiki says to run http:/www../setup/upgrade.php, but I was directed to delete the /setup folder during the 1.7.0 install, so I restored the setup folder from backups and updated it from ./upload/setup/

I then ran http:/www../setup/upgrade.php and got the following:

Nothing to do! System already upgraded to 1.7.0 with no pending patches to apply.

7 days later

I am also trying to upgrade from 1.7.0 to 1.7.1.1

I followed the Upgrade notes in the Wiki

I downloaded and unzipped the new version into the current base directory which created a new upload folder.

The Wiki says to run http:/www../setup/upgrade.php, but I was directed to delete the /setup folder during the 1.7.0 install, so I restored the setup folder from backups and updated it from ./upload/setup/

I then ran http:/www../setup/upgrade.php and got the following:

Nothing to do! System already upgraded to 1.7.0 with no pending patches to apply.

Thanks for reporting this. I corrected the Wiki article: you don't need to visit the magical 'setup/upgrade.php' page anymore.

You should be able to unpack your upload/ folder over you current base folder. When you login or refresh the admin portal, the upgrade wizard should automatically appear and guide you through the migration.

Remove the setup folder when you are finished.

Cheers,

Thanks for updated wiki. I followed the new instructions and got the following error:

: Upgrader Error

Table '`osTicket`.`ost__config`' already exists

which aborted the upgrade.

DHughes, did the upgrade abort previously? That problem seems to indicate a yes. The issue now is that I think the system should have dropped your previous config table and have a new config table named 'ost__config' (double underbar).

Check your database with your favorite database viewer and see if you have an ost_config and an ost__config. Also, let me know what data (in terms of how many rows) are in each. I'll let you know what you should do.

Cheers,

Although the update has failed several times, I restore both the directory and database from backups before trying again, and I would not think that there would be any residuals from the previous failures.

After the last attempt referenced above, I have an 'ost_config' (single underbar) in the database with a single record.

Then you should be able to drop the ost__config (with double underbars) and retry the upgrade

No ost__config

Sorry, maybe I was not clear. I do not have an ost__config file to drop, only the ost_config with the single record.

More information

I tried creating the ost__config table manually in Mysql and it also failed because it already existed. I then tried a DROP ost__config which failed because it did not exist (?!?). I exported the osTicket tables, DROPped the database, recreated the database, and imported the tables. and then re-ran the upgrade which worked correctly this time.

Write a Reply...