[Resolved] Blank page after install

    • May 19, 2020 at 3:46 pm #5786
      T
      maxtim
      Participant

      Hello,

      I’m trying to install osTicket 1.14.2 Awesome 101. After install, when I go to load the page, it’s blank. Inspecting to source, only DOCTYPE and the opening <html> tags are present. I suspect the issue may have something to do with permissions, but I’m not 100% on that.

      osTicket is install on my Debian 10 server at /var/www/html/osTicket. Within that folder lives ./uploads and ./scripts.

      I began by copying the osTicket directory to /var/www/html/osTicket-bak

      I then downloaded the zip on my Debian 10 user machine and used sftp to put it on my server. I unzipped the folder as a regular user and copied it from /home/myuser/ost-awesome/uploads to /var/www/html/osTicket/uploads using the following command:

      sudo cp -RTv ~/ost-awesome/uploads/ /var/www/html/osTicket/upload/

      I noticed that the files that were copied were root:root, so I:

      sudo chown -R www-data:www-data /var/www/html/osTicket

      I then copied the ost-config as described in the instructions and ensured 0644 permissions on the file.

      So that’s where I’m at. Since I have a backup of osTicket, I’m not sweating terribly anything. But I would like to get started with ost Awesome.

      I’ll continue trying to figure it out on my own, but I didn’t see any related posts, so I’m sort of in murky waters.

      ~regards

    • May 19, 2020 at 7:31 pm #5788
      T
      maxtim
      Participant

      Apache2 error log:

       

      [Tue May 19 21:53:14.610022 2020] [mpm_prefork:notice] [pid 4504] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1g mod_wsgi/4.6.5 Python/3.7 configured -- resuming normal operations
      [Tue May 19 21:53:14.610097 2020] [core:notice] [pid 4504] AH00094: Command line: '/usr/sbin/apache2'
      [Tue May 19 21:58:57.425056 2020] [php7:warn] [pid 4508] [client 192.168.1.1:scrub] PHP Warning:  require_once(/var/www/html/osTicket//osta/php/functions.php): failed to open stream: No such file or directory in /var/www/html/osTicket/upload/include/staff/header.inc.php on line 23, referer: https://timfinley.ga/osTicket/scp/system.php
      [Tue May 19 21:58:57.425220 2020] [php7:error] [pid 4508] [client 192.168.1.1:scrub] PHP Fatal error:  require_once(): Failed opening required '/var/www/html/osTicket//osta/php/functions.php' (include_path='./:/var/www/html/osTicket/upload/include/:/var/www/html/osTicket/upload/include/pear/') in /var/www/html/osTicket/upload/include/staff/header.inc.php on line 23, referer: https://timfinley.ga/osTicket/scp/system.php
      [Tue May 19 21:59:01.774518 2020] [php7:warn] [pid 4544] [client 192.168.1.1:scrub] PHP Warning:  require_once(/var/www/html/osTicket//osta/php/functions.php): failed to open stream: No such file or directory in /var/www/html/osTicket/upload/include/staff/header.inc.php on line 23
      [Tue May 19 21:59:01.774586 2020] [php7:error] [pid 4544] [client 192.168.1.1:scrub] PHP Fatal error:  require_once(): Failed opening required '/var/www/html/osTicket//osta/php/functions.php' (include_path='./:/var/www/html/osTicket/upload/include/:/var/www/html/osTicket/upload/include/pear/') in /var/www/html/osTicket/upload/include/staff/header.inc.php on line 23
      [Tue May 19 21:59:10.593452 2020] [php7:warn] [pid 4543] [client 192.168.1.1:scrub] PHP Warning:  require_once(/var/www/html/osTicket//osta/php/functions.php): failed to open stream: No such file or directory in /var/www/html/osTicket/upload/include/staff/header.inc.php on line 23
      [Tue May 19 21:59:10.593518 2020] [php7:error] [pid 4543] [client 192.168.1.1:scrub] PHP Fatal error:  require_once(): Failed opening required '/var/www/html/osTicket//osta/php/functions.php' (include_path='./:/var/www/html/osTicket/upload/include/:/var/www/html/osTicket/upload/include/pear/') in /var/www/html/osTicket/upload/include/staff/header.inc.php on line 23
      [Tue May 19 22:10:05.531793 2020] [php7:warn] [pid 4546] [client 192.168.1.1:scrub] PHP Warning:  require_once(/var/www/html/osTicket//osta/php/functions.php): failed to open stream: No such file or directory in /var/www/html/osTicket/upload/include/client/header.inc.php on line 17
      [Tue May 19 22:10:05.531830 2020] [php7:error] [pid 4546] [client 192.168.1.1:scrub] PHP Fatal error:  require_once(): Failed opening required '/var/www/html/osTicket//osta/php/functions.php' (include_path='./:/var/www/html/osTicket/upload/include/:/var/www/html/osTicket/upload/include/pear/') in /var/www/html/osTicket/upload/include/client/header.inc.php on line 17
    • May 19, 2020 at 7:46 pm #5789
      T
      maxtim
      Participant

      I fixed it.

      I needed to fix my Apache2 conf file for osTicket, then move the contents to the root /var/www/html/osTicket directory

    • May 19, 2020 at 10:51 pm #5813
      stevland
      Keymaster

      Hi @maxtim,

      I see two problems with the paths above.

      /var/www/html/osTicket//osta/php/functions.php

      has one too many forward // slashes.

      And 

      /var/www/html/osTicket/upload/include/

      includes the /upload directory, which shouldn’t be uploaded. The contents of the /upload directory should be uploaded, not the directory itself. 😉

      In any event, I’m glad you managed to sort this out. Thanks for posting your solution.

You must be logged in to reply to this topic.