HI Everyone,
I deployed a change to the system and the FQDN has changed to http://host.example.com, how would i ammed this in the database to get the address working again?
URL messed up and can't access
Moderator: crythias
-
- Znuny newbie
- Posts: 9
- Joined: 19 Aug 2019, 10:26
- Znuny Version: 6.0
- Real Name: Nathan
- Company: Solidblueliquid
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: URL messed up and can't access
Hello Nathan,
What changes have you made? Just messing with the OTRS config FQDN shouldn't be the cause.
You can change config values with a shell command, for example:
Best regards
Emin
What changes have you made? Just messing with the OTRS config FQDN shouldn't be the cause.
You can change config values with a shell command, for example:
Code: Select all
su -c "/opt/otrs/bin/otrs.Console.pl Admin::Config::Update --setting-name FQDN --value 'newhost.example.com'" -s /bin/bash otrs
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny newbie
- Posts: 9
- Joined: 19 Aug 2019, 10:26
- Znuny Version: 6.0
- Real Name: Nathan
- Company: Solidblueliquid
Re: URL messed up and can't access
That hasn't worked, i tried;
when you try and go to support.solidblueit.co.uk it just redirects to host.example.com, i tried the customer url as well and it does the same help.solidblueit.co.uk
I can't remember exactly what was changed but the FQDN was the only thing i can think off... is there a way i I can search for the host.example.com and update it to support.solidblueit.co.uk ?
Code: Select all
[root@otrs Files]# su -c "/opt/otrs/bin/otrs.Console.pl Admin::Config::Update --setting-name FQDN --value 'support.solidblueit.co.uk'" -s /bin/bash otrs
Updating setting value...
Done.
[root@otrs Files]#
I can't remember exactly what was changed but the FQDN was the only thing i can think off... is there a way i I can search for the host.example.com and update it to support.solidblueit.co.uk ?
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: URL messed up and can't access
Looks like you've enabled 'LoginURL', which will redirect your agent login screen (default: /otrs/index.pl)
I am not sure if you can reset a config with a command, but you can fool perl by setting the value to '0', like this:
After your login, search for the config 'LoginURL' and reset that & 'CustomerPanelLoginURL' by pressing 'Reset setting', and deploy the changes.
Best regards
Emin
I am not sure if you can reset a config with a command, but you can fool perl by setting the value to '0', like this:
Code: Select all
su -c "/opt/otrs/bin/otrs.Console.pl Admin::Config::Update --setting-name LoginURL --value 0" -s /bin/bash otrs
Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny newbie
- Posts: 9
- Joined: 19 Aug 2019, 10:26
- Znuny Version: 6.0
- Real Name: Nathan
- Company: Solidblueliquid
Re: URL messed up and can't access
That worked but the setting you told me to search for where normal... so i think i'm okay!
-
- Znuny newbie
- Posts: 9
- Joined: 19 Aug 2019, 10:26
- Znuny Version: 6.0
- Real Name: Nathan
- Company: Solidblueliquid
Re: URL messed up and can't access
Okay so not working quite as I would like, the support address works but the help.solidblueit.co.uk doesn't just gives me redirect errors... I can't see anything in the log files so not sure whats causing this.
Any help would be appreciated
Any help would be appreciated
-
- Znuny newbie
- Posts: 9
- Joined: 19 Aug 2019, 10:26
- Znuny Version: 6.0
- Real Name: Nathan
- Company: Solidblueliquid
Re: URL messed up and can't access
I'm getting this loop;
RequestedURL=RequestedURL%3D
RequestedURL=RequestedURL%3D