-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
license error #2
Comments
this problem is generated by the gds port change |
@EUConsulting are you running the container with a volume assigned? I don’t see any apparent reason of licensing problems related to the server port. |
Hi |
Well, it is not necessary to change the port from container side, you only need to map it to any eternal one. If you change the container port, you also need to update the values.txt file with your new port. |
Thanks for the advice The only thing is not possible to do a backup and a direct restore with the Windows IB Console but only using a docker cp to transfer the ibk. |
You can place your database in the volume created for your container in the host machine. Have you tested this approach? |
the databases are on a shared volume between the various containers in this way if I lose the IB container I do not lose the databases. Is this what you meant? |
Exactly. But you mentioned before that you're sharing your database between environments, right? So you only need to copy the database from origin machine to destination volume. |
ok!!!!! |
Hi /--------------------------------------------------------------------------------------------------------------------/ ec3f61f7759b (Server) Sun Sep 29 09:02:29 2024 ec3f61f7759b (Client) Mon Sep 30 08:16:02 2024 ec3f61f7759b (Server) Mon Sep 30 08:16:02 2024 ec3f61f7759b (Client) Mon Sep 30 08:20:15 2024 ec3f61f7759b (Server) Mon Sep 30 08:20:15 2024 ec3f61f7759b (Client) Mon Sep 30 08:27:33 2024 ec3f61f7759b (Server) Mon Sep 30 08:27:33 2024 ec3f61f7759b (Server) Mon Sep 30 08:27:33 2024 |
Hello @EUConsulting, you're not bothering 💪 Can you share the exactly same command you're using to run your container, please? |
Sorry for delay I use the docker console to start the container /*******************************************/ LABEL org.opencontainers.image.ref.name=ubuntu if you need anything else let me know Thank thank thank thank ........ |
Try running your container directly with the following command: docker run -it -p 3050:3050 --name interbase --mount source=iblicense,target=/opt/interbase/license --mount source=interbase,target=/opt/interbase docker.io/library/ib2020u4 I'm not sure if you have configured volumes on Docker Desktop, but try to reproduce your issue running your container like the script above. |
I updated the comment with more data |
You're not mapping volumes properly. I'm very sure you won't face that again running the script I have shared. |
I'd suggest you to rebuild your image locally using the same version here in this repo and also run your containers using the script I've shared, let's see what happens... |
i use wsl |
OK I'll do as you say the only thing I use is update 6 of ib 2020 and port 3060 for gds |
You don't need to change gds port internally, you can change it in the run script, as follows: docker run -it -p 3060:3050 --name interbase --mount source=iblicense,target=/opt/interbase/license --mount source=interbase,target=/opt/interbase docker.io/library/ib2020u4 This will redirect port 3060 in your host to 3050 in your container.
--mount source=iblicense,target=/opt/interbase/license --mount source=interbase,target=/opt/interbase Regarding update 6, it's all good! |
tomorrow I will do as you told me here it's 8:00 pm and they are walling me up alive in the office thanks a lot |
I'm also providing you access at first hand to the beta version of the new Docker scripts. Checkout the |
Hi Lucas
/********** RUN.SH MODIFIED ***********************************/ NAME="interbase" while [ $# -gt 0 ]; do if [ "$DETACH" = true ]; then docker run $DETACH_ARG /************************************************/
// this worked correctly the instruction I used mounted the right volume And I should study DOCKER more! but this is not a problem we solve it differently for now I have a BIG question for you Thank you so much |
Raffaele, some considerations:
./run.sh -d --name YOUR_CONTAINER_NAME --port YOUR_PORT_NUMBER --version latest
You only need to run the |
Hmmm... I didn't get it, can you try to explain again, please? |
ok |
|
Good morning Lucas
I honestly think that Embarcadero should review the logic on how the license should be corrupted. I will try to install it again today hoping that it does not block due to the limit of the Embacadero license plan, using all your advice and without changing anything. I ask you a question to see if I understood what you wrote to me: I attach the corrupted license and part of the log I thank you if you can give me support if necessary 15eab3b2707b (Client) Mon Oct 7 08:58:58 2024 15eab3b2707b (Client) Mon Oct 7 08:58:58 2024 15eab3b2707b (Server) Mon Oct 7 08:58:58 2024 15eab3b2707b (Server) Mon Oct 7 08:58:58 2024 |
Hi Lucas |
@EUConsulting sorry for the delay. You need to set the same volumes every time you start a container. Changes applied in your container are not persistent, that's why you need to store them in your local machine. Supposedly you've registered IB using volume IBLicense, you'll need to point to this volume every time you start your container. |
@EUConsulting what is your Skype? |
Hi Lucas For now the containers are on this machine and not distributed in the cloud (We still have to decide if we'll use AWS, Azure or something else). I read what you told me and I hope I understood I tell you that to your RUN.sh I only added the mount of a volume where there are DBs in addition to the use of port 3060:3050 instead of 3050:3050 for the gds, this to avoid it clashing with the 3050 of Windows Interbase. docker run $DETACH_ARG You have to think that I could have two containers with Interbase Server (Primary and Backup) and if one container does not work the other one, that's why we think of the Databases on a shared volume. If you see it is the same thing you did in the beta version 5 days ago (I saw that you added a mount volume ibdata). |
Lucas I speak very little English, just to survive when I go abroad, but I read it fairly well. https://join.skype.com/invite/OWOcIg9J43dk Skype name : live:33738c375279d6e2 |
Hi Lucas |
Hello @EUConsulting, It appears that the issue you're facing may be related to a change in your host system's network ID, which can unfortunately corrupt the license in our Docker container. We are actively exploring solutions to simplify and improve the reliability of the registration process for Docker environments. I will keep you updated with any progress or news on this matter. Thank you for your patience, and please feel free to reach out if you have any further questions or concerns. |
Good morning Lucas |
hi
I downloaded the Interbase-Docker image and installed it successfully
I inserted the license that came with my recently purchased copy of Delphi 12 Enterprise and the registration process was completed successfully
I successfully used Interbase on Docker by migrating some databases from the 2020 version of Windows which has the same license
I restarted the container out of necessity and access to Interbase was denied, in the log I find that the product is NOT licensed and to reinstall the license.
d1e58e510664 (Server) Fri Sep 6 14:37:43 2024
NO DATABASE NAME
Product is not registered. Please register and restart
Registration file error: use Registration Code: 7190330
Why does this happen?
How can I reinstall the license without having to destroy the container?
Help, thanks
The text was updated successfully, but these errors were encountered: