Quantcast
Channel: Troubleshooting and Problems Discussions on osTicket Forums
Viewing all 568 articles
Browse latest View live

MySQL Crashes Frequently

$
0
0
I'm beginning to see the following 2-3 times per day.

Unable to connect to the database -Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)

During this time, mysql logs show following:

[root@osticket ~]# tail -f /var/log/mysqld.log 

InnoDB: the log sequence number in the ib_logfiles!

180811 10:27:14  InnoDB: Database was not shut down normally!

InnoDB: Starting crash recovery.

InnoDB: Reading tablespace information from the .ibd files...

InnoDB: Restoring possible half-written data pages from the doublewrite

InnoDB: buffer...

180811 10:27:15  InnoDB: Started; log sequence number 0 2840103775

180811 10:27:15 [Note] Event Scheduler: Loaded 0 events

180811 10:27:15 [Note] /usr/libexec/mysqld: ready for connections.

Version: '5.1.73'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution




I had recently checked mysql using the below command, a few open tables were found & nothing else.
mysqlcheck -o ost -p

Please help!!

Thanks

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Courier; color: #dafeef; background-color: #000000}
span.s1 {font-variant-ligatures: no-common-ligatures}

Upgrade 1.9.15 to 1.10 error

$
0
0
PHP: 5.5 (ost v1.10 upgrade summary says its compatible)
OS: Ubuntu 14.04 LTS
MySQL: 5.7

I'm getting:
[SELECT A1.* FROM `ost_translation` A1 WHERE (A1.`lang` = 'en_US' AND
A1.`type` = 'phrase')] Table 'ost_database.ost_translation' doesn't
exist
This error repeats 7 times and then the upgrade script stops.

If I click to upgrade again, I get other errors similar to this:
[INSERT INTO `ost_role` SET `flags` = 1, `name` = 'Administradores
Role', `notes` = 'Administradores', `created` = NOW(), `permissions` =
'{\"ticket.create\":1, \"ticket.edit\":1, \"ticket.assign\":1,
\"ticket.transfer\":1, \"ticket.reply\":1, \"ticket.close\":1,
\"ticket.delete\":1, \"task.create\":1, \"task.edit\":1,
\"task.assign\":1, \"task.transfer\":1, \"task.reply\":1,
\"task.close\":1, \"task.delete\":1, \"canned.manage\":1,
\"emails.banlist\":1}', `updated` = NOW()] Duplicate entry
'Administradores Role' for key 'name'

And if I keep clicking to upgrade I always get different errors over and over until it quits to a screen saying "Upgrade Aborted"

I tried truncating ost_role table, pre-creating ost_translation, but I always get a new error about some table already created or non-existence table errors. I could do a manual upgrade but I don't know how to do it.

Error? Bug? Installation Error?

$
0
0
Hi all,

I'm new to OSTicket. I've installed new osticket server in our network. I've installed it under debian package. All went well, as well as setup of admin. However, there is a blank page that appears when I want to do something. i.e Delete my test ticket, change status to close, manage account and etc. Please see the  link.


TIA!

Woodie

Email Problem

$
0
0
OS: Debian
W.S: Apache2
PHP Version: PHP7
Mail Server: Exchange Server

My setup with our osticket was good and running in our domain. I've tried sending a diagnostic email to some email addresses (run by our mail server) and tried adding users from different email addresses. It's just strange because when I tried to send a diagnostic email and register as a user using our email on our domain it users/client does not receive any emails or notification from our osticket server.  

DB-Error after try to use advanced search

$
0
0
I tried to use the advanced search function.
I have not done anything essential.
Suddenly I get this database error.

I can not do anything anymore.
No matter which site I call, I always get this error.

What can I do ?



Fatal error: Uncaught exception 'InconsistentModelException'
with message 'Unable to prepare query: SELECT COUNT(*) FROM (SELECT
A1.`ticket_id` FROM `OC1_ticket` A1 WHERE ) __' in
/var/www/
XXXXXXXX/include/class.orm.php:3134
Stack trace:
#0
/var/www/
XXXXXXXX/include/class.orm.php(3189):
MySqlExecutor->execute()
#1
/var/www/
XXXXXXXX/include/class.orm.php(2644):
MySqlExecutor->getRow()
#2
/var/www/vhosts/
XXXXXXXX/include/class.orm.php(1193):
MySqlCompiler->compileCount(Object(QuerySet))
#3
/var/www/
XXXXXXXX/scp/tickets.php(525):
QuerySet->count()
#4
/var/www/
XXXXXXXX/scp/index.php(28):
require('/var/www/vhosts...')
#5 {main}
thrown in /var/www/vhosts/XXXXXXXX/include/class.orm.php on line 3134

Stylesheet not working after post request

$
0
0
Sometimes after a post request the page returned doesn't shows the stylesheet. Only the html appears. (it also happens occasionally on a normal request) 
In the console I get the following error:  
Uncaught ReferenceError: $ is not defined

After a few refreshes the page displays normal. 

What could be the problem of this? I think it might have to do something with the cache? 

Hope someone has encountered and solved this problem before? 


Problem with cron.php

$
0
0
We started not receiving tickets, so I ran cron.php from the command line

 /usr/bin/php /var/www/html/api/cron.php
PHP Fatal error:  Uncaught Error: Class name must be a valid object or a string in /var/www/html/include/class.forms.php:1018
Stack trace:
#0 /var/www/html/include/class.dynamic_forms.php(599): FormField->getImpl(Object(DynamicFormField))
#1 /var/www/html/include/class.dynamic_forms.php(76): DynamicFormField->__call('getImpl', Array)
#2 /var/www/html/include/class.dynamic_forms.php(530): DynamicForm->getFields()
#3 /var/www/html/include/class.filter.php(308): Bootstrap::{closure}()
#4 /var/www/html/include/class.filter.php(321): Filter::getSupportedMatches()
#5 /var/www/html/include/class.filter.php(711): Filter::getSupportedMatchFields()
#6 /var/www/html/include/class.ticket.php(3041): TicketFilter->__construct('Email', Array)
#7 /var/www/html/include/class.ticket.php(3182): Ticket::filterTicketData('Email', Array, Array, Object(User))
#8 /var/www/html/include/class.mailfetch.php(796): Ticket::create(Array, Array, 'Email')
#9 /var/www/html/include/class.mailfetch.php(845): MailFetcher->createTicket(27)
#10 /var/www/html/inclu in /var/www/html/include/class.forms.php on line 1018

I've seen similar but not identical issues with PHP 7, even tried patching class.forms.php from git 
but no joy

osTicket Versionv1.10.1 (9ae093d) —  Up to date
Web Server SoftwareApache/2.4.10 (Debian)
MySQL Version5.5.60
PHP Version7.1.20-1+0~20180910100430.3+jessie~1.gbp17c613

it's a debian jessie system, everything else seems to function ok except getting tickets 
any pointers ?


Export "Last Updated" column returns same value as "Date" created column

$
0
0
When I export to .csv, It would be helpfull to get the "Last Updated" column filled with the last updated values instead of the same values as "date" column!
Is it a bug that can be fixed quickly?

Viewing all 568 articles
Browse latest View live