Coder Social home page Coder Social logo

Creating team ? about mattermost-server HOT 26 CLOSED

mattermost avatar mattermost commented on April 28, 2024
Creating team ?

from mattermost-server.

Comments (26)

ciuncan avatar ciuncan commented on April 28, 2024

+1

from mattermost-server.

moomerman avatar moomerman commented on April 28, 2024

I just hit the same issue. I was accessing it via IP address eg. http://1.2.3.4:8065 and when I click "Sign up now" it redirected to www.2.3.4:8065.

Managed to work around the issue for now by accessing via http://www.1.2.3.4.xip.io:8065 it seems to need to have the www. at the beginning of the url. This allowed me to sign up but I haven't received the email yet.

EDIT: it seems the code doesn't actually send an email when you sign up at present so it's not possible to progress past this stage

from mattermost-server.

poelzi avatar poelzi commented on April 28, 2024

it seems, that without www in the hostname the default docker image does not serve the signup at all. makes it much harder for testing

from mattermost-server.

it33 avatar it33 commented on April 28, 2024

Sorry for the late reply--and thank you for getting this far in the installer. Just posted this to another issue:

If you're running locally as a developer then the system will work with just localhost or dockerhost if mapped in your /etc/hosts file. If you deployed via beanstalk then for now you must have a valid domain that is accessed via www.mydomain.com. Currently you cannot have sub-sub-domains so stuff like www.corp.mydomain.com will not work. It's a known issue we're working on to fix.

from mattermost-server.

aaronjlynch avatar aaronjlynch commented on April 28, 2024

Should I be able to create a team yet? I am not receiving any emails when I sign up.

Ubuntu 14.04 via docker installation went fine.

from mattermost-server.

arkokoley avatar arkokoley commented on April 28, 2024

Having the same problem as @aaronjlynch. How do I create a team without the emails?

from mattermost-server.

xyc avatar xyc commented on April 28, 2024

Have the same issue too

from mattermost-server.

ScottBarkman avatar ScottBarkman commented on April 28, 2024

yea, this seems a bit strange - Can't really test if I don't get the confirmation email.

from mattermost-server.

cldfzn avatar cldfzn commented on April 28, 2024

