[GH-ISSUE #561] General error: Command: SELECT "SMS"; response: #6# #476

Closed
opened 2026-02-26 01:30:41 +03:00 by kerem · 12 comments
Owner

Originally created by @ghost on GitHub (Jun 3, 2015).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/561

Trying to backup to a private (Non-GMail) IMAP server via WiFi.
SMS BAckup+ version 1.5.9

There is a current SMS folder , I have also tried renaming it so that a new SMS folder could be created.

I have used SMS Backup+ previously and it has worked perfectly.

03-06 14:18 Starting backup (MANUAL)
03-06 14:18 Backing up (1 SMS, 0 MMS, 0 call log)
03-06 14:18 Using config: BackupConfig{imap=BackupImapStore{uri=imap+ssl://PLAIN:XXXXXXXXXXXXXXXXXXXXXXXXX@mail.collective-b.org.uk:993}, skip=false, currentTry=0, maxItemsPerSync=-1, groupToBackup=ContactGroup{_id=-1, type=EVERYBODY}, backupType=MANUAL, debug=true, typesToBackup=[SMS]}
03-06 14:18 General error: Command: SELECT "SMS"; response: #6# [NO, Mailbox does not exist, or must be subscribed to.](exception: com.fsck.k9.mail.store.imap.ImapException: Command: SELECT "SMS"; response: #6# [NO, Mailbox does not exist, or must be subscribed to.])
03-06 14:18 BackupState{currentSyncedItems=0, itemsToSync=0, backupType=MANUAL, exception=com.fsck.k9.mail.store.imap.ImapException: Command: SELECT "SMS"; response: #6# [NO, Mailbox does not exist, or must be subscribed to.], state =ERROR}
03-06 14:18 Backup finished

Originally created by @ghost on GitHub (Jun 3, 2015). Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/561 Trying to backup to a private (Non-GMail) IMAP server via WiFi. SMS BAckup+ version 1.5.9 There is a current SMS folder , I have also tried renaming it so that a new SMS folder could be created. I have used SMS Backup+ previously and it has worked perfectly. 03-06 14:18 Starting backup (MANUAL) 03-06 14:18 Backing up (1 SMS, 0 MMS, 0 call log) 03-06 14:18 Using config: BackupConfig{imap=BackupImapStore{uri=imap+ssl://PLAIN:XXXXXXXXXXXXXXXXXXXXXXXXX@mail.collective-b.org.uk:993}, skip=false, currentTry=0, maxItemsPerSync=-1, groupToBackup=ContactGroup{_id=-1, type=EVERYBODY}, backupType=MANUAL, debug=true, typesToBackup=[SMS]} 03-06 14:18 General error: Command: SELECT "SMS"; response: #6# [NO, Mailbox does not exist, or must be subscribed to.](exception: com.fsck.k9.mail.store.imap.ImapException: Command: SELECT "SMS"; response: #6# [NO, Mailbox does not exist, or must be subscribed to.]) 03-06 14:18 BackupState{currentSyncedItems=0, itemsToSync=0, backupType=MANUAL, exception=com.fsck.k9.mail.store.imap.ImapException: Command: SELECT "SMS"; response: #6# [NO, Mailbox does not exist, or must be subscribed to.], state =ERROR} 03-06 14:18 Backup finished
kerem 2026-02-26 01:30:41 +03:00
Author
Owner
<!-- gh-comment-id:108441522 --> @jberkel commented on GitHub (Jun 3, 2015): could it be this issue? https://github.com/jberkel/sms-backup-plus#i-get-the-one-of-following-errors-during-backuprestore-command-select-sms-response-6-no-unknown-mailbox-sms-failure-or-response-6-no-nonexistent-unknown-mailbox-sms-failure
Author
Owner

@ghost commented on GitHub (Jun 3, 2015):

Thanks @jberkel , I did see that in another issue but I am not using GMail and am definitely subscribed to the SMS and Call Log IMAP folders.

<!-- gh-comment-id:108547511 --> @ghost commented on GitHub (Jun 3, 2015): Thanks @jberkel , I did see that in another issue but I am not using GMail and am definitely subscribed to the SMS and Call Log IMAP folders.
Author
Owner

@jberkel commented on GitHub (Jun 3, 2015):

oh i see. i don't really know, doesn't look the problem is on the app side to be honest. could it be a casing issue? can you see the folder in your mail client? maybe try moving some messages there to make sure it is usable.

<!-- gh-comment-id:108593625 --> @jberkel commented on GitHub (Jun 3, 2015): oh i see. i don't really know, doesn't look the problem is on the app side to be honest. could it be a casing issue? can you see the folder in your mail client? maybe try moving some messages there to make sure it is usable.
Author
Owner

@ghost commented on GitHub (Jun 4, 2015):

I moved the previous SMS folder to SMS-old and created a new SMS folder , still failed.

So I have switched from version 1.5.8 to 1.5.6-beta4 (in the F-Droid repo) and its working!

<!-- gh-comment-id:108847950 --> @ghost commented on GitHub (Jun 4, 2015): I moved the previous SMS folder to SMS-old and created a new SMS folder , still failed. So I have switched from version 1.5.8 to 1.5.6-beta4 (in the F-Droid repo) and its working!
Author
Owner

@jberkel commented on GitHub (Jun 4, 2015):

hm, interesting. 1.5.8 uses a new version k9 to handle IMAP, maybe something has changed there. which server do you use?

<!-- gh-comment-id:108875388 --> @jberkel commented on GitHub (Jun 4, 2015): hm, interesting. 1.5.8 uses a new version k9 to handle IMAP, maybe something has changed there. which server do you use?
Author
Owner

@ghost commented on GitHub (Jun 4, 2015):

Courier IMAP on a Debian Wheezy ARMHF.

I am using the K9-Mail client on the phone with no problems.

<!-- gh-comment-id:108945620 --> @ghost commented on GitHub (Jun 4, 2015): Courier IMAP on a Debian Wheezy ARMHF. I am using the K9-Mail client on the phone with no problems.
Author
Owner

@jberkel commented on GitHub (Jun 4, 2015):

hm, running out of things to suggest. but looking at the logs it's just the SELECT command which fails. i'll release a beta with a new version of k9 soon, maybe you can test it then, i'll add some more logging.

<!-- gh-comment-id:108957663 --> @jberkel commented on GitHub (Jun 4, 2015): hm, running out of things to suggest. but looking at the logs it's just the SELECT command which fails. i'll release a beta with a new version of k9 soon, maybe you can test it then, i'll add some more logging.
Author
Owner

@ghost commented on GitHub (Jun 4, 2015):

great , looking forward to it , happy to help with testing.

<!-- gh-comment-id:108984460 --> @ghost commented on GitHub (Jun 4, 2015): great , looking forward to it , happy to help with testing.
Author
Owner

@jberkel commented on GitHub (Jun 6, 2015):

ok, can you try https://github.com/jberkel/sms-backup-plus/releases/tag/1.5.9-BETA5 ?
getting the debug log is a bit tricky. you'll need to enable sync log + extra debug information in the SMS Backup+ preferences.

then perform the backup, when it errors press POWER+VOL UP+VOL DOWN.

you should get a notification about a bug report. the only import part is the system log, it has the following header:

------ SYSTEM LOG (logcat -v threadtime -d *:v) ------

post it as gist or send it to me. thanks!

<!-- gh-comment-id:109571835 --> @jberkel commented on GitHub (Jun 6, 2015): ok, can you try https://github.com/jberkel/sms-backup-plus/releases/tag/1.5.9-BETA5 ? getting the debug log is a bit tricky. you'll need to enable sync log + extra debug information in the SMS Backup+ preferences. then perform the backup, when it errors press POWER+VOL UP+VOL DOWN. you should get a notification about a bug report. the only import part is the system log, it has the following header: ``` ------ SYSTEM LOG (logcat -v threadtime -d *:v) ------ ``` post it as gist or send it to me. thanks!
Author
Owner

@ghost commented on GitHub (Jun 7, 2015):

I downloaded the 1.5.9.-BETA5 version this morning , uninstalled the older version and installed it.
Setup my server and credentials and enabled all the logging.
Started a backup and it worked without the 'General error: Command: SELECT "SMS"'
I have not got the system log out yet , but here is the application log which doesn't show any errors.

07-06 09:56 Backup requested (manual)
07-06 09:56 Starting backup (MANUAL)
07-06 09:56 Backing up (1 SMS, 0 MMS, 1 call log)
07-06 09:56 Using config: BackupConfig{imap=BackupImapStore{uri=imap+ssl://PLAIN:XXXXXXXXXXXXXXXXXXXXXXXXX@mail.collective-b.org.uk:993}, skip=false, currentTry=0, maxItemsPerSync=-1, groupToBackup=ContactGroup{_id=-1, type=EVERYBODY}, backupType=MANUAL, debug=true, typesToBackup=[SMS, MMS, CALLLOG]}
07-06 09:56 BackupState{currentSyncedItems=2, itemsToSync=2, backupType=MANUAL, exception=null, state =FINISHED_BACKUP}
07-06 09:56 Backup finished

<!-- gh-comment-id:109715408 --> @ghost commented on GitHub (Jun 7, 2015): I downloaded the 1.5.9.-BETA5 version this morning , uninstalled the older version and installed it. Setup my server and credentials and enabled all the logging. Started a backup and it worked without the 'General error: Command: SELECT "SMS"' I have not got the system log out yet , but here is the application log which doesn't show any errors. 07-06 09:56 Backup requested (manual) 07-06 09:56 Starting backup (MANUAL) 07-06 09:56 Backing up (1 SMS, 0 MMS, 1 call log) 07-06 09:56 Using config: BackupConfig{imap=BackupImapStore{uri=imap+ssl://PLAIN:XXXXXXXXXXXXXXXXXXXXXXXXX@mail.collective-b.org.uk:993}, skip=false, currentTry=0, maxItemsPerSync=-1, groupToBackup=ContactGroup{_id=-1, type=EVERYBODY}, backupType=MANUAL, debug=true, typesToBackup=[SMS, MMS, CALLLOG]} 07-06 09:56 BackupState{currentSyncedItems=2, itemsToSync=2, backupType=MANUAL, exception=null, state =FINISHED_BACKUP} 07-06 09:56 Backup finished
Author
Owner

@jberkel commented on GitHub (Jun 11, 2015):

is everything working? reopen if not.

<!-- gh-comment-id:111308044 --> @jberkel commented on GitHub (Jun 11, 2015): is everything working? reopen if not.
Author
Owner

@ghost commented on GitHub (Jun 12, 2015):

Yep , all working now , no error messages and new messages are backed-up to correct directory.
Thanks @jberkel !

<!-- gh-comment-id:111373927 --> @ghost commented on GitHub (Jun 12, 2015): Yep , all working now , no error messages and new messages are backed-up to correct directory. Thanks @jberkel !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sms-backup-plus-jberkel#476
No description provided.