Koozali.org: home of the SME Server

Ibays missing!

Offline groyk

  • ****
  • 144
  • +0/-0
Ibays missing!
« on: January 12, 2026, 07:05:56 AM »
Hi guys

This morning i have 2 ibays missing in the server panel! - files are still intact, but i can't access network share.
I have no failure on drives ect.

never tried this before!

any ideas

Offline mmccarn

  • *
  • 2,659
  • +10/-0
Re: Ibays missing!
« Reply #1 on: January 12, 2026, 01:39:39 PM »
A. What ibays are missing, and is there anything unusual about them?
What do you get from
Code: [Select]
db accounts show |grep '=ibay'
Specifically, does the listing include the missing ibays, and if so, what are the names of those ibays?

Is there anything odd looking about the access rights to those ibays (ls -l /home/e-smith/files/ibays)?


B. Name conflicts with users or groups?

The ibay chapter in the admin manual includes this note (emphasis added):
Quote
Note:
When you create an i-bay, the name may be up to 12 characters long #4  and may contain only lower-case letters, numbers, periods and underscores. The i-bay name should also start with a lower-case letter. For example, johnson, sales and client3.prj8 are all valid names, while 3associates, John Smith and Bus-Partner are not. Finally, an i-bay cannot use the same name as an existing user or group account. It must be unique. Note that there are two special names, primary and public, which are in use by the system and cannot be used for an i-bay name.

If the missing ibays are included in the output from the first command (above) you can check for duplicate account names using this one-liner:
Code: [Select]
db accounts show |grep '=ibay' |sed 's/=ibay//' |while read ibay; do grep "$ibay" /home/e-smith/db/accounts; done|grep -v '=ibay'
Explanation:
* get the ibays from db accounts (then remove '=ibay')
* iterate through the ibay names, searching for every row in the accounts database containing the ibay name
* remove the actual '=ibay' rows from the results

There should be no output. If there is any output your system has non-ibay accounts that duplicate ibay names.

C. signal-event post-upgrade; signal-event reboot

There's a chance that simply running signal-event post-upgrade; signal-event reboot might find and fix whatever problem you're running into.

Or - the resulting messages in /var/log/messages may tell you where to look.

Offline groyk

  • ****
  • 144
  • +0/-0
Re: Ibays missing!
« Reply #2 on: January 12, 2026, 03:02:36 PM »
Tried db accounts show |grep '=ibay'

The ibays is not in the list. I hane manually copied data to ibays with new names.

just never tried it before. have been running SME for 15 years.

also tried post upgrade and reboot without luck :-(

ibay names are ex. "test" and "fancy" nothing special.

Offline ReetP

  • *
  • 4,004
  • +6/-0
Re: Ibays missing!
« Reply #3 on: January 13, 2026, 08:26:33 PM »
I hane manually copied data to ibays with new names.

Don't start guessing - you'll break things.

Do as asked and resolve it properly.

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline groyk

  • ****
  • 144
  • +0/-0
Re: Ibays missing!
« Reply #4 on: January 13, 2026, 10:50:57 PM »
I dont think i am guessing. I just cat find the fail, if any. Tried checking logfiles ect.

Just can't find any failures, why i ended up copying data to new ibays. I am still searching.

I did delete a lot of pseudonyms the day before the failure. Dont know if i did a mistake in that task.

Right now, i dont know where to look.

Offline sages

  • *
  • 192
  • +0/-0
    • http://www.sages.com.au
Re: Ibays missing!
« Reply #5 on: January 14, 2026, 01:30:12 AM »
Quote
I dont think i am guessing.
commentus nillus
Quote
I did delete a lot of pseudonyms the day before the failure. Dont know if i did a mistake in that task.
clue
Quote
Right now, i dont know where to look.
timeline:
System ok  :grin:
made changes  :-?
System not ok  :shock: :-(

see clue above

Check pseudonyms for working ibays and compare to non working ibays

Maybe restore the backup you made while system working before you made any changes
...

Offline Jean-Philippe Pialasse

  • *
  • 2,947
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Ibays missing!
« Reply #6 on: January 14, 2026, 02:05:35 PM »
any pseudonyms deleted were starting like the name of missing ibays?

is your server up to date or few updates are available?

Offline groyk

  • ****
  • 144
  • +0/-0
Re: Ibays missing!
« Reply #7 on: January 26, 2026, 07:45:06 PM »
pseudonyms is not starting with same names.

I did open around 20 tabs for faster pseudonyms delete operation. I think the issue might be failure in "transaction" (Now I am guessing). since I also found 2 other ibays, where group was changed to admin. Again, nothing in my logfiles seems suspicious.

System was/is up to date, when operations was done.

I have restored, and it is working by now. But I think there might be an issue, if firing multiple commands against the db at the same time from the server manager. (I don't want to try again.)

Offline Jean-Philippe Pialasse

  • *
  • 2,947
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Ibays missing!
« Reply #8 on: January 28, 2026, 12:41:57 AM »
the db is a flat file.  so only one write access at a time and file is locked. 

if you have multiple thibgs to do lazy admin tool is what you want to use.