Ghost playlists on an instance restored from a backup #5134

Closed
opened 2021-06-13 00:36:42 +02:00 by Kirass0 · 2 comments
Kirass0 commented 2021-06-13 00:36:42 +02:00 (Migrated from github.com)

What Red version are you using?

3.4.11

What were you trying to do?

I was creating a clone of my bot using backup procedure. It was on 5th March, so I was using Red version from that time.

What did you expect to happen?

All my data working and usable on a second instance.

What actually happened?

All my Global playlist are not listed under "playlist list" command, but are still preset somehow. I can use "playlist info" on them or even play them. Trying to delete them doesn't throw any errors, but their state doesn't change.

How can we reproduce this error?

  1. Have an instance with some Global playlists.
  2. Create a backup and start a new instance using that backup.
  3. Check if Global playlist behave like described above.

I didn't try to reproduce it, so maybe there was another factor in my case.
I did a new backup and the same thing happend. All global playlist are invisible on a new instance.

Anything else?

My discord name is Kirass#5074 if you want to ask something.

### What Red version are you using? 3.4.11 ### What were you trying to do? I was creating a clone of my bot using backup procedure. It was on 5th March, so I was using Red version from that time. ### What did you expect to happen? All my data working and usable on a second instance. ### What actually happened? All my Global playlist are not listed under "playlist list" command, but are still preset somehow. I can use "playlist info" on them or even play them. Trying to delete them doesn't throw any errors, but their state doesn't change. ### How can we reproduce this error? 1. Have an instance with some Global playlists. 2. Create a backup and start a new instance using that backup. 3. Check if Global playlist behave like described above. ~~I didn't try to reproduce it, so maybe there was another factor in my case.~~ I did a new backup and the same thing happend. All global playlist are invisible on a new instance. ### Anything else? My discord name is Kirass#5074 if you want to ask something.
Flame442 commented 2022-08-19 20:45:58 +02:00 (Migrated from github.com)

I cannot reproduce this issue on 3.4.18 with the following steps:

  1. Create a global playlist with [p]playlist create GlobalPlaylist --scope global
  2. Add a few songs to the playlist with [p]playlist append GlobalPlaylist a search term
  3. Stop the bot
  4. Run redbot-setup backup <instancename>
  5. Extract the backup file somewhere else
  6. Run redbot-setup to create a new instance with the extracted backup's folder as the datapath
  7. Start the instance

At this point, [p]playlist list does show the playlist, [p]playlist info works as expected, and [p]playlist delete properly deletes the playlist, removing it from list and info. I'm not sure if this issue has been fixed since 3.4.11, or if you followed a different set of instructions to reproduce it. If you can still reproduce it on 3.4.18, please give exact reproduction steps (like I did above) as well as the output of [p]debuginfo on any instances involved in the process.

I cannot reproduce this issue on 3.4.18 with the following steps: 1. Create a global playlist with `[p]playlist create GlobalPlaylist --scope global` 2. Add a few songs to the playlist with `[p]playlist append GlobalPlaylist a search term` 3. Stop the bot 4. Run `redbot-setup backup <instancename>` 5. Extract the backup file somewhere else 6. Run redbot-setup to create a new instance with the extracted backup's folder as the datapath 7. Start the instance At this point, `[p]playlist list` **does** show the playlist, `[p]playlist info` works as expected, and `[p]playlist delete` properly deletes the playlist, removing it from `list` and `info`. I'm not sure if this issue has been fixed since 3.4.11, or if you followed a different set of instructions to reproduce it. If you can still reproduce it on 3.4.18, please give **exact** reproduction steps (like I did above) as well as the output of `[p]debuginfo` on any instances involved in the process.
Kowlin commented 2022-10-18 21:48:22 +02:00 (Migrated from github.com)

Closing due to no reproduction.

Closing due to no reproduction.
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
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
Mrcoolgamer11/Red-DiscordBot#5134
No description provided.