Hi there!
After a correct installation process obtained following al the steps here https://docs.osticket.com/en/latest/Getting%20Started/Installation.html#getting-started I can't log-in in the administration panel.

Note that searching on this forum I found many similar issue but none of these was useful for me.
I tried to:

  • modify password through mysql panel, setting a password using MD5 function
  • re-upoload files from the zip package after the installation process (main.inc.php and class.ostsession.php)

I'm running:

  • OSticket 1.16.1
  • PHP 8.0
  • MYSQL 5.7.32-35-log

/url that you are going to?
Error messages?
webserver?

    ntozier

    Thanks for fast reply:

    • The url is https://www.mysite.com/osticket/scp/login.php

    • I'm stuck on this page: every time I wrote user and password I obtain "Authentication Required" (see the image obtained afeter I put user and password)

    • Nothing from the php logs

    • The sever is:
      webx1326
      Linux
      Memory limit: 1024M
      Upload max file size: 128M

    Hmm. Are you using username or email address of the agent login?

    Apache? Lightspeed? NGINX?

    Are you running something like SELinux?

      @MadMax01 just a friendly suggestion: if this is your first installation of osTicket, you'd better remove all tables from the database that used by your osTicket installation, and then re-install again, and make sure you have already written down the admin's username and password correctly. If necessary, save the credentials in a saved place.

        masino_sinaga
        Hi, I think I removed from the server all the folder about the installation: do you mean, instead to remove all the tables from the data base and re-install OSTicket from the start again?
        If yes, I have tried also this solution and yes, I'm sure that username and password was well written .

          ntozier
          Hi,
          I tried to use both: username but also with e-mail address obtain the same results.
          my provider is Aruba.it they use Apache
          I'm not sure about the SELLinux: I can't find nothing about it on the admin panel

          MadMax01 Yes, just remove all the tables from current database, if that is your first installation, and then re-install again by using another username and password for admin login, to make sure you will use the new one.

            masino_sinaga
            did it. Unfotunatelly nothing changes.
            If ntozier will not has some other suggestion I will try again in this way and then I will try to re-install an older version od OSTicket

            @MadMax01

            Question:
            You are typing your full email address to login right? If not, that's going to be your issue. Otherwise, see below.

            Login to MySQL and run the following query (replace 123 with the Staff ID for the admin):

            UPDATE `ost_staff` SET `passwd` = '$2a$08$9DtXVUWyJ3YNpEhuf/eqpugOYUAZNW3OtHKBg98bauul86anoHjPe' WHERE `staff_id` = 123;

            This will set the Admin's password to password. After this runs try to login.

            Cheers.

              @MadMax01

              Then I have no clue what's going on with your install. I would make a fresh, new install to see if something went wrong in the previous install. I am unable to replicate this issue so unfortunately I don't have much suggestions.

              Cheers.

                KevinTheJedi
                Hi all.
                Meanwhile I tried to install the previous version of osticket and...IT WORKS!
                I also tried to install the same version on one other web space with windows os and...IT WORKS.

                I made the same step but I note that this guide is not so precise: [https://docs.osticket.com/en/latest/Getting%20Started/Installation.html]https://docs.osticket.com/en/latest/Getting%20Started/Installation.html)

                They wrote:
                _

                osTicket installer needs to be able to write and modify ost-config.php found in the include directory. Please follow the instructions given by the installer.

                _

                But the file does not exists in the folder. Exists ost-sampleconfig.php so I create a new file named as expected and tried to change the value in it. During the installation process osTicket for sure wrote in it again the same parmeter I put in the form. At the end as you all know was not possible to log-in in the admin panel

                Using the older version of osTicket and changing the server version from Linux to Windows, I tried not changing the naming of the file I said above. During the installation progress I obtain a message that said me to rename the sample file!
                After the file rename I continued the process and finished it.
                As I wrote, It works.

                  MadMax01

                  Yea part of the install steps is to copy the include/ost-sampleconfig.php to include/ost-config.php, then change the permissions to 0666, then install, then change permissions for the file back to 0644. The install wizard explicitly states this.

                  Cheers.

                  7 months later
                  Write a Reply...