The almost inevitable thread about Plugins on BETA 3...=)

Status
Not open for further replies.

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
OK, so - release notes state that we should not use anything (plugins-wise) from Beta 2. So, my first question is : how do I ensure that? I had an install of Beta 2 with the Jail set up as per Protosd's video, and Transmission installed (but not running correctly).

Also, I am STILL not being able to configure my e-mail. Even though all the information is entered correctly, I still get the error that the hostname could not be found or was not known. Everything worked fine in this regard on 8.0.4, I didn't change a thing.

Thanks! =)
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
SilverJS,

I'm going to move this over to the forum section that was created for plugins and probably close the beta-2 thread so things don't get scattered.
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
Roger, acknowledged. Thanks.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Just have the plugins jail/service started and delete the old plugin, and install the new one, can you do that?

There is no need to reinstall the whole plugin jail.
 
Joined
Apr 19, 2012
Messages
2
Just have the plugins jail/service started and delete the old plugin, and install the new one, can you do that?

There is no need to reinstall the whole plugin jail.

I deleted my old jail and reinstalled without removing the plugin (transmission) first. It still shows up under my Plugins page, but it won't start and I can't remove it. All I get is a message stating "Unable to remove plugin." So, I tried installing the new version in the hope that it would overwrite the old one, and now I have two nonworking entries. Do you have any advice on what I can do to clear them out, short of a complete reinstall?
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
I deleted my old jail and reinstalled without removing the plugin (transmission) first. It still shows up under my Plugins page, but it won't start and I can't remove it. All I get is a message stating "Unable to remove plugin." So, I tried installing the new version in the hope that it would overwrite the old one, and now I have two nonworking entries. Do you have any advice on what I can do to clear them out, short of a complete reinstall?

Unfortunately yes, this is a bug we found right after the release.

One workaround would be delete the plugin jail, delete/recreate the plugins dataset and from SSH/CLI:
# sqlite3 /data/freenas-v1.db "delete from plugins_plugins"

Second workaround is delete plugins dataset and factory reset...
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
William,

What things changed with the plugins that caused them to be re-written?

I'm just curious for those of us that started to create plugins for Beta-2 so we will know what needs to be corrected.
 
Joined
Apr 19, 2012
Messages
2
Unfortunately yes, this is a bug we found right after the release.

One workaround would be delete the plugin jail, delete/recreate the plugins dataset and from SSH/CLI:
# sqlite3 /data/freenas-v1.db "delete from plugins_plugins"

Second workaround is delete plugins dataset and factory reset...


Thanks so much! First method worked perfectly.
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
Just have the plugins jail/service started and delete the old plugin, and install the new one, can you do that?

There is no need to reinstall the whole plugin jail.

Hi there William,

Thanks for your response. I went into the GUI looking for a way to remove the Transmission plugin, but could find none. =) Sorry if I sound like a total n00b. =)
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Hi there William,

Thanks for your response. I went into the GUI looking for a way to remove the Transmission plugin, but could find none. =) Sorry if I sound like a total n00b. =)

The Plugins Jail must be started so the Delete plugin is enabled...

Services->Core->Enable Plugins
Services->Plugins->Transmission->Delete
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
Wow. This is a much faster response rate than I'm used to seeing on forums. =) Seeing as I didn't expect a response so quick (kudos to you!), I just started working on the first workaround you mentioned above - deleting the jail and starting over (even though you said it wasn't required, I know.......=)). So now, I'm re-installing via Services -> Plugins -> Settings but it's asking me for a Plugins Archive Path, where I would expect to have it ask me where the Plugins Jail PBI file is...so, once more, need help, please. =) Thanks again.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Plugins archive path is some dataset you create to store the plugins PBIs, Plugins Jail Path another dataset where the jail will reside, after that you will be asked to uplaod the plugins_jail.pbi
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
I'm really liking the new GUI layout for Plugins. It flows a lot more intuitively, although the Plugins sub-tab is not apparent at first it's really a great solution to how things were in beta-2.
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
Agreed!

OK, so now everything is re-installed and seems to be working fine. However, when logging in via web interface (on local network only - 192.168.x.x), Transmission asked me for a username and password, which it never did before. I hadn't input anything, so I just pressed "OK" with both fields blanked and I was let in. However, Transmission-Remote-GUI now doesn't let me in, stating error 401 : Unauthorized user. Didn't have that before.

And I still can't download - getting the same error as in BETA2, that is - can't seem to update tracker. Transmission-Remote-GUI was a bit more loquacious when it came time to tell me about the exact error, but in the Web GUI, I'm stuck at "getting metadata".

P.S. - Now mind you, I haven't configured mount points at all. Not even sure what those are, or if it has anything to do with the issue at hand, but there you go.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Do you have the DNS configured correctly? Can you ping google.com from within SSH for instance?
Is your interface configured as DHCP or Static?

As far as transmission auth, you may need to configure it in the settings, but I have it working without an issue and downloading torrents... web interface is reachable in alias_ip:9091 without any settings change...
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
Ah! I tried the following command :

ping google.com

once SSH'd in. Got the error "Host name lookup failure". That would explain the trackers that can't be updated, and would also explain why my daily e-mails have stopped! (IT says that host name cannot be found or some such when I try to get it working.) How do I go about fixing this?

The DHCP checkbox is NOT checked in the interface settings box, and I have set a local IP address for the interface, so as far as I know, I'm static.
 

djlax152

Dabbler
Joined
Mar 15, 2012
Messages
48
Hey Proosd, I want to install transmission from scratch, are the directions still the same? Do i still have to go throught the CLI to set all of my Directories and most importantly modify that settings file so i can access the WEBGUI for transmission.. This would make for a great video.. hint hint lol !!! :)
 

SilverJS

Patron
Joined
Jun 28, 2011
Messages
255
Ah! I tried the following command :

ping google.com

once SSH'd in. Got the error "Host name lookup failure". That would explain the trackers that can't be updated, and would also explain why my daily e-mails have stopped! (IT says that host name cannot be found or some such when I try to get it working.) How do I go about fixing this?

The DHCP checkbox is NOT checked in the interface settings box, and I have set a local IP address for the interface, so as far as I know, I'm static.

Update on this : just added my router's IP to the Name Server 1 box in Global Configuration for the Interface - that at least solved my Ping and e-mail problems. =) I guess that that changed as soon as I went static on the interface, and I hadn't put that in. OK, so that's done. But, I still seem to be stuck at the "gathering metadata" stage when downloading a torrent. Also, I still have this weird Unauthorized User issue with Transmission-Remote-GUI. Any pointers?

For DJLax : No, no CLI required. =) Once the jail is installed, you can go to Services. One of the tabs there will be Plugins, and one of the buttons in there will be Install Plug-Ins. Point to your PBI file, and you're golden. Works like a charm.
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Hey Proosd, I want to install transmission from scratch, are the directions still the same? Do i still have to go throught the CLI to set all of my Directories and most importantly modify that settings file so i can access the WEBGUI for transmission.. This would make for a great video.. hint hint lol !!! :)

Hahaha, thanks ;) I don't use transmission, but I think the instructions are the same. Setting up the plugin jail is the same, the only minor difference is you don't need to enter the SHA256 for it anymore and you can nest your plugin dataset under the Jail dataset so they both share the same parent directory.

I was just getting into doing a tutorial on tuning, then beta-3 came along! :)

SilverJS might be able to tell you better if there are any differences in the setup. He's got a headstart on me for that plugin...
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Ah! I tried the following command :

ping google.com

once SSH'd in. Got the error "Host name lookup failure". That would explain the trackers that can't be updated, and would also explain why my daily e-mails have stopped! (IT says that host name cannot be found or some such when I try to get it working.) How do I go about fixing this?

You need to enter a DNS server (Nameserver) in your global network settings in the GUI. OpenDNS is 208.67.222.222
 
Status
Not open for further replies.
Top