8000 Wekan on Uberspace 7? · Issue #2009 · wekan/wekan · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Wekan on Uberspace 7? #2009

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

Open
jeyca opened this issue Nov 19, 2018 · 20 comments
Open

Wekan on Uberspace 7? #2009

jeyca opened this issue Nov 19, 2018 · 20 comments

Comments

@jeyca
Copy link
jeyca commented Nov 19, 2018

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?

@xet7
Copy link
Member
xet7 commented Nov 19, 2018

@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.

@xet7 xet7 closed this as completed Nov 19, 2018
@BabyFnord
Copy link
BabyFnord commented Apr 9, 2021

(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.

@xet7
Copy link
Member
xet7 commented Apr 10, 2021

@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?

@xet7 xet7 reopened this Apr 10, 2021
@xet7
Copy link
Member
xet7 commented Apr 10, 2021

For Wekan bundle version, general install info is at https://github.com/wekan/wekan/wiki/Raspberry-Pi

@BabyFnord
Copy link
BabyFnord commented Apr 10, 2021

Do you know more detailed install steps?

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.

Can you add those steps as comment to this issue?

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?

@BabyFnord
Copy link
BabyFnord commented May 6, 2021

@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 :)

@tobiasgraeber
Copy link

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?

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>'

@BabyFnord
Copy link
BabyFnord commented Jun 13, 2021

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:

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.) :(

@tobiasgraeber
Copy link

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'?

@BabyFnord
Copy link

Did you run 'supervisorctl update' and 'supervisorctl reload'?

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

@tobiasgraeber
Copy link
tobiasgraeber commented Jun 15, 2021

Try adding a "," behind the ROOT_URLs Path and write all the environment Params in one line, like this:


[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

Then it should work (my stucture is, besides of that, identical and working like this).

Good luck ;-)

@BabyFnord
Copy link

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:587
and this hasn't happened before. Ugh …

@tobiasgraeber
Copy link
tobiasgraeber commented Jun 15, 2021

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>'

@BabyFnord
Copy link

@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.

@BabyFnord
Copy link

No solution available, I'm giving up here.

@tobiasgraeber
Copy link
tobiasgraeber commented Jun 21, 2021

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

@BabyFnord
Copy link
BabyFnord commented Jun 21, 2021 via email

@tobiasgraeber
Copy link

Ok. Sorry to hear that, then i also don't know 😕

@BabyFnord
Copy link
BabyFnord commented Jan 11, 2022

@tobiasgraeber I solved my issue by chance:
Creating a dedicated Mailbox and employing it as new@domain.tld with 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 😊.

@M-Miller-42
Copy link

I had the same issue and was brute forcing all kinds of variations, that are mentioned in the wiki guide:

  • what is the USER part? So you didn't use POSTBOX@SERVER.uber.space, but POSTBOX@externalDomain.tld?
  • url encode the @ in the USER part? @->%40
  • smtp:// or smtps://
  • Port 587 or 465
  • what is MAIL_FROM

Finally 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>"

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

5 participants
0