Jump to content

vane41

Member
  • Posts

    2
  • Joined

  • Last visited

About vane41

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

vane41's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Running it inside a container is the main thing here. WHMCS takes the internal ip of the container that it is running in and treats it like the public address that would be used for accessing the panel from the Internet. The workaround for the containerized IP address that I posted worked fine on whmcs v6, and as far as I remember, whmcs support gave us this solution when we asked them about it. Doesn't the address have to match with the license number? I assume (the obvious) that you cannot use a license for more than one installation, so I don't understand your concerns here.
  2. Hi! I'm running WHMCS inside a container and passing the license key, db connection and all the other necessary info via environment variables. However, since upgrading the container image to use WHMCS v7.x.x I can no longer set licensed public ip in configuration.php. Here's a workaround that I've been using in whmcs v6: ... (configuration.php) ... if(getenv('LICENSED_PUBLIC_IP')) { $_SERVER['SERVER_ADDR'] = getenv('LICENSED_PUBLIC_IP'); } In v7 this results in an "INVALID LICENSE" error whenever I upgrade the container. It's because WHMCS uses container's internal IP address instead of the public IP given in the file above. I'd be grateful for any clues on how to solve this problem. Cheers
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated