Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Migrating files from database to filesystem

osTicket version 1.10 (901e5ea)
Apache 2.4.10
MySQL (MariaDB) 1.0.28
PHP 5.6.27-0+deb8u1

I am trying to invoke php manage.php file migrate -b D -m F but wind up with the error:
PHP Fatal error:  Call to a member function logError() on null in /var/www/osticket/include/class.error.php on line 33

In searching the forum, I noticed some people fixed their issue by commenting out line 33 in that file. When I do so, I get this error:
IOError: /var/www/osticket/attachments/e/eB8Mk2jmj7l5rSw0yVb_vlWAYkK_YBwk: Unable to open for reading

I am out of ideas of how to further troubleshoot. Any advice is appreciated.

Comments

  • "IOError: /var/www/osticket/attachments/e/eB8Mk2jmj7l5rSw0yVb_vlWAYkK_YBwk: Unable to open for reading"

    This sounds like permission issue.  Can you confirm that the file is readable by the webserver user?
  • I think it's not a permissions issue actually and more similar to:
    (filesize is 0--not sure why this happens?)

    I've just been leaving the attachments in the DB but would like to know if there is any workaround at all.
Sign In or Register to comment.