#744 closed defect (notabug)

"Create an account first" is a somewhat misleading error message

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: BitlBee Version: 3.0.1
Keywords: Cc: danjac354@…
IRC client+version: irssi Operating System: Public server
OS version/distro:


Running bitlebee 3.0.1 locally through irssi.

I am unable to save any accounts.

If I add an account e.g. account add jabber myname@… mypass the account is created OK.

When I type "save" I just get:

<@root> Please create an account first

I also have save_on_quit, auto_connect and auto_reconnect all set to true but still no accounts saved.

Is there any way at all that bitlebee can actually remember accounts ?

Attachments (0)

Change History (19)

comment:1 Changed at 2011-01-10T23:23:12Z by wilmer

Summary: Bitlebee does not save any accounts"Create an account first" is a somewhat misleading error message

You have to create a *BitlBee* account first. account add adds an IM account.

It's true that the error msg is a bit confusing. See "help quickstart" for more info. The reason you have to create this account is because you don't want anyone to be able to connect to your BitlBee server and use your IM accounts.

comment:2 Changed at 2011-01-10T23:27:25Z by anonymous

I already have an account on my Bitlebee localhost.

comment:3 Changed at 2011-01-10T23:37:11Z by wilmer

If you get that error message, you don't.

Once again, see "help quickstart".

comment:4 Changed at 2011-01-10T23:40:51Z by anonymous

I've looked through help quickstart and it doesn't explain the issue at all.

When I log into bitlebee I do register/identify:

myname [myname@…] has joined &bitlbee

So if I don't have a bitlebee account what am I registered with ?

comment:5 Changed at 2011-01-10T23:42:36Z by Wilmer van der Gaast <wilmer@…>

Can you show me that in a full chatlog?

Once you used identify/register, the save command should work. The line you pasted here has nothing to do with registering/identifying.

comment:6 Changed at 2011-01-10T23:52:28Z by anonymous

I have identify set in .irssi/config:

 Bitlbee = {
    type = "IRC";
    autosendcmd = "identify mypassword;";
  localhost = { type = "IRC"; };

I then have the following on starting irssi:

23:35 -!- myname [myname@localhost.localdomain] has joined &bitlbee
23:35 -!- ServerMode/&bitlbee [+Ct] by localhost.localdomain
23:35 [Users &bitlbee]
23:35 [@myname] [@root]
23:35 -!- Irssi: &bitlbee: Total of 2 nicks [2 ops, 0 halfops, 0 voices, 0 normal]
23:35 -!- Topic for &bitlbee: Welcome to the control channel. Type help for help information.
23:35 -!- Topic set by root [root@localhost.localdomain] [Mon Jan 10 23:35:34 2011]
23:35 <@root> Welcome to the BitlBee gateway!
23:35 <@root>
23:35 <@root> If you've never used BitlBee before, please do read the help information using the help command. Lots of FAQs are answered there.
23:35 <@root> If you already have an account on this server, just use the identify command to identify yourself.
23:35 -!- Irssi: Join to &bitlbee was synced in 1 secs

I then create a new account as shown in the original post, followed by save, and get the error message:

23:49 <@myname> account add jabber mygooglepass
23:49 <@root> Account successfully added
23:49 <@myname> save
23:49 <@root> Please create an account first

comment:7 Changed at 2011-01-10T23:55:04Z by Wilmer van der Gaast <wilmer@…>

Did you previously use register to create that account?

Also, I see nothing that indicates that the auto-identify was successful. If it is, root will set your usermode to +R.

comment:8 Changed at 2011-01-10T23:56:51Z by anonymous

Yes, I did:

23:55 <@myname> register mypassword
23:55 <@root> Nick is already registered

comment:9 Changed at 2011-01-11T00:05:16Z by Wilmer van der Gaast <wilmer@…>

Also, I see nothing that indicates that the auto-identify was successful. If it is, root will set your usermode to +R.

comment:10 Changed at 2011-01-11T00:07:52Z by anonymous

I have tried register/identify manually, which works fine, but again the same error message.

comment:11 Changed at 2011-01-11T00:11:49Z by Wilmer van der Gaast <wilmer@…>

So your auto-identify isn't working. That's not a BitlBee bug.

comment:12 Changed at 2011-01-11T00:15:47Z by anonymous

As I said, register/identify manually doesn't work either (I can register, but save doesn't work), and I'm able to register automatically on other channels such as freenode with no problems.

comment:13 Changed at 2011-01-11T23:53:04Z by wilmer

Can you show me a log of that? In principle the register and save commands do the same thing.

comment:14 Changed at 2011-02-02T00:33:51Z by anonymous

Bitlbee is maybe having issues reading/writing you config file. I don't recommend this, but I usually just mangle arround with chmod 777 on the folder /var/lib/bitlbee/ until it works (Ubuntu). Example commands (don't do this unless someone confirms):

sudo chmod -R 777 /var/lib/bitlbee/
sudo chmod 777 /var/lib/bitlbee/*

comment:15 Changed at 2011-02-02T10:48:14Z by nickless

Well i have a similar problem. this happens on Bitlbee don't save any account i added. I connect through an bouncer to bitlbee and anytime i restart Xchat is get:

[08:29:13] <@root> Password accepted
[08:29:13] <@root> nickless: This seems to be your first time using this this version of BitlBee. Here's a list of new features you may like to know about:

an then

[11:35:39] <@nickless> account on
[11:35:39] <@root> No accounts known. Use `account add' to add one.

So i have to add all accounts after reboot or even if i close Xchat. Same trouble without bouncer. everytime all settings lost.

sry for my bad english :)

comment:16 Changed at 2011-02-08T22:30:38Z by wilmer

Your English is fine, don't worry. :-)

Does your bouncer by any chance change your nick when you disconnect/etc? BitlBee doesn't deal with that very well.

comment:17 Changed at 2011-02-09T22:27:55Z by anonymous

Well havn't set any away nick. I'll try that, hope it works.

comment:18 Changed at 2011-05-19T13:18:51Z by lzap

AAAAAAAh I found it!

If you change your nick (like blah-lunch, blah-bbl) often then the "save" command wont work. Even if you change your nick to the registered one. All you need to do is to do the save right after XChat restart. After the first change you wont be able to use it!

comment:19 Changed at 2015-03-16T00:25:40Z by dx

Resolution: notabug
Status: newclosed

No real bugs here it seems! Error reporting has been improved slightly since then, anyway.

Modify Ticket

as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.