Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Pads are there again after Rebooting the Server (Etherpad Docker) #117

Open
q2apro opened this issue Jan 7, 2024 · 0 comments
Open

Comments

@q2apro
Copy link

q2apro commented Jan 7, 2024

Originally posted at adminspad3: HarryBleckert/ep_adminpads3#14

When I reboot the server, all pads that I have deleted with the plugin are again in the list at /admin/pads.

Is this a bug of the plugin? It happens with the plugin "adminpads2" and "adminpads3".

I have just tested it:

  1. Created a backup of the database (A)
  2. Used the plugin to delete about 30 pads
  3. Created another backup of the database (B)

Result: Backup (A) contains the same pads as backup (B) inside db etherpad.

But at /admin/pads it shows only the pads that were not deleted.

Either the Postgresql db dump has an issue, or the deletion does not really delete.

I could not find the source for socket.emit('delete', padID); to check what is going on with the deletion.


Notes:

When restarting the Etherpad Docker, the deleted pads do not show up (as expected).

When restarting the Postgresql Docker, the deleted pads do not show up (ax expected).

However, when rebooting the server, the deleted pads show up again (!)

So some "data recovery" seems to happen with the server reboot?! ... and all new changes to pads are also there.


Could this have to do with the issue:

Extensions and Custom Code: If you have custom extensions or code that is run during server startup or shutdown, it could potentially cause changes. For example, if you have a script set up to run on server startup that performs some data modifications, those changes would occur during the restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant