Re: [Tiki-devel] Broken "Dump Files" feature

Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> Fri, 20 Oct 2023 19:09:04 +0200
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Am Freitag, dem 20.10.2023 um 17:10 +0100 schrieb Jonny Bradley via
TikiWiki-devel:
> Hi Volker
> 
> Actually i thought that had been removed a while ago, but i believe you it's still there! ;)

It looks somewhat like it has been removed incompletely... 

> Did you add a bug report on dev? That's probably the best way to get someone to investigate, possibly another php8+ casualty?

I've reported something like that, four months ago:

https://dev.tiki.org/item8425-Database-dump-creates-corrupt-tar-files

Looks like I've screwed up at that time. The bug report above is erroneous
and should be closed.

Maybe it's a PHP8+ casualty. And the tar file creator class "tar.class.php"
(in "lib") is more than twenty years old. On the few pages I could find on
the web about it, the latest version is just as old.

Still, I think it is an important feature. It should probably be implemented
anew, and what's left of the old implementation be removed. 

Maybe I could do it, if I get a little help. My PHP and Tiki knowledge is
very limited. I would need a few pointers.

I'm doing a bug report now, about this feature in Tiki 26 and a feature
request for a reimplementation.

Cheers,
Volker


> > On 13 Oct 2023, at 14:37, Volker Wysk <[email protected]> wrote:
> > 
> > Hi!
> > 
> > Tiki has a feature called "Dump Files". It's available at the very end of
> > the "Wiki" Control Panel page, if you have disable the tab view. 
> > 
> > It is supposed to create a dump of the whole wiki (with restrictions), as a
> > tar file.
> > 
> > In Tiki 24 or 25, this created a tar archive, which appeared to be
> > corrupt. The dump is created with some very old tar file creator PHP class. 
> > 
> > My guess is, that, in Tiki 24/25, the created tar file's format is just out
> > of date. The "tar" program can create/unpack archives of five different
> > formats - see the section "Archive format selection" in the tar manpage. It
> > doesn't say if the format is detected automatically. I guess that it
> > doesn't. I would like try to create an archive and see if it can be unpacked
> > when choosing a different format than the default. I need to install Tiki
> > 24/25 for trying first, though.
> > 
> > However, in Tiki 26, the "Create Dump File" button doesn't create anything.
> > Nothing happens for some five seconds and then you get an empty page as a
> > result. If you go back, the "Download dump file" button in the Wiki control
> > panel stays shaded out.
> > 
> > I don't know how to troubeshoot this. The state of things in Tiki 24 or 25
> > is unpleasant, but if my guess is right, then creating a dump file in an
> > outdated format and repack it could be a practicable way to do it.
> > 
> > So my first concern is how to get the behavior of Tiki 24/25 back.
> > 
> > Cheers,
> > Volker
> > 
> > 
> > _______________________________________________
> > TikiWiki-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> 
> 
> 
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel



_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel