Support

Admin Tools

#41441 Comp. Panopticon connector endpoint not changed when restoring site backup in a sub.domain of that site.

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
5.2.2
PHP version
8.3.14
Admin Tools version
7.6.2

Latest post by nicholas on Thursday, 19 December 2024 06:16 CST

NicoFaaij

Dear support,

I restored a backup of a site https://mysite.com in a subdomain of that site https://new.mysite.com. Creating a new (testing) environment.

When I wanted to add this new (https://new.mysite.com) site to Panopticon, I saw the component endpoint was still showing the URL of the main https://mysite.com/api website and not the new https://new.mysite.com/api URL of the subdomain.

I tried to fix it by deinstalling the pkg_panopticon-1.0.6.zip. Then I created a new API-token for my SuperUser, deleted all cache and reinstalled pkg_panopticon-1.0.6.zip.

Opening the just installed Panopticon component, the API-token was updated but the endpoint not (still https://mysite.com/api instead of https://new.mysite.com/api)

I think I can just add the subdomain myself to the endpoint field when adding this new site to my Panopticon, or is there a more important reasson that it doesn't update the endpoint in the component and/or is there someting wrong with my configuration?

With thanks in advance and kind regards, Nico

nicholas
Akeeba Staff
Manager

When restoring the site make sure that the Live Site is left blank.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

NicoFaaij

Ah, that makes sence;-). I fixed it by adding the subdomain to the "public $live_site" setting in the configuration.php. Thanks!

nicholas
Akeeba Staff
Manager

You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!