On Thu, 15 Oct 2020 at 12:37, Edward d'Auvergne <[email protected]> wrote:
>
> On Thu, 10 Sep 2020 at 13:42, Edward d'Auvergne <[email protected]> wrote:
> >
> > For reference: The relax wiki will soon be migrated from the private
> > server that has been donated by Troels' brother since the wiki's
> > inception, to a server provided by SourceForge. Although not
> > documented, the SourceForge project web portal allows for the
> > installation of MediaWiki. Once the old wiki is completely backed up,
> > the following will be performed:
> >
> > * A blank MySQL database called "n2617654_relax_wiki" will be created
> > and the latest SQL backup uploaded into it.
> >
> > * The currently used MediaWiki version 1.25.3 will be installed using
> > the SF shell services into /home/project-web/nmr-relax/htdocs/wiki/.
> >
> > * The images/ directory and relax wiki icon will be copied from the
> > latest FTP backup.
> >
> > * The web interface will be used to update the database and create a
> > new LocalSettings.php file.
> >
> > * The LocalSettings.php file will be manually modified (excluding
> > extensions) and synced to /home/project-web/nmr-relax/htdocs/wiki/.
> >
> > * MediaWiki version 1.33.4 will be installed (the latest version
> > supporting the current SF php version 7.1). The old wiki directory
> > will be renamed as a backup and the new installation will be in
> > /home/project-web/nmr-relax/htdocs/wiki/.
> >
> > * The images/ directory and relax wiki icon will be copied from the
> > 1.25.3 install (or FTP backup).
> >
> > * The web interface will be used to update the database and create a
> > new LocalSettings.php file.
> >
> > * The LocalSettings.php file will be manually modified (excluding
> > extensions) and synced to /home/project-web/nmr-relax/htdocs/wiki/.
> >
> > * All wiki extensions manually installed from scratch.
> >
> > * Fix all remaining issues.
> >
> > * Use a VHOST to redirect https://wiki.nmr-relax.com to
> > https://nmr-relax.sourceforge.io/.
> >
> > * Work out how https://nmr-relax.sourceforge.io/ can display the
> > contents of https://nmr-relax.sourceforge.io/wiki/.
> >
> > Hopefully this will not be too painful. Initial testing using old,
> > incomplete backups shows that this partly works. However MediaWiki
> > version 1.25.3 and the currently installed extensions have a tonne of
> > problems as they do not support the installed php version 7 very well,
> > or at all.
>
> The wiki migration to the SourceForge servers is finally complete!
> This task was complicated by the Apache configuration for the
> "SourceForge Alternative Software Pool". The required information is
> documented in the SourceForge site-support ticket 21274, an Internal
> Archive snapshot of which is:
>
>
> https://web.archive.org/web/20201015102647/https://sourceforge.net/p/forge/site-support/21274/
>
> There are a number of issues left:
>
> - Python3 is not installed on the "Alternative Software Pool".
> This is required for syntax highlighting on the wiki.
>
> - Caching does not appear to be available, so the wiki is slower to load.
>
> These are things I have to bug the SourceForge staff about fixing.
>
> Troels, would you be able to have a look at the wiki now and see if
> everything is correctly set up? Note that some of the plugins you
> installed on the previous server are not available on this version of
> MediaWiki. But I may have missed an important plugin nevertheless.
I have updated the wiki backup scripts distributed with relax for the
new SourceForge infrastructure:
https://sourceforge.net/p/nmr-relax/code/ci/30c0aaf44f273093aad218b51b8fef25678237f8/tree/devel_scripts/wiki_ftpdump.sh
https://sourceforge.net/p/nmr-relax/code/ci/30c0aaf44f273093aad218b51b8fef25678237f8/tree/devel_scripts/wiki_mysqldump.sh
These are the devel_scripts/wiki_filedump.sh and
devel_scripts/wiki_mysqldump.sh script in the repository. For running
as a cron job, these will require an SSH key swap for passwordless log
into the SourceForge servers.
Note that the strategy for the MySQL dump is quite different, as it
cannot be done remotely and SourceForge do not have a cron service
available to projects. So a remote dump on the SourceForge server is
performed via SSH, the dump files subsequently rsynced locally, and
then the dump files are deleted on the server.
The FTP dump is also different, as rsync must be used instead. So the
file has been renamed to devel_scripts/wiki_filedump.sh.
Regards,
Edward
_______________________________________________
nmr-relax-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nmr-relax-devel