Skip to content
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

HAproxy not available on DS414 #2244

Closed
cyrilphoenix71 opened this issue Apr 8, 2016 · 3 comments
Closed

HAproxy not available on DS414 #2244

cyrilphoenix71 opened this issue Apr 8, 2016 · 3 comments

Comments

@cyrilphoenix71
Copy link

Hello,
I try to install HAproxy package on a ds414 but Unfortunatly, it's not working.
At the end of the installation, I got a message "Failed to start or repair the package"
==> The exact message in frenc was "Echec lors du lancement de la reparation du paquet"
Now the package appears to be installed, but stoped. If I try to start it, I get the same message again.

Can you help me ?
Thanks
Cyril

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Apr 14, 2016

Please follow instructions in the guidelines when reporting an issue. See CONTRIBUTING: https://github.com/SynoCommunity/spksrc/blob/master/CONTRIBUTING.md#issue-content.

DSM6?

@lexyan
Copy link

lexyan commented Apr 17, 2016

SSL certificate are not in the same folder under DSM6, you need to modify the file '/usr/local/haproxy/app/application/direct.py' and add if os.path.isfile(u'/usr/syno/etc/certificate/system/default/fullchain.pem'): listCRT = [u'/usr/syno/etc/certificate/system/default/privkey.pem',u'/usr/syno/etc/certificate/system/default/fullchain.pem'] on line 94 before with open(self.crt_path, 'w') as crt:

plus you need to correct the file /etc/shadow to add haproxy user, as the command adduser is broken in dsm6 and users are removed after reboot.

@Safihre
Copy link
Contributor

Safihre commented Jun 24, 2018

Further HaProxy updates (like DSM6 compatibility) will be handled in #2712.

@Safihre Safihre closed this as completed Jun 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants