This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error updating from 1.1.0 to 1.2.0
#1
I have an RPi3 with Openplotter 1.1.0, trying to update to the latest version, the update fails, I report below the terminal screen.
I tried on a second microSD I had backup but the error is the same Huh


----------------------------------------------------------------------------------------------------------------------------------------------
Active: activating (auto-restart) (Result: exit-code) since Wed 2019-06-19 07:55:37 CEST; 33ms ago

  Process: 1760 ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=1/FAILURE)

giu 19 07:55:37 etta2 systemd[1]: Failed to start Advanced IEEE 802.11 AP a…tor.
giu 19 07:55:37 etta2 systemd[1]: hostapd.service: Unit entered failed state.
giu 19 07:55:37 etta2 systemd[1]: hostapd.service: Failed with result 'exit…de'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: errore nell'elaborare il pacchetto hostapd (--configure):
 il sottoprocesso installato script di post-installation ha restituito lo stato di errore 1
Configurazione di vim-common (2:8.0.0197-4+deb9u2)...
Elaborazione dei trigger per man-db (2.7.6.1-2)...
Elaborazione dei trigger per gnome-menus (3.13.3-9)...
Elaborazione dei trigger per hicolor-icon-theme (0.15-1)...
Configurazione di vim-tiny (2:8.0.0197-4+deb9u2)...
Si sono verificati degli errori nell'elaborazione:
 hostapd
E: Sub-process /usr/bin/dpkg returned an error code (1)

#### ERROR. ABORTING, PRESS ENTER TO EXIT ####^[[2~
----------------------------------------------------------------------------------------------------------------------------------------------
Reply
#2
Same error message with me.

Process: 30465 ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=1/FAILURE)

Jun 21 22:47:52 openplotter systemd[1]: hostapd.service: Unit entered failed…te.
Jun 21 22:47:52 openplotter systemd[1]: hostapd.service: Failed with result …e'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: Fehler beim Bearbeiten des Paketes hostapd (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
hostapd
E: Sub-process /usr/bin/dpkg returned an error code (1)

#### ERROR. ABORTING, PRESS ENTER TO EXIT ####
Reply
#3
(2019-06-21, 10:06 PM)Alpenskipper Wrote: Same error message with me.

Process: 30465 ExecStart=/usr/sbin/hostapd -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=1/FAILURE)

Jun 21 22:47:52 openplotter systemd[1]: hostapd.service: Unit entered failed…te.
Jun 21 22:47:52 openplotter systemd[1]: hostapd.service: Failed with result …e'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: Fehler beim Bearbeiten des Paketes hostapd (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
hostapd
E: Sub-process /usr/bin/dpkg returned an error code (1)

#### ERROR. ABORTING, PRESS ENTER TO EXIT ####

I just started playing with the image and ran into the same issue going from 1.0 to 1.2.  It does appear based on my research that there is a problem with the current version of hostapd and it is impacting more than just this image.  

I believe you could probably install an earlier version, but for now I just chose to remove it using "apt-get remove hostapd".  After that, the install will work fine.  Keep in mind you will likely lose the ability to function as an access point.
Reply
#4
Well, thanks tafische for your sharing, but after the update it should be possible to reinstall hostapd without problems ...?
Reply
#5
I removed hostapd and rerun the openplotter update ...

This is the result:
   
Reply
#6
http://forum.openmarine.net/showthread.p...698&page=3

sudo systemctl enable hostapd.service
Reply
#7
(2019-07-03, 10:31 PM)jim321 Wrote: http://forum.openmarine.net/showthread.p...698&page=3

sudo systemctl enable hostapd.service

Sorry but your link doesn't work.
Reply
#8
(2019-07-04, 12:56 AM)svkatielee Wrote:
(2019-07-03, 10:31 PM)jim321 Wrote: http://forum.openmarine.net/showthread.p...698&page=3

sudo systemctl enable hostapd.service

Entschuldigung, aber Ihr Link funktioniert nicht.

http://forum.openmarine.net/showthread.php?tid=1698&page=3
Angel  Entschuldigung für mein Englisch. Es ist "deepl.com english"
PN bitte auf german.  Big Grin
Reply
#9
I did a reboot and ran an update again, ok update but finally gave me this:

Code:
[code]Adding support for wifi modules using the rtl8188eu, rtl8192eu, rtl8812au, 8822bu, mt7610 and mt7612 drivers...

--2019-07-04 00:01:10--  http://www.fars-robotics.net/install-wifi
Risoluzione di www.fars-robotics.net (www.fars-robotics.net)... 212.23.8.80
Connessione a www.fars-robotics.net (www.fars-robotics.net)|212.23.8.80|:80... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 17088 (17K) [text/plain]
Salvataggio in: "/usr/bin/install-wifi"

/usr/bin/install-wi 100%[===================>]  16,69K  --.-KB/s    in 0,08s  

2019-07-04 00:01:11 (198 KB/s) - "/usr/bin/install-wifi" salvato [17088/17088]


*** Raspberry Pi wifi driver installer by MrEngman.
*** Performing self-update
*** Relaunching after update

*** Raspberry Pi wifi driver installer by MrEngman.

Your current kernel revision = 4.19.42-v7+
Your current kernel build    = #1219

Checking for a wifi module to determine the driver to install.

Your wifi module is unrecognised.

**** Unable to identify your wifi module ****

The script only works for wifi modules using the rtl8188eu, rtl8188fu, rtl8192eu, rtl8812au, 8822bu, mt7610 and mt7612 drivers.

Looking for your wifi module the script detected the following USB devices:-

Bus 001 Device 005: ID 04d9:1702 Holtek Semiconductor, Inc. Keyboard LKS02
Bus 001 Device 004: ID 046d:c03f Logitech, Inc. M-BT85 [UltraX Optical Mouse]
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

If you are certain your module uses one of the drivers the script installs check the output of command
'lsusb' shows your wifi module. If lsusb shows your wifi module try running the script again. If the
script fails to detect your wifi module again the driver may need updating to add your module USB id.

If lsusb does not show your wifi module you will need to resolve that issue before the script can be
used to install the driver you need.

Synchronizing state of hostapd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable hostapd
Failed to enable unit: Unit file /etc/systemd/system/hostapd.service is masked.

APPLYING SETTINGS...

dtoverlay=i2c-gpio,i2c_gpio_sda=2,i2c_gpio_scl=3,bus=3

COMPRESSING OPENPLOTTER CODE BACKUP INTO HOME...


DELETING OLD OPENPLOTTER CODE FILES...


FINISHED, PRESS ENTER TO REBOOT SYSTEM.
[/code]

I then ran
sudo systemctl enable hostapd.service
but without result
Reply
#10
A week ago, I had the same problem.
I had to connect by cable to my box, so that openplotter gets updated and no problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)