Amahi Express Install Disc 11
-Added Amahi Server Setup message without any login prompt at all.
-Added automatic admin/administrator creation
-Complete change of theme.
-Changed names to 'Amahi'
-Added Amahi dice in the module
-Fixed slowness if INSTALL CODE is written first
-Automatic timezone selection according to location.
-Changed prompt message in the terminal
-Added command to change to 'generic-release` from `fedora-release`
-Tried to make amahi server install script more network fail proof
Note - Try disconnecting the internet for 15 minutes and then reconnect again to test. Installation time may increase substantially due to network reconnection. But it will complete.
-Changed amahi setup script to execute hda-install in the end.
-Changed the script to include hda-install -i INSTALL CODE
#1 Updated by bigfoot65 over 1 year ago
- Status changed from New to Feedback
- Assignee set to sanjitchak
Tested new Express CD version 3 and all appears to be working as expected.
Seems like in the first version most of the Amahi bits were installed during the OS installation process. Once the terminal was accessed, it only do the hda-install piece. Doing it this way, the last part of install was quicker.
In this version, it appears all the Amahi bits are installed once the Terminal is accessed. Not sure which is best, but I personally preferred most of the Amahi bits installed during the OS setup.
Also, only keyboard language that is available is English. Is that based on the language chosen initially with the OS install or should there be more choices? I chose English of course for the language.
Also do we want to make the default user administrator/administrator versus letting the user do it? Seems many users forget to make the user an administrator which causes a reinstall since root is disabled. Setting it for them would prevent that issue.
Finally, can the options that are preset be locked, such as the Minimal Install and disk format? Since root was disabled, I wondered if we could do other customization that was locked to prevent users making changes. These changes often result in a failed Amahi install and cause many hours of diagnosis with users in forums and chat.
All and all, the Express CD works well and is a great advancement for Amahi 11. Users will prefer this over previous Amahi version installs that required command line intervention.
#2 Updated by sanjitchak over 1 year ago
Thanks for your awesome feedback. Felt nice, reading it.
-Yes, in the beginning, I was trying to do hda-install during OS installation itself. But hda-install showed an error that it can't connect to MySQL. So, I tried the hard way of rebooting the system and automatically install it.
OS installation runs in chroot mode and it's a bad idea to run MySQL in chroot mode, according to various sources.
-The keyboard is available according to the language selected. English (India) gives keyboard with Indian rupee sign.
-If we don't have any problem regarding security, keeping default admin/admin then we can do it. What do you think?
-I think only a few options, which are not mandatory can be locked like ROOT. I will try to do it.
#4 Updated by bigfoot65 over 1 year ago
Thanks for answering my questions. Makes sense to do it the way you did in this version.
I think setting the default user is fine as we did it with the Amahi 7 Express CD. However, I think it would be best to make the user name and password administrator / administrator to ensure we meet the minimum password length.
Also, the MySQL root password needs to be changed to be at least 8 characters as well. This was an issue in Amahi 10 initially. Maybe make it something like amahihda vs hda.
If I am mistaken, cpg can jump in and clarify.
#8 Updated by bigfoot65 over 1 year ago
IMO, I think the 'Make it as Administrator' is good. Leave root account disabled.
Also for the MariaDB password, in Amahi 10 I can login as root using hda as a password. Is there more than one root password? Seems like I could also login using AmahiHDARulez as well.
Obviously cpg has the final say.
#9 Updated by bigfoot65 over 1 year ago
Tested v4 image and worked perfectly.
The creation of the user simplifies the install.
I think we are pretty much ready to call this version the final Amahi 11 Express CD.
Was it possible to lock down the default options set, like minimal install, user creation, etc? Just curious if it was possible. Not sure if cpg would want it locked down, or still potential for advanced users to be able to make changes.
#13 Updated by sanjitchak over 1 year ago
Maybe changing this DATABASE_MAIN_PASSWORD might do the trick. We use this hda-install script to setup Amahi Server for the first time.
What do you say?
#14 Updated by bigfoot65 over 1 year ago
That looks like the place to me. Not sure if it's done anywhere else though.
cpg would be the best to ask on this one.
Also do we want to comment out the Greyhole pieces? Since Greyhole is now separate form Amahi, not sure we need it in the install script any longer.
#16 Updated by cpg over 1 year ago
I found how we're getting around the short/weak password for root in mysql.
Given that it still works in the installer, I am hesitant to kick this particular hornet's nest, as it will require hard constraints on it, and it which could also change over time or something.
I will think about this some more, maybe experiment, but I rather we keep on trucking as is.
#17 Updated by sanjitchak over 1 year ago
There we are uninstalling 'cracklib_password_check' which may be a good option.
If maybe in some cases cracklib don't have access to its dictionary, password won't be created (https://mariadb.com/kb/en/library/password-strength-checking/#known-issues).
#19 Updated by bigfoot65 over 1 year ago
Tested latest release.
Changes to remove Fedora and replace with Amahi look professional. Good job!
The process appears to work as designed, installing with no issues. The Amahi install in the console takes a while, but it is seamless to the user other that waiting for the final login.
Did basic testing of some dashboard items with no problems to report.
This Express CD is something Amahi has needed for quite some time. Hopefully this is an easily repeatable process for future releases.
#22 Updated by cpg over 1 year ago
working on v6 now, we're down to one of our last errors. it appears, after all the gems are updated, etc. that it may be some issue with authlogic. filed a bug with them
#23 Updated by bigfoot65 over 1 year ago
v6 installs fine, however there is an error when doing the initial user login with http://hda. Entering admin/administrator results in "whoopsie there is a dashboard issue" message, then it redirects back to the credentials initialization. Goes into an endless loop, entering credentials, then the error.
#26 Updated by sanjitchak over 1 year ago
- Status changed from Assigned to Feedback
- Assignee changed from sanjitchak to cpg
Tested the v6 ISO with repo updated.
As expected, something's not good in bootsnap.
Everything seems to be ok in production.log:-
When trying to access the server for the first time it shows the following error:-
We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly.
#28 Updated by cpg over 1 year ago
hda-platform-10.6.15-1.x86_64.rpm updated to the repo.
i am not sure if installing over an existing broken hda-platform will work. it may need to be a fresh install.
i think app installs are not working, however, most other things should be working, so detailed page by page testing and reporting anyhing in in the Setup area tabs would be great help.
#32 Updated by bigfoot65 over 1 year ago
#36 Updated by cpg over 1 year ago
hda-platform-10.6.20-1.x86_64.rpm released to the repo with some updates. apps page should work (slow).
app installation seems to work, though there are some issues with app URLs.
other known issues: super-slow app listing, flaky installs that appear to work but reported as errors to the user
#42 Updated by cpg over 1 year ago
hda-platform-10.6.22-1.x86_64.rpm updated. app listing is fast (thanks sukhbir!) and app installation/uninstallation seems to work.
known issue is that webapps are not created (maybe all the time, only tried a couple of apps), so DNS names and perhaps virtualhost for apps with web apps do not seem to work. getting close!
#44 Updated by bigfoot65 over 1 year ago
Tested install using latest v7 image. All went well.
Dashboard is working and apps listing is much quicker.
Tested a few apps, but ran into a problem with those that have a database, such as WordPress and phpMyAdmin:
ERROR 1045 (28000): Access denied for user 'wordpress'@'localhost' (using password: YES) ERROR 1045 (28000): Access denied for user 'phpmyadmin'@'localhost' (using password: YES)
phpSysInfo installs and reflects the distro name as: Generic release 27 (Generic)
Installed Adminer, but it's not working. It goes to the Amahi Dashboard when accessing the URL.
Seems phpMan works fine, so might be something with the Adminer app.
Will test more functionality as time permits.
#52 Updated by bigfoot65 over 1 year ago
- Status changed from New to Feedback
- Assignee set to cpg
Tested latest Express ISO and install went smoothly.
Once rebooted, Dashboard works. Checked out Beach theme and appears to work fine.
Most tabs worked fine, except apps. I tried two apps (WordPress and phpMyAdmin), both failed with:
Installing app id n0d3n5na6g under /var/hda/platform/html/script/.. ENV=production /var/hda/platform/html/vendor/bundle/ruby/2.4.0/gems/activeresource-5.0.0/lib/active_resource/connection.rb:154:in `handle_response': Failed. Response code = 404. Response message = Not Found. (ActiveResource::ResourceNotFound) from /var/hda/platform/html/vendor/bundle/ruby/2.4.0/gems/activeresource-5.0.0/lib/active_resource/connection.rb:133:in `request' from /var/hda/platform/html/vendor/bundle/ruby/2.4.0/gems/activeresource-5.0.0/lib/active_resource/connection.rb:92:in `block in get' from /var/hda/platform/html/vendor/bundle/ruby/2.4.0/gems/activeresource-5.0.0/lib/active_resource/connection.rb:227:in `with_auth' from /var/hda/platform/html/vendor/bundle/ruby/2.4.0/gems/activeresource-5.0.0/lib/active_resource/connection.rb:92:in `get' from /var/hda/platform/html/vendor/bundle/ruby/2.4.0/gems/activeresource-5.0.0/lib/active_resource/base.rb:1051:in `find_single' from /var/hda/platform/html/vendor/bundle/ruby/2.4.0/gems/activeresource-5.0.0/lib/active_resource/base.rb:938:in `find' from /var/hda/platform/html/app/models/app.rb:210:in `install_bg' from /var/hda/platform/html/script/install-app:87:in `install_or_uninstall' from /var/hda/platform/html/script/install-app:108:in `main' from /var/hda/platform/html/script/install-app:121:in `<main>' ======= app install begin @ 2018-06-18 20:57:34 -0500 ========== Installing app id fqzjgts9lz under /var/hda/platform/html/script/.. ENV=production
Will continue to test other areas when I have more time.
Also available in: Atom