[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Foo Bar created an issue Jenkins / JENKINS-54143 Cannot create new users in 2.138.2 Issue Type: Bug Assignee: Unassigned Components: core Created: 2018-10-18 11:37 Environment: 2.138.2, fresh installation from the Ubuntu apt repository Labels: regression Priority: Critical Reporter: Foo Bar I just unsuccessfully tried setting up a brand new Jenkins instance on a brand new server. Everything worked fine, except it's not possible to create user accounts, at all. The issue is the same when using the setup wizard ("create first new user") as when going to Manage Jenkins -> Manage Users -> Create new user. The symptom is that no matter what is entered in the form (leaving all fields blank has the same effect as filling in everything correctly), when you press submit you simply get a HTTP 200 response. No error messages, nothing in jenkins.log, simply nothing happens. I reverted to 2.121.3 using "apt-get install jenkins=2.121.3" and everything worked just fine.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Oleg Nenashev commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 Any system logs for the broken instance? CC Daniel Beck Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Daniel Beck commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 There's a known problem with the classic UI not showing error messages (JENKINS-52869), but this one is new to me. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Foo Bar commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 I don't have any logs, I ended up installing an older version to get the whole thing going. It should be fairly easy to reproduce though since I tried apt-get purge jenkins followed by apt-get install jenkins the first time I bumped into this, and the same issue happened. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Daniel Beck commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 It should be fairly easy to reproduce I cannot. Both customizing the 'admin' user in the setup, and creating new users in the built-in security realm afterwards works for me on 2.138.2. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Daniel Beck edited a comment on JENKINS-54143 Re: Cannot create new users in 2.138.2 bq. It should be fairly easy to reproduceI cannot. Both customizing the 'admin' user in the setup, and creating new users in the built-in security realm afterwards works for me on 2.138.2. While I used the docker image for convenience, I cannot imagine what could be different with the RPM to cause this. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Foo Bar commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 Okay, I guess I can try again myself. What information do you need, logs etc.? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Foo Bar commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 For the record I tried both with a very basic nginx reverse proxy as well as without, same result. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Flavio Rescia Dias commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 Until the solution, who need create new users, can only copy some user and modify (password, name, email) under ui. cp -a /var/jenkins_home/users/user-old /var/jenkins_home/users/user-new Dont forget to change permissions, password, name and email. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Daniel Beck commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 What information do you need, logs etc.? Jenkins system log, HTTP access log, client side HTTP log (e.g. har) Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Ryszard Perkowski commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 I'm seeing the same on version 2.150 (updated recently from 2.146). Thanks for the workaround. Sorry for lack of logs, I checked those and there is nothing that would stand out as related. The form just does: POST https://jenkins-url/securityRealm/createAccountByAdmin and the response is HTTP 200 with the same form. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Daniel Beck commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 and the response is HTTP 200 with the same form. Is there a response body? Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Daniel Beck commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 Okay, checked the code. The situation you describe can happes entirely without visible error message, if the user creation failed for any of these reasons: Password didn't match Password is required User name is required User name must only contain alphanumeric characters, underscore and dash Invalid e-mail address User name is already taken Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Shahal Tharique commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 Daniel Beck: I've tried providing all proper data, its still failing with same issue. No Error in UI, Logs etc. Issue found in 2.138.3 version also. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Marcello Romani edited a comment on JENKINS-54143 Re: Cannot create new users in 2.138.2 I have encountered the same problem.The fix for me was replacing a dot in the username with an underscore.E.g.: {{name.surname}} --> {{name_surname}}That is in line with what [~danielbeck] described above, in particular: {quote} * User name must only contain alphanumeric characters, underscore and dash {quote} Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Marcello Romani commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 I have encountered the same problem. The fix for me was replacing a dot in the username with an underscore. E.g.: name.surname --> name_surname That is in line with what Daniel Beck described above, in particular: User name must only contain alphanumeric characters, underscore and dash Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Marcello Romani edited a comment on JENKINS-54143 Re: Cannot create new users in 2.138.2 I have encountered the same problem.The fix for me was replacing a dot in the username with an underscore.E.g.: {{name.surname}} --> {{name_surname}}That is in line with what [~danielbeck] described above, in particular: {quote} * User name must only contain alphanumeric characters, underscore and dash{quote} Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Stephan Wezel commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 The problem is not reproduce able with 2.164. Maybe this bug is related to JENKINS-52869. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Stephan Wezel edited a comment on JENKINS-54143 Re: Cannot create new users in 2.138.2 The problem is not reproduce able with 2.164. Maybe this But i can reproduce the bug is related to JENKINS with 2.150.2:username: test.testpw: teste - 52869 mail: test@test . comThe name doesn't follow the rules mentioned by Daniel Beck but jenkins doesn't show any error message.With 2.164 a proper error message is reported that the username is not valid Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Stephan Wezel edited a comment on JENKINS-54143 Re: Cannot create new users in 2.138.2 The problem is not reproduce able with 2.164.But i I can reproduce the bug with 2.150.2:username: test.testpw: teste-mail: t...@test.comThe name doesn't follow the rules mentioned by Daniel Beck but jenkins doesn't show any error message.With 2.164 a proper error message is reported that the username is not valid Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Renato Chencinski commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 Same problem here, Jenkins 2.150.2. Workaround was to use a username without a dot. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Daniel Beck closed an issue as Duplicate https://jenkins.io/security/advisory/2018-05-09/#SECURITY-786 explains the rationale behind the change, and provides a workaround if you need periods in your user names. The lack of form validation bug was fixed in JENKINS-52869, so closing this issue as a duplicate. Jenkins / JENKINS-54143 Cannot create new users in 2.138.2 Change By: Daniel Beck Status: Open Closed Resolution: Duplicate Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Andreas Fester commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 Observing the same with a brand new Jenkins 2.150.1 installation (on Oracle Enterprise Linux 6.8, using JRE 1.8.0_181). User name I tried was "sample". Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54143) Cannot create new users in 2.138.2
Title: Message Title Leandro Guida commented on JENKINS-54143 Re: Cannot create new users in 2.138.2 Same thing for me in version 2.150.1. Can't create a user, no error message and no log entry. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.