Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hi everyone,
after spending a lot of hours understanding and setting up the shlink server on my own, I almost get it working. It stuck at adding server in web interface. I can´t add any server or may be it get corrupted anyhow. I'm really boring and frustrated with the situation.
I tried to add a server via myip address in the browser, with following error:
View attachment 2094
Pressing take me backup blinks the screen rapidly and brings me back to this same screen.
When entering via app.shlink.io, the following happens:
View attachment 2095
View attachment 2096
If I fresh reload with solely the ip address and port (192.168.1.76:88 + enter), the following screen shows up:
View attachment 2097
By pressing either of the servers, this happens (again)
View attachment 2098
What to do next? Could anyone please help me out on this?
Thanks in advance.
docker run \
--name shlink \
-p 8080:8080 \
-e SHORT_DOMAIN_HOST=bjsa.cc \
-e SHORT_DOMAIN_SCHEMA=http \
-e DB_DRIVER=mysql \
-e DB_NAME=shlink \
-e DB_USER=butala \
-e DB_PASSWORD=******** \
-e DB_HOST=192.168.1.76 \
-e DB_PORT=3306 \
-e DISABLE_TRACK_PARAM="no-track" \
-e DELETE_SHORT_URL_THRESHOLD=30 \
-e VALIDATE_URLS=true \
-e WEB_WORKER_NUM=16 \
-e TASK_WORKER_NUM=16 \
-e DEFAULT_SHORT_CODES_LENGTH=6 \
-e GEOLITE_LICENSE_KEY=*********** \
-e ANONYMIZE_REMOTE_ADDR=true \
-e REDIRECT_STATUS_CODE=301 \
-e REDIRECT_CACHE_LIFETIME=90 \
shlinkio/shlink:stable
No, it doesn't. You said a lot, but not even close to what I have asked. So what container is running on 80 and what on 88? Are you using your local webUI to register your shlink? Why do you have app.shlink.io URL in the images above?Greetings,
For the shlink server container I run this command line:
The server runs well except for some notice lines (see log attached).Code:docker run \ --name shlink \ -p 8080:8080 \ -e SHORT_DOMAIN_HOST=bjsa.cc \ -e SHORT_DOMAIN_SCHEMA=http \ -e DB_DRIVER=mysql \ -e DB_NAME=shlink \ -e DB_USER=butala \ -e DB_PASSWORD=******** \ -e DB_HOST=192.168.1.76 \ -e DB_PORT=3306 \ -e DISABLE_TRACK_PARAM="no-track" \ -e DELETE_SHORT_URL_THRESHOLD=30 \ -e VALIDATE_URLS=true \ -e WEB_WORKER_NUM=16 \ -e TASK_WORKER_NUM=16 \ -e DEFAULT_SHORT_CODES_LENGTH=6 \ -e GEOLITE_LICENSE_KEY=*********** \ -e ANONYMIZE_REMOTE_ADDR=true \ -e REDIRECT_STATUS_CODE=301 \ -e REDIRECT_CACHE_LIFETIME=90 \ shlinkio/shlink:stable
The shlink web interface was also installed without issues, it runs smooth.
I installed it with following parameters:
Local port: 88
container port: 80
Log is also attached.
Hope it answers your question.
Containers running on port 80:No, it doesn't. You said a lot, but not even close to what I have asked. So what container is running on 80 and what on 88? Are you using your local webUI to register your shlink? Why do you have app.shlink.io URL in the images above?
Sorry but this just makes me ask more questions.Containers running on port 80:
- nextcloud - off
- phpmyadmin - on
- shlink web client - on
- wordpress - off
- yourls - off
On port 88 is shlink client (192.168.1.76:88)
After those issues by running 192.168.1.76:88, I gave it a try on app.shlink.io, but it makes things more erratic.
Sorry but this just makes me ask more questions.
When you say shlink client (192.168.1.76:88) you mean shlink container (main one) or the webUI one?
Don't use app.shlink.io, you want to use your own setup not some 3rd party hosted one.
Ok if webUI is on 88 then you need to log into its web ui and for configuration enter URL for your shlink container (what port is it running on?).The web UI
Ok if webUI is on 88 then you need to log into its web ui and for configuration enter URL for your shlink container (what port is it running on?).
So you need to enter its URL and API using the webUI on port 88.
Not app.shlink.io and there enter again url of your webUI, makes no sense.
Well, you have 2 containers. One is shlink for handling short urls, and the other one is shlink web UI. This container is to manipulate the 1st container via UI.Sorry, I tried to understand what you want to say with "log into its web ui", 'cause I cant see any place where I could log into. Please, could you explain with other words?
This was clear from the beginning, ok.Well, you have 2 containers. One is shlink for handling short urls, and the other one is shlink web UI. This container is to manipulate the 1st container via UI.
If I did unterstand what you meant here by "configure" is modifying something in the "shlink web client container" (the one with port 88 set), but don't know under which sections in that container I have to add/alter?So log into your webUI container (the one on port 88, its the one that looks like app.shlink.io) and inside it configure your main shlink container (on another port, you still haven't listed what port it is using) and connect it using its local op and API key.
Now I see it. Reasons why I don´t follow this step is because on the title it says "Optional web client configurations", so I skipped quickly to save my eyesight providing that I have issue looking to high contrast screens mainly white on black. This white letters are like beams in my eyes.Go back to the guide and check:
STEP 01 - setting up servers.json file.
Now I see it. Reasons why I don´t follow this step is because on the title it says "Optional web client configurations", so I skipped quickly to save my eyesight providing that I have issue looking to high contrast screens mainly white on black. This white letters are like beams in my eyes.
Now I copy the text to the notepad and will follow the instructions from there. I'll give feedback.
Second picture is wrong. In the URL parameter, enter http:// 192.168.1.76 : port. Keep in mind that the port number needs to be the one that you have mapped for that main shlink container.My configuration in shlink web client (as step 1)
View attachment 2105
This is what I entered by adding a server in the web ui (the same data entered in servers.json):
View attachment 2106
And this is the result:
View attachment 2104
Second picture is wrong. In the URL parameter, enter http:// 192.168.1.76 : port. Keep in mind that the port number needs to be the one that you have mapped for that main shlink container.
Finally it works! Thank you.
I already have registered one url as seen below.
View attachment 2107
But issues continues:
1) the short link generated does not access the long link registered. I think I have to do some configuration at bjsa.cc.
View attachment 2108
2) How to delete the early failed server added, despite the problem to edit and display them (refuses to show).
View attachment 2109
Some guidance will be again appreciated.
We use essential cookies to make this site work, and optional cookies to enhance your experience.