Comment utiliser le script d'importation mybb.ru 2 ?

Je tente de trouver des informations sur la façon d’utiliser le nouveau script d’importation mybb.ru, récemment ajouté à la dernière version de Discourse 2.4.0 beta 10 (selon le journal des modifications).

Cliquez sur le lien dans le journal des modifications vous mène vers ce qui est probablement le site de l’auteur (en russe), qui ne semble offrir aucune information évidente sur le script.

Une fonctionnalité d’importation est-elle désormais intégrée quelque part dans l’interface utilisateur d’administration ?

Mon objectif est d’importer les utilisateurs et les messages de mon ancien forum MyBB, d’une manière plus élégante et conviviale que les procédures séparées existantes, terribles, associées au script d’importation mybb.rb que je ne parviens simplement pas à faire fonctionner, en raison d’une multitude déroutante de prérequis qui s’avèrent nécessaires pour exécuter le script et que je ne parviens pas à créer avec succès, ni dans un environnement de développement ni sur le serveur de production.

Hey Paul!

No, this isn’t in the user interface. All our import scripts are intended to be run in a development environment. You can find all our import scripts here.

As for how to run the script, see Migrate from another forum to Discourse.

2 « J'aime »

Thanks Joshua. Sadly I keep running into brick walls (cryptic error messages, that google searching does not resolve for my context) when working through the steps in the guide associated with the script, that I just have not been able to solve, and that would likely require more years of Linux and Ruby experience to solve than I have left on this earth.

The migration process for owners of forums on other platforms like MyBB would be SO much more appealing/feasible if this barrier was removed and importing functionality was available via the user interface.

No doubt! It’d be great it we could build the functionality right it, but unfortunately every forum, even two running the same software, is a bit different when migrated. There’s always a little something that has to be changed with the script, so you really want a developer, someone who knows Ruby, helping. There are also resources out there to help - for example check out Jay at Literate Computing.

2 « J'aime »

Thanks Jay - sadly hiring developers is tough within the $0 budget available to volunteers running small free community forums like mine. I have actually tried going down this path with a couple of low cost freelance developers (using personal funds) who claim Discourse experience, but nothing to show for it so far. I guess you get what you pay for/can afford.

The biggest hurdle so far seems to be in achieving a development environment that allows the script to actually connect to the running MySQL service without cryptic socket errors and the like, that apparently no one on the internet has ever resolved…

Since presumably any successfully installed Discourse instance (which I can achieve in the same development environment) has inherently solved most or all of the problems around interrogating databases for its own purposes already(?), to my (uninformed) way of thinking some way of invoking the import script from within Discourse seems intuitively desirable if only to harness that ability and get you to square one, accepting from there it will still require a lot of trial and error and edits of script to get everything parsed correctly from a given source database.

The phpbb importer has instructions for creating a container with mysql. Whether they’ll make enough sense for you to be able to run mybb in it I don’t know.

2 « J'aime »

Thanks Jay.
Following the importer instructions for setting up environment and running MyBB database appears to work, at least to the extent that I can see the expected tables.

Things seem to break down when Ruby is invoked and tries to connect to it (which I described in more detail that thread)