Skip to content

Commit

Permalink
[IMP] general:iot windows iot update process
Browse files Browse the repository at this point in the history
  • Loading branch information
tiku-odoo committed Mar 25, 2024
1 parent 8a0d359 commit 0e610d8
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 1 deletion.
75 changes: 75 additions & 0 deletions content/applications/general/iot/config/updating_iot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,81 @@ Lastly, click :guilabel:`Flash`, and wait for the process to finish.
An alternative software for flashing the micro SD card is `Raspberry Pi Imager
<https://www.raspberrypi.com/software/>`_.

Windows IoT update
==================

Windows virtual :abbr:`IoT (Internet of Things)` box may occasionally need an update to work
properly. The following processes are the un-installation and re-installation of the Windows virtual
:abbr:`IoT (Internet of Things)` box.

.. important::
Before un-installation of a previous version of the Windows virtual :abbr:`IoT (Internet of
Things)` box, check Odoo's latest download page to ensure a newer version
of Odoo's virtual :abbr:`IoT (Internet of Things)` box is available. To reach the download site
for the latest update use the following URL: `https://nightly.odoo.com/16.0/nightly/windows/`. It
is imperative that the `16.0` be replaced with the version of Odoo that the database is running
on (only full versions or long supported versions). The latest file will have `latest` in its
filename. Note the date of upload to the right of the filename.

Uninstalling Windows IoT
------------------------

Prior to upgrading the Windows virtual :abbr:`IoT (Internet of Things)` box, the previous version
should be uninstall first. Uninstalling the Windows virtual :abbr:`IoT (Internet of Things)` box is
done through the Windows program manager. Using any Windows version, search for `program`. Then,
from the control panel, select :guilabel:`Add or Remove Programs`. Then, search for `Odoo` and click
the :guilabel:`.. (three dot)` (ellipsis) menu to uninstall.

Confirm the un-installation and follow the steps to uninstall through the Odoo uninstall wizard.

Download and re-installation
----------------------------

To begin the re-installation, navigate to the latest installation package for Enterprise or
Community - Windows edition at `Odoo's download page
<https://nightly.odoo.com/16.0/nightly/windows/>`_.

.. important::
It is imperative that the `16.0` be replaced with the version of Odoo that the database is
running on. The latest file will have `latest` in its filename.

Next, install and setup the Odoo :file:`.exe` file. After the instructions screen, click
:guilabel:`Next` to start the installation and agree to the :abbr:`TOS (Terms of Service)`.

During the next step of the re-installation, select :guilabel:`Odoo IoT` from the :guilabel:`Select
the type of install` drop-down menu.

.. example::
For reference, the following should be installed:

- **Odoo server**
- **Odoo IoT**
- **Nginx WebServer**
- **Ghostscript interpreter**

Ensure there is enough space on the computer for the installation, and click :guilabel:`Next`.

Set the destination and complete the installation
-------------------------------------------------

To complete the re-installation, select the :guilabel:`Destination Folder` and click
:guilabel:`Install`.

.. warning::
Choosing ``C:\odoo`` as the install location allows for the Nginx server to start. Odoo's Windows
virtual :abbr:`IoT (Internet of Things)` box software should not be installed inside any of the
Window's User's directories. Doing so does **not** allow for Nginx to initialize.

The installation may take a few minutes. When complete, click :guilabel:`Next` to continue.

Ensure that the :guilabel:`Start Odoo` box is checked and click :guilabel:`Finish`. After
installation, the Odoo server runs and automatically opens `http://localhost:8069` on a web browser.
The webpage should display the :abbr:`IoT (Internet of Things)` box homepage.

.. seealso::
A restart of the Windows IoT program may be necessary should the web browser not display
anything. :ref:`iot/restart_windows_iot`

.. _iot/config/homepage-upgrade:

Update from the IoT box home page
Expand Down
2 changes: 1 addition & 1 deletion content/applications/general/iot/config/windows_iot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Configure new rule
On the :menuselection:`Rule Type` screen, select :guilabel:`Port`. Then click :guilabel:`Next`. From
the :menuselection:`Protocol and Ports` page leave the rule application to :guilabel:`TCP`. Then,
select :guilabel:`Specific Local Ports` for the :guilabel:`ports` option. In the text box, type in
`8069`. Finally click :guilabel:`Next` to continue to the next step.
`8069, 443`. Finally, click :guilabel:`Next` to continue to the next step.

On the :menuselection:`Actions` page, select :guilabel:`Allow the connection` and click
:guilabel:`Next`. The following page on the :menuselection:`Rule Configuration` wizard is the
Expand Down

0 comments on commit 0e610d8

Please sign in to comment.