Page 1 of 1

[Solved] Ubuntu headless create admin user

Posted: Tue Mar 25, 2014 9:11 pm
by cyb3rkn19ht
Good evening.

I have been using amahi but wanted to move my amahi install to a virtual server.

I converted the machine I was running amahi on into a Proxmox virtual hypervisor and created a OpenVZ container for amahi.

I was able to make it all the way through the install and reboot.

I am now not able to login. Running first-admin can't find a admin user.

I created a user.

Code: Select all

mysql> select * from users; +----+-------+------+---------------------+---------------------+------------------+---------------+-------------------+-------------+---------------------+---------------+------------------+---------------+------------------+-------+ | id | login | name | created_at | updated_at | crypted_password | password_salt | persistence_token | login_count | last_request_at | last_login_at | current_login_at | last_login_ip | current_login_ip | admin | +----+-------+------+---------------------+---------------------+------------------+---------------+-------------------+-------------+---------------------+---------------+------------------+---------------+------------------+-------+ | 1 | root | root | 2014-03-26 03:32:12 | 2014-03-26 03:32:12 | nil | nil | NULL | 0 | 2014-03-26 03:32:12 | NULL | NULL | | | 1 | +----+-------+------+---------------------+---------------------+------------------+---------------+-------------------+-------------+---------------------+---------------+------------------+---------------+------------------+-------+
This user can't login to amahi though.

How do I create a user manually for amahi?

Thanks in advance,
Brooks

System Info:
Ubuntu 12.04.4 LTS
uname -a Linux hda 2.6.32-27-pve #1 SMP Tue Feb 11 16:18:29 CET 2014 i686 athlon i386 GNU/Linux

Re: Ubuntu headless create admin user

Posted: Wed Mar 26, 2014 5:41 am
by bigfoot65
Hello,

Did you name your user root? If so, that is reserved for Linux and should not be used. That may be why you are having issues.

You should not create users via command line after Amahi is installed or they won't be picked up by the platform.

Also you might consider moving to Amahi 7 since you are doing a new install. Ubuntu is not officially supported any longer.

Re: Ubuntu headless create admin user

Posted: Wed Mar 26, 2014 4:27 pm
by cyb3rkn19ht
Thank you for your reply bigfoot65!

I looked at updating to Amahi 7 when it was first released. I read a few forum and blog posts and came to the conclusion that Ubuntu was the new focus of development. I was worried I would have to reinstall Amahi again once Amahi 8 was released. Is that a valid concern?

Or does the pros of Amahi 7 out weigh the con of having to reinstall later?

[ Post made via Android ] Image

Re: Ubuntu headless create admin user

Posted: Wed Mar 26, 2014 4:36 pm
by bigfoot65
Hello,
I looked at updating to Amahi 7 when it was first released. I read a few forum and blog posts and came to the conclusion that Ubuntu was the new focus of development.

I was worried I would have to reinstall Amahi again once Amahi 8 was released. Is that a valid concern?
Our Ubuntu developer is working on a new release, but it will be a while. He is not full time as the Fedora developer. With the Amahi 7 or 8 pieces integrated, it will most likely require a new install. No guarantee that we will be releasing Ubuntu next.
Or does the pros of Amahi 7 out weigh the con of having to reinstall later?
I think the pros of Amahi 7 make it worth the install. I may be a bit biased, but it is a much cleaner and faster platform in my opinion. Not to mention the only apps and features being updated/added will be to the current release (Fedora 19).

It's your choice, but I would not bank on an upgrade with the new version of Ubuntu. Just like with Fedora, there are typically so many changes that a new install is required.

Re: Ubuntu headless create admin user

Posted: Wed Mar 26, 2014 6:44 pm
by cyb3rkn19ht
Thanks, I will be installing Amahi 7!

Knowing there is a full time developer working on it adds a lot of value the fedora version.

[ Post made via Android ] Image