11:28 am


Gold
November 6, 2013

I have my thinkspeak server running smooth for months now. For some reason I can not longer log into my user account "Invalid login or password". Is there a way I can retireve this password on my server end? I am 99% sure I did not forget it. Just a bit worried someone got in and changed it. BTW I did not initially link an email to the account so that method is not going to help. Thanks.
12:37 pm

Admin
March 14, 2011

Hi,
You can try the following steps to get a new password:
1) In the directory on the server where you have ThingSpeak installed, type "rails console" or "RAILS_ENV=production rails console", depending on which environment you're using.
2) Assuming you created yourself as the first user, enter: "user = User.first" to set the user variable. If you're not the first user, you may have to set the user variable as: "user = User.find_by_login('YOUR_LOGIN_NAME')".
3) Once your user variable is set, set your email: "user.email = 'EMAIL@EXAMPLE.COM'".
4) Save the new information: "user.save".
5) Reset your password using the web form at "/users/password/new".
If you're more familiar with MySQL, you can also connect to the database and set your user email in a similar manner.
If you still can't get this working please let me know, and I'll add instructions on how to set up an admin user which can change your login/email directly from the web interface.
lee
5:51 pm

Admin
March 14, 2011

Hi Gerald,
I've added instructions on creating an admin account here: https://github.com/other/thingspeak#optional-admin-setup .
lee
Most Users Ever Online: 166
Currently Online:
30 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 272
Vinod: 240
piajola: 95
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 8665
Moderators: 1
Admins: 2
Forum Stats:
Groups: 3
Forums: 14
Topics: 1600
Posts: 5760
Newest Members:
tran, huldacormier, bogart, estebanmateo93, mikewrite, onlinebusinessModerators: cstapels: 460
Administrators: Hans: 405, lee: 457