More than likely your isp is blocking your email attempts or you're being spf filtered. I set up a mailcatcher docker container (https://quay.io/repository/cldfzn/mailcatcher).

  • Set up the mailcatcher: docker run -d --name mail -p 1080:1080 quay.io/cldfzn/mailcatcher
  • Start the mattermost docker container linking mailcatcher: docker run -d --name mattermost -p 8065:80 --link mail:mail mattermost/platform:helium
  • Change the config_docker.json EmailSettings to "mail:25" instead of "localhost:25"
    and restart the docker container (or you can modify the Dockerfile and rebuild)
  • Use the sign up now option (you'll have to alias www.yourserver to the ip of your server)
  • Check yourserver:1080 once the email has been sent and you should see it in there
  • You'll need to alias teamname.yourserver to get to your team page login once you're done setting up

Basically you just need to intercept the mail going out in some manner. I just happened to have a mailcatcher from another project.

from mattermost-server.

jschank avatar jschank commented on April 28, 2024

@it33
The Docker container implementation instructions indicate that the url for the instance would be dockerhost:8065
However, when I try to set up a team, the URL does not validate because .dockerhost:8065 is more than the limit of 15 characters.
AND there is no way to change that part of the url when setting up the team.

What is the suggested workaround?

from mattermost-server.

it33 avatar it33 commented on April 28, 2024

@aaronjlynch @arkokoley @xyc @ScottBarkman

We've updated the config file to skip email verification for the docker image,

You can pull the latest docker container or run the following to skip email verification

  1. docker exec -ti mattermost-dev /bin/bash
  2. cd src/github.com/mattermost/platform/config
  3. vi config_docker.json
  4. Edit "Mode" : "prod", -> "Mode" : "dev"
  5. docker stop mattermost-dev
  6. docker start mattermost-dev

from mattermost-server.

aaronjlynch avatar aaronjlynch commented on April 28, 2024

Not to be a pain in the ___, but now nothing seems to work after updating to the latest.

from mattermost-server.

dstolpmann avatar dstolpmann commented on April 28, 2024

Hi,
while setting up a team without e-mail verification works well in the latest Docker image, I can not create a second account using a "Team Invite Link".

It always says after login:
Please verify your email address. Check your inbox for an email.

from mattermost-server.

cldfzn avatar cldfzn commented on April 28, 2024

It's probably still attempting to send emails for everything besides the initial. Intercepting emails using the method I posted above will get you to the point of using the application at least.

from mattermost-server.

dstolpmann avatar dstolpmann commented on April 28, 2024

OK, it works with MailCatcher. Thank you!

from mattermost-server.

larssl avatar larssl commented on April 28, 2024

The "Sign up now" link has the wrong url in my case. Mattermost is at myhost.mydomain.com:8065 and the link is trying to send me to www.mydomain.com:8065.

It still doesn't work if I use the ip of my remote host, e.g. 192.168.1.1:8065, because the link is now "www.168.1.1:8065"...

I can't test the product because I can't sign up.

from mattermost-server.

cldfzn avatar cldfzn commented on April 28, 2024

Use an alias in your hosts file "192.168.1.1 www.something.lan" matched to your needs. Once you get it all set up you'll need to alias "192.168.1.1 teamname.something.lan" as well.

from mattermost-server.

sskmani avatar sskmani commented on April 28, 2024

My Config file has the Mode : "dev".
But still it asking for email verification.
How should i prevent this popup.

from mattermost-server.

it33 avatar it33 commented on April 28, 2024

Hi everyone, we need your help,

The Mattermost team wants to see each and every one of your questions answered, either by community or by us. It's really hard to do on GitHub Issues for lack of threading.

We've setup a forum on http://forum.mattermost.org, which you can join in one click with your GitHub account. I'm starting to organize some FAQs there, drawing from both the community answers (thank you @cldfzn!) and our internal team.

Please continue this thread on http://forum.mattermost.org?

Apologies again for being so slow at responses, we want community support to be much faster than we're able to offer right now. We just have a lot coming to us across different channels and need just a little more time to get into rhythm.

from mattermost-server.

ciuncan avatar ciuncan commented on April 28, 2024

@cldfzn Please excuse my ignorance, forgive if I am asking a stupid question, but I am confused about this aliasing, and to be honest don't know much about it. I would very much appreciate a clarification. Should I do it from my laptop, our dev server (on which mattermost is running), or inside the mattermost container? By the way we do not have a domain name attached to our dev server, we only connect with its IP currently.

from mattermost-server.

kgcrom avatar kgcrom commented on April 28, 2024

@larssl Temporarily, when you test to mattermost, add host Info below host

[your private IP]    beta.mattermo.st         // For Landing page
[your private IP]    www.mattermo.st        // For Sign up page
[your private IP]    [teamname].mattermo.st    // For Team page

I speak to one more time, it's temporary. 😉

from mattermost-server.

crspeller avatar crspeller commented on April 28, 2024

#200 Will fix the signup issue.
#171 Fixed the email issue.

from mattermost-server.

dirkk0 avatar dirkk0 commented on April 28, 2024

As a workaround, you can use the console to add a team and team members with:

./platform -create_user -team_name="name" -email="[email protected]" -password="mypassword"
./platform -create_team -team_name="name" -email="[email protected]"
./platform -assign_role -team_name="name" -email="[email protected]" -role="admin"

from mattermost-server.

demofly avatar demofly commented on April 28, 2024

As a workaround, you can use the console

Excuse me, please. I have no binary called "platform" in my system. how shoud I find it?
I'm using gitlab-ce_8.2.0-ce.0_amd64.deb for Debian jessie

From /var/log/gitlab/mattermost/mattermost.log :

[2015/11/30 13:27:21 CET] [EROR] Couldn't find team name=signup, err=We couldn't find the existing team
[2015/11/30 13:32:20 CET] [EROR] /signup/gitlab/complete:AuthorizeOAuthUser code=500 rid=yuxgsu59gpgadx88yre5tkqmiw uid= ip=10.8.0.70 Bad response from token request [details: ]

/var/opt/gitlab/mattermost/config.json

{
    "ServiceSettings": {
        "ListenAddress": ":8065",
        "MaximumLoginAttempts": 10,
        "SegmentDeveloperKey": "",
        "GoogleDeveloperKey": "",
        "EnableIncomingWebhooks": false,
        "EnablePostUsernameOverride": false,
        "EnablePostIconOverride": false,
        "EnableTesting": false,
        "EnableSecurityFixAlert": true,
        "EnableOutgoingWebhooks": false
    },
    "TeamSettings": {
        "SiteName": "Team",
        "MaxUsersPerTeam": 150,
        "EnableTeamCreation": true,
        "EnableUserCreation": true,
        "RestrictCreationToDomains": "",
        "RestrictTeamNames": true,
        "EnableTeamListing": false
    },
    "SqlSettings": {
        "DriverName": "postgres",
        "DataSource": "user=gitlab_mattermost host=/var/opt/gitlab/postgresql port=5432 dbname=mattermost_production",
        "DataSourceReplicas": ["user=gitlab_mattermost host=/var/opt/gitlab/postgresql port=5432 dbname=mattermost_production"],
        "MaxIdleConns": 10,
        "MaxOpenConns": 10,
        "Trace": false,
        "AtRestEncryptKey": "xxx"
    },
    "LogSettings": {
        "ConsoleEnable": true,
        "ConsoleLevel": "INFO",
        "EnableFile": true,
        "FileLevel": "ERROR",
        "FileFormat": "",
        "FileLocation": "/var/log/gitlab/mattermost/mattermost.log"
    },
    "FileSettings": {
        "DriverName": "local",
        "Directory": "/var/opt/gitlab/mattermost/data",
        "EnablePublicLink": true,
        "PublicLinkSalt": "xxx",
        "ThumbnailWidth": 120,
        "ThumbnailHeight": 100,
        "PreviewWidth": 1024,
        "PreviewHeight": 0,
        "ProfileWidth": 128,
        "ProfileHeight": 128,
        "InitialFont": "luximbi.ttf",
        "AmazonS3AccessKeyId": "",
        "AmazonS3SecretAccessKey": "",
        "AmazonS3Bucket": "",
        "AmazonS3Region": ""
    },
    "EmailSettings": {
        "EnableSignUpWithEmail" : false,
        "SendEmailNotifications": false,
        "RequireEmailVerification": false,
        "SMTPUsername": "",
        "SMTPPassword": "",
        "SMTPServer": "",
        "SMTPPort": "",
        "ConnectionSecurity": "",
        "InviteSalt": "xxx",
        "PasswordResetSalt": "xxx",
        "FeedbackName": "",
        "FeedbackEmail": "",
        "ApplePushServer": "",
        "ApplePushCertPublic": "",
        "ApplePushCertPrivate": ""
    },
    "RateLimitSettings": {
        "EnableRateLimiter": true,
        "PerSec": 10,
        "MemoryStoreSize": 10000,
        "VaryByRemoteAddr": true,
        "VaryByHeader": ""
    },
    "PrivacySettings": {
        "ShowEmailAddress": true,
        "ShowFullName": true
    },
    "GitLabSettings": {
        "Enable": true,
        "Secret": "xxx",
        "Id": "xxx",
        "Scope": "",
        "AuthEndpoint": "http://gitlab.mycompany.com/oauth/authorize",
        "TokenEndpoint": "http://gitlab.mycompany.com/oauth/token",
        "UserApiEndpoint": "http://gitlab.mycompany.com/api/v3/user"
    }
}

I've set it up according to https://github.com/mattermost/platform/blob/master/doc/integrations/Single-Sign-On/Gitlab.md

from mattermost-server.

dirkk0 avatar dirkk0 commented on April 28, 2024

I don't have a running installation right now, so I can't tell you atm. But I followed the (non Docker) installation, and it happened to be there.

from mattermost-server.

demofly avatar demofly commented on April 28, 2024

Hi there! Unexpectedly, Mattermost silently fails until I've set SMTP parameters. Dunno why it had any sense while I'm using Gitlab SSO mode without e-mailing.

from mattermost-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.