Error installing email plugin

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Fredkup
Posts: 20
Joined: Sat Sep 19, 2015 8:55 pm

Error installing email plugin

Post by Fredkup »

I'm new at this and just installed V1.8.0 Gargoyle on a TL-WR841N/ND v8. I installed 'plugin-gargoyle-email-notifications-nossl'. It shows installed, I rebooted, unplugged, but it will not show in System menu nor can I 'uninstall' it. Found same issue in another post about Adblock problems but no solution offered.

Thanks for any help, Fredkup
Memory Usage:13.2MB / 28.2MB (46.8%)

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Error installing email plugin

Post by Lantis »

If you can manually navigate to the http://192.168.1.1/email.sh site and it works then I'd be inclined to leave it and manually add it to the menu with the following commands:

Code: Select all

	uci set gargoyle.display.system_email_notifications="Email Notifications"
	uci set gargoyle.scripts.system_email_notifications='email.sh'
	uci set gargoyle.system.email_notifications='380'
	uci commit
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Fredkup
Posts: 20
Joined: Sat Sep 19, 2015 8:55 pm

Re: Error installing email plugin

Post by Fredkup »

Can't get to http://192.168.1.1/email.sh. It gets replaces by overview.sh so I assume it doesn't exist.

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Error installing email plugin

Post by Lantis »

Correct.
Sounds like the plugin didn't install correctly at all.

You said it shows still installed?
You'll have to do a manual uninstall which involves removing the entry in the status file at /plugin_root/usr/lib/opkg/status as well as any files relating to the email plugin at /plugin_root/usr/lib/opkg/info/ after checking the ".list" file in that directory for any and all files relating to the plugin.
(I'm typing these directories from memory so use your best judgement when navigating to them).

A faster method would be to reflash your firmware. Depends which way you are inclined.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Fredkup
Posts: 20
Joined: Sat Sep 19, 2015 8:55 pm

Re: Error installing email plugin

Post by Fredkup »

Thanks for your help, I just got Putty up and running and haven't used Linux for a while but I will try it the long way first and if that fails I'll re-install the firmware and post the results.

Fredkup

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Error installing email plugin

Post by Lantis »

For this kind of work i actually recommend WinSCP.
Because it's a visual based implementation navigating through the folders is super quick and easy :)

Whatever works best for you though! Let me know if you have any further questions.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Fredkup
Posts: 20
Joined: Sat Sep 19, 2015 8:55 pm

Re: Error installing email plugin

Post by Fredkup »

Thank you for the info on WinSCP, it's downloading as I type. Got this from Putty last night and only found one ref to email. Not sure what all to remove so will reflash router today. One question, what is meant by Status -- half-installed?
Fredkup
_____________________________________
root@Gargoyle:~# cd /plugin_root/usr/lib/opkg/info/

root@Gargoyle:/plugin_root/usr/lib/opkg/info# ls -l
-rw-r--r-- 1 root root 13 Aug 20 15:10 msmtp-nossl.conffiles
-rw-r--r-- 1 root root 595 Aug 20 15:10 msmtp-nossl.control
-rw-r--r-- 1 root root 52 Sep 30 18:54 msmtp-nossl.list
-rwxr-xr-x 1 root root 145 Aug 20 15:10 msmtp-nossl.postinst
-rwxr-xr-x 1 root root 76 Aug 20 15:10 msmtp-nossl.prerm

root@Gargoyle:/plugin_root/usr/lib/opkg/info# cat *.list
/plugin_root/etc/msmtprc
/plugin_root/usr/bin/msmtp

root@Gargoyle:/plugin_root/usr/lib/opkg/info# cd ..
root@Gargoyle:/plugin_root/usr/lib/opkg# ls -l
drwxr-xr-x 2 root root 0 Sep 30 18:54 info
-rw-r--r-- 1 root root 388 Sep 30 18:54 status

root@Gargoyle:/plugin_root/usr/lib/opkg# cat status
Package: msmtp-nossl
Version: 1.6.2-1
Depends: libc
Provides:
Status: install ok half-installed
Architecture: ar71xx
Installed-Time: 1443653641
Link-Destination: root

Package: plugin-gargoyle-email-notifications-nossl
Version: 1.0-1
Depends: libc, gargoyle, msmtp-nossl
Provides:
Status: install user half-installed
Architecture: all
Installed-Time: 1443653641
Link-Destination: root

root@Gargoyle:/plugin_root/usr/lib/opkg# cd info

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Error installing email plugin

Post by Lantis »

I have never seen a "half installed" status before. Very strange. And probably the reason it hasn't worked.

A fresh start might be a good idea :)
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Fredkup
Posts: 20
Joined: Sat Sep 19, 2015 8:55 pm

Re: Error installing email plugin

Post by Fredkup »

Ok, so I flashed with gargoyle_1.8.0-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin and re-installed "Email notifications for Gargoyle (without SSL support)" which appears to be different than "plugin-gargoyle-email-notifications-nossl".

I now have different files in "info"
root@Gargoyle:/plugin_root/usr/lib/opkg/info# ls
msmtp-nossl.conffiles
msmtp-nossl.control
msmtp-nossl.linked
msmtp-nossl.list
msmtp-nossl.postinst
msmtp-nossl.prerm
plugin-gargoyle-email-notifications-nossl.control
plugin-gargoyle-email-notifications-nossl.list
plugin-gargoyle-email-notifications-nossl.postinst
root@Gargoyle:/plugin_root/usr/lib/opkg/info#


but status is the same with 'half-installed'
root@Gargoyle:/plugin_root/usr/lib/opkg# cat status
Package: msmtp-nossl
Version: 1.6.2-1
Depends: libc
Provides:
Status: install ok half-installed
Architecture: ar71xx
Installed-Time: 1443878128
Link-Destination: root

Package: plugin-gargoyle-email-notifications-nossl
Version: 1.0-1
Depends: libc, gargoyle, msmtp-nossl
Provides:
Status: install user half-installed
Architecture: all
Installed-Time: 1443878128
Link-Destination: root


but there is no email.sh in any directory on the router.

Any insights/suggestions would be greatly appreciated
Fredkup

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Error installing email plugin

Post by Lantis »

At this stage I'm thinking its a flash space issue.
We've seen a few problems with this plugin but no one has failed to install it at all.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply