Link shortener

Currently reading
Link shortener

Rusty

Moderator
NAS Support
1,885
575
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
Unfortunately Maria is not showing anything under Port Settings. (see imgs attached)
Also the yourls container stops every time the "refused connection"error occurs. :(
Do you have a volume map towards this file: /var/www/html/user/config.php? If so whats the content of it?
 
14
0
NAS
Synology DS918+
Operating system
macOS, Windows
Mobile operating system
Android, iOS
I don't think so. This should show up under the container and Volume tab, right?
How can I add this config file, via the terminal?
I've got a docker folder on my share, should I place it there, or is this the wrong path?
 

Rusty

Moderator
NAS Support
1,885
575
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
I don't think so. This should show up under the container and Volume tab, right?
How can I add this config file, via the terminal?
I've got a docker folder on my share, should I place it there, or is this the wrong path?
Add it as another -v command. Also you can use this config as a sample.

 
14
0
NAS
Synology DS918+
Operating system
macOS, Windows
Mobile operating system
Android, iOS
Like so?
chrome_GsrVG8eq3Z.png


Also @Telos thanks I've read your post, but I need some insights on the links.
chrome_fa4YusbYge.png


Maybe @Rusty would be up to help me in the PNs, if it's too disturbing.
But on another note, maybe this helps someone else also in the future.
 

Rusty

Moderator
NAS Support
1,885
575
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
Correct

If you run yourls now, does it start? If not, check the content of that php file and look for:

Code:
$yourls_user_passwords = array(                                                                                                                                 
  getenv('YOURLS_USER') => getenv('YOURLS_PASS'),
Can you see if your username and password is setup under this block? What error do you get (check the continer log, using the Log tab)?
 
14
0
NAS
Synology DS918+
Operating system
macOS, Windows
Mobile operating system
Android, iOS
no, I didn't change anything myself yet in the config file.
Should this automatically get overwritten when starting the container?
 

Rusty

Moderator
NAS Support
1,885
575
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
no, I didn't change anything myself yet in the config file.
Should this automatically get overwritten when starting the container?
If you configure it like you did it means that your version of config file will be the one yourls will use. This way you can see if the values are set and if needed, set them yourself. Try and run the container now and see what happens.
 
14
0
NAS
Synology DS918+
Operating system
macOS, Windows
Mobile operating system
Android, iOS
Same error as before, but the values in the config file are still the "sample" ones.
Did I understand correctly, that the yourls container should overwrite them?
I'm currently in the process of altering them myself and try again.
 

Rusty

Moderator
NAS Support
1,885
575
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
Host name should be ip address of your nas not ‘localhost’
 
14
0
NAS
Synology DS918+
Operating system
macOS, Windows
Mobile operating system
Android, iOS
ok, yeah I've tried that but it did throw the same error.
I can check again tomorrow, not around the network today.
But thanks so much for your help until now! :)
 
14
0
NAS
Synology DS918+
Operating system
macOS, Windows
Mobile operating system
Android, iOS
does the yourls container also have to run on the host network?
I did try both now, but either still throwing the "mysql connection refused error".
 

Rusty

Moderator
NAS Support
1,885
575
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
RT1900ac, RT2600ac, MR2200ac
does the yourls container also have to run on the host network?
I did try both now, but either still throwing the "mysql connection refused error".
no there is no need for it to run on host network. It will be all the same. But the fact that you are still having the same problem could mean that there is a db problem (user, pass or db name).

We can go private at one point or I could TV to your side and help you with this if I had hands on.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Top