Wekan on Uberspace 7?
Brought to you by:
wekan
Originally created by: jeyca
I was happy to see, that there is even a script for installing Wekan on an Uberspace, but since Iam using Uberspace 7, I wanted to ask if there is a way to install it there as well? As far as I know, there is no mongodb yet on U7, is it possible to use Wekan with other databases?
Originally posted by: xet7
@jeyca
No, Wekan requires MongoDB.
If Uberspace 7 can run docker containers, then you could use docker-compose.yml that is at https://github.com/wekan/wekan
There is related [#787] and mention about nice-to-have other databases at blog post but currently it looks like adding other database support would require a lot of work, so probably will not happen soon.
Ticket changed by: xet7
Originally posted by: BabyFnord
(Please forgive me digging out this old thread but, it made sense to me picking up this particular issue)
@xet7 and @jeyca
You might want to have a look at the guide provided at UberLab/Uberspace 7 Manual: Wekan, which made me successfully install Wekan on a Uberspace 7 domain. A link to that in your documentation might help others, too.
I've grown to be a fond user in a very short time, but recently failed miserably at my first update procedure (from 5.07.0 to—but not specifically—v5.17), as above stated guide on UberLab only provides a vague update procedure.
A detailed step-by-step paragraph on how to do update in this specific environment, might encourage others to update frequently, or install Wekan on Uberspace 7 at all. I tried to get in touch with the guide author Andrej Schoeke, but could not find any publicly visible contact address.
Ticket changed by: xet7
Originally posted by: xet7
@mpc3k
Thanks! I added it to wiki. At Wekan website https://wekan.github.io is Download section / Uberspace button that go Uberspace wiki page.
Do you know more detailed install steps? Can you add those steps as comment to this issue?
Originally posted by: xet7
For Wekan bundle version, general install info is at https://github.com/wekan/wekan/wiki/Raspberry-Pi
Originally posted by: BabyFnord
Unfortunately, no. The steps provided at UberLab were sufficient to get me started, without being proficient at all with the underlying assets, nor coding. That's why I'm looking for an equally detailed guide to update my existing installation, which failed.
If you think that helps others here, I can do that. Wouldn't that be redundant though, as we have the instructions at UberLab?
Edit: Tried to find out the location of the file to edit, to let Wekan send Mails, but couldn't find it. Any pointers, please?
Originally posted by: BabyFnord
@xet7 FYI, in cooperation with Uberspace support, there's a Bash script to automate updates on Uberspace 7 hosted domains:
https://github.com/BabyFnord/update_wekan
Tested working up to v5.91 (updated edit here) … looking forward to perform coming updates :). Maybe you want to include this in the manual. Minor caveat: The install location(s) differs to the instructions on UberLab for a good reason. Anyone running Wekan on U7 is encouraged to use it :)
Originally posted by: tobiasgraeber
Works like this, added to wekan.ini in /home/YOUR-USERNAME/etc/services.d on uberspace server, added (seperated by a comma) to the "environment" string:
MAIL_URL='smtp://YOUR-USERNAME@uber.space:YOUR-SSH-PASSWORD@YOUR-SERVERNAME.uberspace.de:587',MAIL_FROM='Board Support <YOUR-USERNAME@uber.space>'Originally posted by: BabyFnord
Thanks, @tobiasgraeber! Following your directions and restarting wekan via
supervisorctl restart wekan, my log still reads(Mail not sent; to enable sending, set the MAIL_URL environment variable.):(Originally posted by: tobiasgraeber
Seems as if the setting/variable then has not been recognized yet. Can you post your (anonymized) config file? Did you run 'supervisorctl update' and 'supervisorctl reload'?
Originally posted by: BabyFnord
No, but I did run
supervisorctl restart wekan. Ran 'supervisorctl update' and 'supervisorctl reload' just now, didn't change my issue.This is my wekan.ini (port # is different):
[program:wekan]
environment=PORT="0000",MONGO_URL="mongodb://wekan:PASS@127.0.0.1:27017/wekan",ROOT_URL="https://USERNAME.uber.space"
MAIL_URL='smtp://USERNAME@uber.space:SSHPASSWORD@SERVER.uberspace.de:587',MAIL_FROM='Board Support USERNAME@uber.space'
directory=%(ENV_HOME)s/wekan/current
command=node main.js
autostart=yes
autorestart=yes
Originally posted by: tobiasgraeber
Try adding a "," behind the ROOT_URLs Path and write all the environment Params in one line, like this:
Then it should work (my stucture is, besides of that, identical and working like this).
Good luck ;-)
Originally posted by: BabyFnord
That did change something, but we're not there yet :/ … With this alteration to wekan.ini, Wekan itself now reports
Fehler beim Senden der E-Mail: connect EHOSTUNREACH 185.26.156.78:587and this hasn't happened before. Ugh …
Originally posted by: tobiasgraeber
Should still be correct. The error message EHOSTUNREACH only says that the specified host could not be reached. I think your used host address or the port is not correct. Config structure should be fine. Use Servername insted of the IP. See values on https://dashboard.uberspace.de/dashboard/datasheet (below "your primary email address").
If you use the default Ports and the uberspace SMTP with the structure as i suggested i my example for the environment string, it should definitely work:
MAIL_URL='smtp://YOUR-USERNAME@uber.space:YOUR-SSH-PASSWORD@YOUR-SERVERNAME.uberspace.de:587',MAIL_FROM='Board Support <YOUR-USERNAME@uber.space>'Originally posted by: BabyFnord
@tobiasgraeber A non-specified server (at least not by me, as far as I recall whatever I already tried in this scope) is being called (the one used by Uberspace dashboard), that's the background of EHOSTUNREACH according to the support team. I'm trying to (hopefully) resolve the issue with their help and will report back.
Originally posted by: BabyFnord
No solution available, I'm giving up here.
Originally posted by: tobiasgraeber
Why you give up? It can only be a little difference in your case.
Double check these parts:
,MAIL_URL='smtp://USERNAME@uber.space:SSH-PASSWORD@SERVERNAME:587',MAIL_FROM='Board Support <USERNAME@uber.space>'Replace:
USERNAME = With your Username from top of https://dashboard.uberspace.de/dashboard/datasheet
SSH-PASSWORD = With your Password set on https://dashboard.uberspace.de/dashboard/authentication (right handside)
SERVERNAME = With your MAIL-Servername from bottom of https://dashboard.uberspace.de/dashboard/datasheet (mine is "jarnsaxa.uberspace.de" - from the "Your primary E-Mail-Adress"-section)
Make als sure your password/username does not contain any non-url-conform letters/signs
Originally posted by: BabyFnord
The SSH PW is the one I regularly use along with the user- and servername for SSH, frequently :) All of those have been confirmed by Uberspace support, as well as my full wekan.ini details, according to your template. Uberspace support told me, Wekan tries to connect to a different Uberspace server than the one I specified → [redacted].uberspace.de (which is used by Dashboard services, this one has no SMTP-Relay), when it should be [redacted].uberspace.de … go figure.
Within the scope of wekan.ini, there is nothing either them (support) or me can set up differently. And the reasons for that behaviour is completely beyond me :/
Originally posted by: tobiasgraeber
Ok. Sorry to hear that, then i also don't know 😕
Originally posted by: BabyFnord
@tobiasgraeber I solved my issue by chance:
Creating a dedicated Mailbox and employing it as
new@domain.tldwith a [a-z-0-9]-only PW, finally did it. It did not with the userspace-matching Mailbox and its generic PW 💁🏻♂️.Thanks for helping me solve this, I hope it'll be useful to others too 😊.
Originally posted by: M-Miller-42
I had the same issue and was brute forcing all kinds of variations, that are mentioned in the wiki guide:
POSTBOX@SERVER.uber.space, butPOSTBOX@externalDomain.tld?@in the USER part?@->%40smtp://orsmtps://587or465MAIL_FROMFinally this worked for me, posting here so no one else has to try it:
MAIL_URL="smtp://POSTBOX@USERNAME.uber.space:PASSWORD@SERVER.uberspace.de:587",MAIL_FROM="Wekan <POSTBOX@USERNAME.uber.space>"