it's not the first time that moving a thread to the archive causes complete data loss of all files and thumbnails, requiring a manual restore from the backups (if it is at all possible).
Currently we have no idea of what might even be causing it
A mod gave a list of affected threads (some of which have been partially restored in the meantime):
it's not the first time that moving a thread to the archive causes complete data loss of all files and thumbnails, requiring a manual restore from the backups (if it is at all possible).
Currently we have no idea of what might even be causing it
A mod gave a list of affected threads (some of which have been partially restored in the meantime):
- https://leftypol.org/leftypol_archive/res/12904.html 2021-05-30
- https://leftypol.org/leftypol_archive/res/21406.html 2021-08-09
- https://leftypol.org/leftypol_archive/res/24754.html 2021-08-17
- https://leftypol.org/leftypol_archive/res/479516.html 2021-09-12
- https://leftypol.org/leftypol_archive/res/478294.html 2021-09-14
- https://leftypol.org/leftypol_archive/res/492596.html 2021-11-01 (there are working files after this date)
- https://leftypol.org/leftypol_archive/res/486919.html 2021-12-22
- https://leftypol.org/leftypol_archive/res/489758.html 2022-01-05
- https://leftypol.org/leftypol_archive/res/501865.html 2022-02-21
- https://leftypol.org/leftypol_archive/res/511693.html 2022-02-24
- https://leftypol.org/leftypol_archive/res/530378.html 2022-02-26
- https://leftypol.org/leftypol_archive/res/524505.html 2022-02-27
- https://leftypol.org/leftypol_archive/res/552720.html 2022-03-03
- https://leftypol.org/leftypol_archive/res/551330.html 2022-03-03
- https://leftypol.org/leftypol_archive/res/580500.html 2023-07-30 (fully restored)
- https://leftypol.org/leftypol_archive/res/584202.html 2023-10-07 (mostly restored)
Starting points inc/mod/pages.php:1344 selects to use either php's copy() or rename() function. The actual copy/rename is executed a few lines bellow.
Possible sources of the issue: https://www.php.net/manual/en/function.copy.php#45357
Starting points
`inc/mod/pages.php:1344` selects to use either php's `copy()` or `rename()` function. The actual copy/rename is executed a few lines bellow.
Possible sources of the issue:
https://www.php.net/manual/en/function.copy.php#45357
NB: as of now deploying the safer-move-threads branch will require regenerating the composer autoload stuff with php<whatever> /path/to/composer dumpautoload -o
NB: as of now deploying the safer-move-threads branch will require regenerating the composer autoload stuff with `php<whatever> /path/to/composer dumpautoload -o`
it's not the first time that moving a thread to the archive causes complete data loss of all files and thumbnails, requiring a manual restore from the backups (if it is at all possible).
Currently we have no idea of what might even be causing it
A mod gave a list of affected threads (some of which have been partially restored in the meantime):
Starting points
inc/mod/pages.php:1344
selects to use either php'scopy()
orrename()
function. The actual copy/rename is executed a few lines bellow.Possible sources of the issue:
https://www.php.net/manual/en/function.copy.php#45357
NB: as of now deploying the safer-move-threads branch will require regenerating the composer autoload stuff with
php<whatever> /path/to/composer dumpautoload -o