German 1&1-hosting user experience?

Hi,
for local reasons, this post will be in german language :wink:

Mein Problem ist, dass ich bei 1und1 Discourse einfach nicht zum laufen bekomme. Ich habe einen vServer L mit 2 GB Ram. Bei DigitalOcean klappt alles wunderbar. Dort habe ich bereits unter Ubuntu 14.04 ein Discourse am laufen. Die Installation war in 10 Minuten durch.

Meine Vorgehensweise:

Problem 1: Swap einrichten
An sich brauch ichā€™s nicht, aber man weiƟ ja nieā€¦ drum wollte ich 2 GB extra freigeben.

root@server:~# swapon /swapfile
swapon: /swapfile: swapon failed: Operation not permitted

Frage: Kann es sein, dass 1und1 das verbietet? Wie lƶse ich das Problem?

Problem 2: Docker einrichten

Fehler 1:

modprobe: ERROR: ā€¦/libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file ā€˜/lib/modules/3.13.0-042stab094.8/modules.builtin.binā€™
modprobe: FATAL: Module aufs not found.
ā€¦
Reading state informationā€¦
E: Unable to locate package linux-image-extra-3.13.0-042stab094.8
E: Couldnā€™t find any package by regex ā€˜linux-image-extra-3.13.0-042stab094.8ā€™
modprobe: ERROR: ā€¦/libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file ā€˜/lib/modules/3.13.0-042stab094.8/modules.builtin.binā€™
modprobe: FATAL: Module aufs not found.
Warning: tried to install linux-image-extra-3.13.0-042stab094.8 (for AUFS)
but we still have no AUFS. Docker may not work. Proceeding anyways!
ā€¦
Client version: 1.4.1
Client API version: 1.16
Go version (client): go1.3.3
Git commit (client): 5bc2ff8
OS/Arch (client): linux/amd64
FATA[0000] Cannot connect to the Docker daemon. Is ā€˜docker -dā€™ running on this host?

If you would like to use Docker as a non-root user, you should now consider
adding your user to the ā€œdockerā€ group with something like:

sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect!

last but not least:

