Retrieve my password | ThingSpeak API | Forum

The ThingSpeak community site has been upgraded to a new site. This site is currently in read-only mode. You can ask questions or post and read discussions on the new site.
Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Retrieve my password
No permission to create posts
October 28, 2014
11:28 am
Avatar
gerald

Gold
Members
Forum Posts: 20
Member Since:
November 6, 2013
sp_UserOfflineSmall Offline

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.

October 28, 2014
12:37 pm
Avatar
lee

Admin
Forum Posts: 457
Member Since:
March 14, 2011
sp_UserOfflineSmall Offline

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

October 28, 2014
1:14 pm
Avatar
gerald

Gold
Members
Forum Posts: 20
Member Since:
November 6, 2013
sp_UserOfflineSmall Offline

Thanks Lee, I was able to reset it. Are there alot of hoops to jump through to create a admin account? Thanks for the help as always.

Gerald

October 28, 2014
5:51 pm
Avatar
lee

Admin
Forum Posts: 457
Member Since:
March 14, 2011
sp_UserOfflineSmall Offline

Hi Gerald,

I've added instructions on creating an admin account here: https://github.com/other/thingspeak#optional-admin-setup .

lee

October 29, 2014
1:50 pm
Avatar
gerald

Gold
Members
Forum Posts: 20
Member Since:
November 6, 2013
sp_UserOfflineSmall Offline

Thanks Lee, will give it a try.

Gerald

Forum Timezone: America/New_York

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, onlinebusiness

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457