<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=David+Schwartz</id>
	<title>Amahi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=David+Schwartz"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/David_Schwartz"/>
	<updated>2026-04-11T09:42:03Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Amahi_8_Upgrade&amp;diff=96346</id>
		<title>Amahi 8 Upgrade</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Amahi_8_Upgrade&amp;diff=96346"/>
		<updated>2015-09-09T00:16:15Z</updated>

		<summary type="html">&lt;p&gt;David Schwartz: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''NOTE:'''  There is no upgrade path from [[Fedora_14|Fedora 14]] or [[Ubuntu|Ubuntu 12.04 LTS]] to [[Amahi_8|Amahi 8]].  This will require a new install.&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
'''NOTE:'''  We '''recommend you turn on a temporary DHCP server''', (e.g. in your router) since the network may go down for the duration of the actual upgrade.&lt;br /&gt;
&lt;br /&gt;
All commands are executes as &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; user or precede commands with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;&lt;br /&gt;
* Apps should be uninstalled to ensure success&lt;br /&gt;
* Ensure you have your data backed up as a precaution&lt;br /&gt;
* Update everything in the system:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
 yum -y update&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* Reboot to pick up new kernels, etc:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
 reboot&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* Update everything in the system again:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
 yum -y update&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* If there are any updates, do it again. If there are new kernels, reboot:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
 reboot&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
* Follow with the upgrade below&lt;br /&gt;
&lt;br /&gt;
== Execution ==&lt;br /&gt;
Install the upgrade tool:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo yum -y install fedup&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Do the live update over the network:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo fedup --network 21 --product=server&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may see warnings similar to the following warning but you can ignore them for now.  We will clean it up before the upgrade is complete.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #E6F2FF; margin: 0px 1em;&amp;quot;&amp;gt;&lt;br /&gt;
:&amp;lt;i&amp;gt;WARNING: problems were encountered during transaction test:&lt;br /&gt;
:broken dependencies&lt;br /&gt;
:perl-PlRPC-0.2020-13.fc19.noarch requires perl-4:5.16.3-266.fc19.x86_64&lt;br /&gt;
:ruby-mysql-2.8.2-9.fc19.x86_64 requires ruby-libs-2.0.0.353-16.fc19.x86_64&lt;br /&gt;
:Continue with the upgrade at your own risk.&amp;lt;/i&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the upgrade does not let you due to issues with (for example) extra packages aded by Amahi-installed apps, you may want to add --nogpgcheck option, i.e.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo fedup --network 21 --product=server --nogpgcheck&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once the previous fedup command is complete, reboot the server (the command will tell you):&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo reboot&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
The actual upgrade will take place now, so you will not be able to access the server (or the network) until it is complete.&lt;br /&gt;
&lt;br /&gt;
It would be good to have a monitor/keyboard on the system to cover the risk that the upgrade process becomes stuck somehow. This also should let you keep up with progress.&lt;br /&gt;
&lt;br /&gt;
Be aware it may take 15 to 30 minutes at a minimum for the upgrade to complete, depending on your hardware.&lt;br /&gt;
&lt;br /&gt;
Once the upgrade is complete, from the command line execute:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
 sudo yum check&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
The following message or similar will be displayed:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #E6F2FF; margin: 0px 1em;&amp;quot;&amp;gt;&lt;br /&gt;
:&amp;lt;i&amp;gt;perl-PlRPC-0.2020-13.fc19.noarch has missing requires of perl(:MODULE_COMPAT_5.16.2)&lt;br /&gt;
:ruby-mysql-2.8.2-9.fc19.x86_64 has missing requires of libruby.so.2.0()(64bit)&lt;br /&gt;
:Error: check all&amp;lt;/i&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To correct these issues, remove the two bad packages (though this could be dangerous if you had a lot of apps installed (in which case we do not recommend it):&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
 sudo yum remove perl-PlRPC-0.2020-13.fc19.noarch ruby-mysql.x86_64&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Ensure all the problems are corrected and execute:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
 sudo yum check&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
The response should be &amp;lt;code&amp;gt;check all&amp;lt;/code&amp;gt; which indicates everything is correct.&lt;br /&gt;
&lt;br /&gt;
Now check the functionality of the Amahi dashboard after you get a DHCP lease from your HDA in your client(s). If the process completed successfully, you are now running Fedora 21 with the latest Amahi platform.&lt;br /&gt;
&lt;br /&gt;
[[Amahi_8_Upgrade_Issues_and_Solutions|Amahi 8 Upgrade issues and solutions]]&lt;br /&gt;
&lt;br /&gt;
Ref:  [https://fedoraproject.org/wiki/FedUp FedUp Wiki]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Go back to the [[Amahi_8|Amahi 8]] page.&lt;/div&gt;</summary>
		<author><name>David Schwartz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Amahi_8_Troubleshooting&amp;diff=96341</id>
		<title>Amahi 8 Troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Amahi_8_Troubleshooting&amp;diff=96341"/>
		<updated>2015-09-09T00:13:33Z</updated>

		<summary type="html">&lt;p&gt;David Schwartz: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
    {{WorkInProgress}}&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===After performing the upgrade, the dhcp and dns server are not functional.===&lt;br /&gt;
&lt;br /&gt;
To verify if the service is functional do the following from a command line:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo systemctl status dnsmasq.service&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If its not working you will get a message similer to below with a '''failed''' status:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #E6F2FF; margin: 0px 1em;&amp;quot;&amp;gt;&lt;br /&gt;
:&amp;lt;i&amp;gt;dnsmasq.service - DNS caching server.&lt;br /&gt;
:  Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled)&lt;br /&gt;
:  Active: '''failed''' (Result: exit-code) since Tue 2015-09-08 10:38:40 MST; 6s ago&lt;br /&gt;
:  Process: 7798 ExecStart=/usr/sbin/dnsmasq -k (code=exited, status=2)&lt;br /&gt;
:  Main PID: 7798 (code=exited, status=2)&lt;br /&gt;
&amp;lt;/i&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the upgrade libvirtd was installed.  libvirtd uses dnsmasq for virtual machines.  This caused a conflict.  To verify this is the issue do the following commands:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo lsof -i :53&lt;br /&gt;
&lt;br /&gt;
:COMMAND  PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME&lt;br /&gt;
:dnsmasq '''1308''' nobody    6u  IPv4  20640      0t0  UDP localhost.localdomain:domain &lt;br /&gt;
:dnsmasq '''1308''' nobody    7u  IPv4  20641      0t0  TCP localhost.localdomain:domain (LISTEN)&lt;br /&gt;
&lt;br /&gt;
  ps -ef| grep &amp;lt;number in bold above&amp;gt;&lt;br /&gt;
:nobody    1308     1  0 10:04 ?        00:00:00 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --dhcp-script=/usr/libexec/libvirt_leaseshelper&lt;br /&gt;
:root      1309  1308  0 10:04 ?        00:00:00 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --dhcp-script=/usr/libexec/libvirt_leaseshelper&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you see something like --conf-file=/var/lib/libvirt/dnsmasq/default.conf  then you can fix the dnsmasq problem by issuing the following command and then rebooting.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo systemctl disable libvirtd&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo reboot&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[category:Apps]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>David Schwartz</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Amahi_8_Troubleshooting&amp;diff=96336</id>
		<title>Amahi 8 Troubleshooting</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Amahi_8_Troubleshooting&amp;diff=96336"/>
		<updated>2015-09-09T00:10:17Z</updated>

		<summary type="html">&lt;p&gt;David Schwartz: Created page with &amp;quot;&amp;lt;!--  This page is crated automaticaly by a script. This part is commented and shall not show --&amp;gt; &amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;    ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
    {{WorkInProgress}}&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
After performing the upgrade, the dhcp and dns server are not functional.&lt;br /&gt;
&lt;br /&gt;
To verify if the service is functional do the following from a command line:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo systemctl status dnsmasq.service&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If its not working you will get a message similer to below with a '''failed''' status:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .8em 1em; background-color: #E6F2FF; margin: 0px 1em;&amp;quot;&amp;gt;&lt;br /&gt;
:&amp;lt;i&amp;gt;dnsmasq.service - DNS caching server.&lt;br /&gt;
:  Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled)&lt;br /&gt;
:  Active: '''failed''' (Result: exit-code) since Tue 2015-09-08 10:38:40 MST; 6s ago&lt;br /&gt;
:  Process: 7798 ExecStart=/usr/sbin/dnsmasq -k (code=exited, status=2)&lt;br /&gt;
:  Main PID: 7798 (code=exited, status=2)&lt;br /&gt;
&amp;lt;/i&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the upgrade libvirtd was installed.  libvirtd uses dnsmasq for virtual machines.  This caused a conflict.  To verify this is the issue do the following commands:&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo lsof -i :53&lt;br /&gt;
&lt;br /&gt;
:COMMAND  PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME&lt;br /&gt;
:dnsmasq '''1308''' nobody    6u  IPv4  20640      0t0  UDP localhost.localdomain:domain &lt;br /&gt;
:dnsmasq '''1308''' nobody    7u  IPv4  20641      0t0  TCP localhost.localdomain:domain (LISTEN)&lt;br /&gt;
&lt;br /&gt;
  ps -ef| grep &amp;lt;number in bold above&amp;gt;&lt;br /&gt;
:nobody    1308     1  0 10:04 ?        00:00:00 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --dhcp-script=/usr/libexec/libvirt_leaseshelper&lt;br /&gt;
:root      1309  1308  0 10:04 ?        00:00:00 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --dhcp-script=/usr/libexec/libvirt_leaseshelper&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
if you see something like --conf-file=/var/lib/libvirt/dnsmasq/default.conf  then you can fix the dnsmasq problem by issuing the following command and then rebooting.&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo systemctl disable libvirtd&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left&amp;quot;&amp;gt;&lt;br /&gt;
  sudo reboot&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[category:Apps]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>David Schwartz</name></author>
		
	</entry>
</feed>