7:23 pm

August 2, 2015

Hello everyone,
I have setup ThingSpeak locally on an Ubuntu 15.05 server and I will like to access its admin page from: localhost:3000/admin/ but I have try all possible admin name still not being able to login into it.
I have follow instruction at: http://community.thingspeak.com/forum/thingspeak-api/retrieve-my-password/ and also: https://github.com/other/thingspeak#optional-admin-setup but good results.
I need help: How can I setup admin use (or super user or site administrator) for site administration?
Many thanks!
hear from you soon!
God blesses!!!
Best regards,
Sanyaade
9:20 am

Admin
March 14, 2011

Hi Sanyaade,
When you follow the instructions at https://github.com/other/thingspeak#optional-admin-setup , are there any errors after you create your AdminUser? Are you running the Rails console with the same environment as the server you're running?
lee
5:49 am

August 2, 2015

Hi Lee,
Many thanks for your reply and support!
1.) There were no errors adding email: and password but I was unable to add user name when I was creating the AdminUser as syntax for user: was rejected if I add it to it.
2.) Yes I was running the rails console on the same server I installed ThingSpeak.
Please help! I am very grateful for your reply!
Many thanks!
hear from you soon!
God blesses!!!
Best regards,
Sanyaade
6:21 am

August 2, 2015

Hi Lee,
I will be answering my own questions here again.
The Admin login is working. I dont know what I did that made it to work and I can now login into the Admin page. what I can remebered was that:
1.) Shutdown the rails running
2.) execute the command: rails console
3.) run: AdminUser.create!(email: 'myname@email.com', password: 'My_PASSWORD', password_confirmation: 'My_PASSWORD')
4.) Exit the rails console: exit
5.) run: rails server
6.) access the server at: localhost:3000/admin
7.) enter my email as login and my password ( created in step 3 above)
I was able to access the dashboard and navigate around it.
Lee many thanks for your support.
I think I need to learn Ruby and understand how rails works if I want to get the grip of ThingSpeak. Ruby, Erlang, Go are being used now in IoT platforms. Iwont have much problems with Java, C/C++, Lua or Python.
Lastly I noticed that ThingSpeak interface was based after ActiveAdmin. I follow it from your github.com. I will need to study it as well so that I can contribute to ThingSpeak.
Once again many thanks for your support. really appreciated!
hear from you soon!
God blesses!!!
Best regards,
Sanyaade
Most Users Ever Online: 166
Currently Online:
17 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:
Zain-Ul-Abidin, wellbeingcentresuk, Vamsi, frankmehlhop, bhumin, dennysrodialahModerators: cstapels: 460
Administrators: Hans: 405, lee: 457