multi-user lottanzb on ubuntu 11.04 not working

Asked by hemi

hello, i'm a total newb. i just finished installing ubuntu 11.04 on the family PC, and created multiple accounts for everyone (i'm sick of my wallpaper changing to princesses every other day). i'm now trying to setup lottanzb. i installed and configured lottanzb as administrator, but i found that only one person at a time can use the application. when person-a is logged in and using lottanzb (btw - doesnt have to be downloading anything, just have it open), when person-b tries to launch it they will be asked if they want to manage another machine and then get a failed API error message. i read that this was a known issue and supposedly fixed in 0.6 (which i am running), but i may be doing something wrong because i cant seem to get past this. any help is very much appreciated. TIA hemi.

Question information

Language:
English Edit question
Status:
Open
For:
LottaNZB Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
hemi (hemi) said :
#2

Bump. No love?

Sent from my iPhone

On Aug 14, 2011, at 2:01 AM, Launchpad Janitor <email address hidden> wrote:

> Your question #166380 on LottaNZB changed:
> https://answers.launchpad.net/lottanzb/+question/166380
>
> Status: Open => Expired
>
> Launchpad Janitor expired the question:
> This question was expired because it remained in the 'Open' state
> without activity for the last 15 days.
>
> --
> If you're still having this problem, you can reopen your question either
> by replying to this email or by going to the following page and
> entering more information about your problem:
> https://answers.launchpad.net/lottanzb/+question/166380
>
> You received this question notification because you asked the question.
>

Revision history for this message
Severin H (severinh) said :
#3

Hi hemi,

I sincerely apologize for the delay in responding to you. Completing my thesis has been my primary focus in the past months.

You are perfectly right that LottaNZB is not well-suited for a multi-user environment in its current state. When starting LottaNZB, the program SABnzbd is started in the background, which does the actual work for LottaNZB. By default, SABnzbd uses the port 8080 for communicating with third-party programs like LottaNZB. When user B starts LottaNZB as well, it detects that there is already a SABnzbd listening at port 8080 and will thus not start a new one. However, it cannot automatically connect to the already running SABnzbd because it does not know its API key (which only user A knows).

This is something that LottaNZB should handle better. When it detects that SABnzbd is already running, but has been started by another user, it should automatically choose a different port such as 8081 and allow user B to run SABnzbd independently from user A.

There are several way for you to work around this problem until we come up with a permanent solution. For example, as user B, you could choose "Monitor another computer" and enter "localhost" (the same computer) and provide the API key that LottaNZB displays to user A in Edit -> Preferences -> Web. This requires that user A always launches LottaNZB first, otherwise user B will not be able to connect.

Another possibility would be to run SABnzbd independently from LottaNZB when booting the computer. You would need to properly edit "/etc/default/sabnzbdplus" and then choose "Monitor another Computer" for BOTH user A and user B. This probably not so easy if you're new to Linux.

Thanks a lot for pointing out this problem. One should definitively look into it when working on future versions of LottaNZB. If you need any further assistance, do not hesitate to ask.

Kind regards,
Severin

Revision history for this message
hemi (hemi) said :
#4

Can you help with this problem?

Provide an answer of your own, or ask hemi for more information if necessary.

To post a message you must log in.