Import breaks website

  • Affected Version
    WoltLab Suite 5.5

    I just imported woltlab 4.1 into a clean install of woltlab 5.5

    After the import using cli, the website is broken:

    100% [###############################################################################################################################################################################################]

    [2022-10-12T04:22:19+00:00] Import completed.

    >worker wcf\\system\\worker\\LikeRebuildDataWorker

    0% [-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] [ERROR]

    wcf\system\exception\ErrorException: Trying to get property 'reactionTypeID' of non-object in /home/v6/domains/v6.com/public_html/lib/system/WCF.class.php:341

    Stack trace:

    #0 /home/v6/domains/v6.com/public_html/lib/system/worker/LikeRebuildDataWorker.class.php(89): wcf\system\WCF::handleError()

    #1 /home/v6/domains/v6.com/public_html/lib/system/cli/command/WorkerCLICommand.class.php(160): wcf\system\worker\LikeRebuildDataWorker->execute()

    #2 /home/v6/domains/v6.com/public_html/lib/system/CLIWCF.class.php(336): wcf\system\cli\command\WorkerCLICommand->execute()

    #3 /home/v6/domains/v6.com/public_html/lib/system/CLIWCF.class.php(94): wcf\system\CLIWCF->initCommands()

    #4 /home/v6/domains/v6.com/public_html/cli.php(21): wcf\system\CLIWCF->__construct()

    #5 {main}

    I cannot rebuild the indexes.

  • This is the LikeRebuild Worker.

    worker wcf\\system\\worker\\LikeRebuildDataWorker

    You can restart it after starting CLI again if it doesn't work any more. Look at the Documentation. This is the German one:

    Migration (CLI) - WoltLab Suite Handbuch

    The process stopped here:

    Migration (CLI) - WoltLab Suite Handbuch

    But don't start the Import again! The Import itself ist done.

    [2022-10-12T04:22:19+00:00] Import completed.

    Liebe Grüße
    Susi

  • I just started a clean ssh session, logged in as the website user, ran php cli.php, but I keep on getting the following error message:

    >worker wcf\\system\\worker\\LikeRebuildDataWorker

    0% [--------------------------------------------------------------------------------] [ERROR]

    wcf\system\exception\ErrorException: Trying to get property 'reactionTypeID' of non-object in /home/v6/domains/v6.com/public_html/lib/system/WCF.class.php:341

    Stack trace:

    #0 /home/v6/domains/v6.com/public_html/lib/system/worker/LikeRebuildDataWorker.class.php(89): wcf\system\WCF::handleError()

    #1 /home/v6/domains/v6.com/public_html/lib/system/cli/command/WorkerCLICommand.class.php(160): wcf\system\worker\LikeRebuildDataWorker->execute()

    #2 /home/v6/domains/v6.com/public_html/lib/system/CLIWCF.class.php(336): wcf\system\cli\command\WorkerCLICommand->execute()

    #3 /home/v6/domains/v6.com/public_html/lib/system/CLIWCF.class.php(94): wcf\system\CLIWCF->initCommands()

    #4 /home/v6/domains/v6.com/public_html/cli.php(21): wcf\system\CLIWCF->__construct()

    #5 {main}

    When I run

    • worker wbb\\system\\worker\\PostRebuildDataWorker

    For PostRebuild it does work, not for the likeRebuild.

  • Clearing the cache did not solve it.

    Could it be that there were no likes in the old forum?

    Many other rebuilds do work.
    Sounds like an improper error handling of the worker scripts, they should maybe just output: "nothing to update" in that case

  • If you don't have likes the job would usually show 100% done in a second.

    You shoud write a ticket, but today is Friday 17 pm and Woltlab will officially work again on Monday morning.

    Liebe Grüße
    Susi

    Edited once, last by Susi (October 14, 2022 at 6:12 PM).

  • Ok, what seems to worry me more is that the import showed success, but that somehow he stopped importing topics after end 2021.

    Is there any easy way to only import the new ones?

    Or how should I proceed now?

    Just delete the entire site and start again from scratch? Or is there a smart way to only import the missing ones?

  • Did you open a ticket?

    Is there any easy way to only import the new ones?

    There ist no way to import topics by date/time after an import. That sounds strange, when topics are missing.

    Just delete the entire site and start again from scratch?

    Yes, I think thats the best, but keep this one for woltlab if you can. So they ca anlayse what happend.

    Liebe Grüße
    Susi

  • Ok, so I followed your advice and started from scratch.
    This time I get following error right after import:

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!