root@server:~# docker -d
INFO[0000] +job serveapi(unix:///var/run/docker.sock)
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
INFO[0000] +job init_networkdriver()
package not installed
INFO[0000] -job init_networkdriver() = ERR (1)
FATA[0000] package not installed

Fehler am Netzwerkinterface? Von 1und1 gesperrt?

Oder liegt es nur an meiner eigenen Blƶdheit? Es handelt sich um die Minimalinstallation von Ubuntu. Ohne Plesk Zeugs.

Nun hat mich der Server (als Student) gerade mal 1ā‚¬/Jahr gekostet. Daher wƤre es echt schnicke, auf so gĆ¼nstige Art und Weise ein weiteres Discourse zum laufen zu bekommen. Habt Ihr Ideen? Any ideas?

Viele GrĆ¼ĆŸe / Best regards,
M

Letā€™s translate this so everybody can join in on this conversation (and learn some German while we are at it) (I am pretty sure 1&1 is an international host so I figured other people might be able to help)

"My problem is that I canā€™t get Discourse to run on 1&1 hosting. I bought a vServer L with 2 GB of ram. Everything works on Digital Ocean. Over there Discourse runs on a Ubuntu 14.04-server. Took me 10 minutes to install.

Installation steps used:

Problem 1: setting up the swap
In theory I donā€™t need to but you never know so I figured, might as well free some extra 2GB.

root@server:~# swapon /swapfile swapon: /swapfile: swapon failed: Operation not permitted
Question: Is it possible that 1&1-hosting doesnā€™t allow this? Is there a way to prevent this?

Problem 2: setting up Docker

Error 1:

[code]
modprobe: ERROR: ā€¦/libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file ā€˜/lib/modules/3.13.0-042stab094.8/modules.builtin.binā€™
modprobe: FATAL: Module aufs not found.
ā€¦
Reading state informationā€¦
E: Unable to locate package linux-image-extra-3.13.0-042stab094.8
E: Couldnā€™t find any package by regex ā€˜linux-image-extra-3.13.0-042stab094.8ā€™
modprobe: ERROR: ā€¦/libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file ā€˜/lib/modules/3.13.0-042stab094.8/modules.builtin.binā€™
modprobe: FATAL: Module aufs not found.
Warning: tried to install linux-image-extra-3.13.0-042stab094.8 (for AUFS)
but we still have no AUFS. Docker may not work. Proceeding anyways!
ā€¦
Client version: 1.4.1
Client API version: 1.16
Go version (client): go1.3.3
Git commit (client): 5bc2ff8
OS/Arch (client): linux/amd64
FATA[0000] Cannot connect to the Docker daemon. Is ā€˜docker -dā€™ running on this host?

If you would like to use Docker as a non-root user, you should now consider
adding your user to the ā€œdockerā€ group with something like:

sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect![/code]
last but not least: (no need to translate this :smiley: )

root@server:~# docker -d INFO[0000] +job serveapi(unix:///var/run/docker.sock) INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) INFO[0000] +job init_networkdriver() package not installed INFO[0000] -job init_networkdriver() = ERR (1) FATA[0000] package not installed

Is that an error in the network interface? Is this blocked by 1&1-Hosting?

Or is this somehow my fault? The Ubuntu is a barebone installation. No Plesk or anything.

The server was pretty cheap (1ā‚¬ / year) so itā€™d be great to run a Discourse instance on it.
Any ideas?

Filed Under: Not Sure if the translation was neccessary and there might be mistakes. At the end I started translating a bit more loosely. Hope it helps somebody

1 Like

1&1 hosting is not allowing you to install kernel modules. Discourse will not work. AUFS or BTRFS is required.

2 Likes

@riking
Thank you very much!!! This response was extremely fast. Next time, Iā€™ll post directly in English.

For notice (german):
https://hilfe-center.1und1.de/server-c82640/virtual-server-linux-c82672/administration-c82781/kann-auf-virtual-servern-ein-eigener-kernel-installiert-werden-a784762.html

Maybe Iā€™ll have a look at other cheap german hosters to get my community running. I love Discourse soooo much.

Good night :zzz:

Must it be a (cheap) German hoster or would it be enough if itā€™s hosted in a German datacenter?
VULTR has a location in Frankfurt and Linode is planning to expand to Germany too.
And of course thereā€™s JiffyBox (from the German hoster domainfactory) which has a quite good price/performance ratio.
All of them would allow you to use Docker and install a custom kernel.

For VULTR see also

3 Likes

I can vouch for Vultr. I havenā€™t deployed Discourse on there. Yet. But I did play and mess around with a test instance to get used to the command line and I liked it. Super fast, might I add. Iā€™ll be deploying Discourse there after setting something up to my liking on a VM local sandbox.

1 Like

@purldator

Sounds pretty interesting.

Costs are an very important aspect because Iā€™ll need this community for a two non-profit organisations. One of them is focused in medical area, so weā€™ll need at least a european hoster to confirm privacy and regulatory requirements. The other one is for a local FabLab (fabrication laboratory).

You can try out Runabove. 2,5$ per month, servers in France, no SLA though.

https://meta.discourse.org/t/runabove-ovh-experiment-vs-digital-ocean/24428/

1 Like

Hey @terraboss, I got curious and sent a support ticket to Vultr about your requirements.

We do not offer a specific uptime SLA, but our privacy policy can be found at https://www.vultr.com/legal/privacy.php

For the sake of being complete. Vultrā€™s prices are good. You get slightly more for the same price as DigitalOcean.

1 Like

Thanks @purldator,
I guess Vultr would be a pretty good choice for my personal stuff in terms of performance and price-service ratio. I noticed the SSD speed while setting up discourse: 430 MB/s. WOW. This is great. :grinning:

For my the other projects, Iā€™ve got an instance at DigitalOcean :droplet: . Letā€™s see how both performā€¦ maybe Iā€™ll switch later.

1 Like

Hi Markus.

My forum is running on the server from 1&1, the one what you mentioned 1 Euro per year.

It works quite well, but without Docker, you have to config the environment by yourself. Nevertheless, it is totally capable for Discourse.

Interesting. Would you like to link / write an step by step install guide for everyone?
How are easy is it to preform updates in your opinion?

Thx

No capacity for swap, and canā€™t get docker installed with AUFSā€¦ sounds like cheap openvz. Iā€™ve heard it called 1&done before. You can use my script for a dockerless install, but wonā€™t get support here.

1 Like

Iā€™ve posted an installation guide on my blog, which is adapted from DigitalOceanā€™s . You could check it out from here.

1 Like

I am looking into a German hosting for Discourse and 1 & 1 offers it now in a "Discourse cloud appā€™, right now the minimum price is 29,99 ā‚¬, SSL-encrypt inclusive.

I think itā€™s a Bitnami installation and is not officially supported by Discourse, so if you run into problems you are aloneā€¦plus at much less price you can buy a VPS on another hosting that support docker

6 Likes

Thank you so much for this information. I am trying to find a host who is offering a Data Processing Agreement, so I looked for a German one. But it doesnā€™t look like a good solution when any problem arises.

1 Like

The only german hosting that I know is Hetzner:

From Hetzner Terms and Conditions page:

5. Privacy

5.1 Our data protection practise conforms to the Federal Data Protection Act (BDSG) as well as the German Teleservices Act (TMG).

5.2 Personal data of customers will only be collected and used, if they are required for the creation, content arrangement or modification of the contractual relationship. The client is obligated to update these data in its online administrations interface.

5.3 The clientā€™s Email address will only be used for information on orders, for invoices and ā€“ provided that the client does not object ā€“ for customer care as well as for our newsletter, if the client so wishes.

5.4 We do not give any personal client information to third parties, with the exception of our service partners as far as they are required to determine the remuneration and settlement with the customer.

5.5 The client has the right to information and a right to amend, to suspend or to delete his saved information. If deletion conflicts with a legal or contractual duty to save information, or other legal grounds, the information will be made inaccessible.

BTW all european hostings of UE will have to adopt the DPA soon or later.

SSL is not a real problem because you can do it yourself:

If you have problems you can ask support to @pfaffman (https://www.literatecomputing.com/) that can do all this things for you for a very low cost.

I know that Discorse itself have a plan to buy servers even here in Europe for their customers, but I do not know if they are already operational in this regard. (ping @codinghorror)

3 Likes

Discussion on colocating servers in Europe is here: Colocating servers in Europe, recommendations?. No decision has been made at this time.

3 Likes

@Trash, thank you so much for this information!

1 Like