undo-ransomware / ransomware_detection

:arrows_counterclockwise: Ransomware recovery app for Nextcloud
https://apps.nextcloud.com/apps/ransomware_detection
GNU Affero General Public License v3.0
22 stars 6 forks source link

Unable to generate a URL for the named route "ransomwaredetection.page.index" as such route does not exist. #56

Closed pmetras closed 3 years ago

pmetras commented 3 years ago

I removed the app after seeing the warning about all the files deleted.

I've just upgraded to Nextcloud 18.0.12.

In case it helps, I was never been able to have the app running. It always showed an empty page with the loading icon. But nevertheless, I still kept this app on my Nextcloud instance, in case it started working one day (until today when I disabled it). The app frequently generated error messages in Nextcloud log. Here are those I got before disabling it:

Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route "ransomwaredetection.page.index" as such route does not exist.
    /var/www/nextcloud/lib/private/Route/Router.php - line 339:
    Symfony\Component\Routing\Generator\UrlGenerator->generate("ransomwared ... x", [], 1)
    /var/www/nextcloud/lib/private/Route/CachingRouter.php - line 59:
    OC\Route\Router->generate("ransomwared ... x", [], false)
    /var/www/nextcloud/lib/private/URLGenerator.php - line 82:
    OC\Route\CachingRouter->generate("ransomwared ... x", [])
    /var/www/nextcloud/lib/private/NavigationManager.php - line 293:
    OC\URLGenerator->linkToRoute("ransomwared ... x")
    /var/www/nextcloud/lib/private/NavigationManager.php - line 114:
    OC\NavigationManager->init()
    /var/www/nextcloud/lib/private/TemplateLayout.php - line 87:
    OC\NavigationManager->getAll()
    /var/www/nextcloud/lib/private/legacy/template.php - line 184:
    OC\TemplateLayout->__construct("user", "settings")
    /var/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php - line 167:
    OC_Template->fetchPage({ serverData ... }})
    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 123:
    OCP\AppFramework\Http\TemplateResponse->render()
    /var/www/nextcloud/lib/private/AppFramework/App.php - line 125:
    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "viewApps")
    /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:
    OC\AppFramework\App::main("OCA\\Settin ... r", "viewApps", OC\AppFramew ... {}, { category: ... "})
    <<closure>>
    OC\AppFramework\Routing\RouteActionHandler->__invoke({ category: ... "})
    /var/www/nextcloud/lib/private/Route/Router.php - line 299:
    call_user_func(OC\AppFramew ... {}, { category: ... "})
    /var/www/nextcloud/lib/base.php - line 1011:
    OC\Route\Router->match("/settings/apps")
    /var/www/nextcloud/index.php - line 38:
    OC::handleRequest()
ilovemilk commented 3 years ago

Hi

I replaced the app in the Nextcoud appstore with a blank app without any functionality due to a critical bug. Just deactivate the app until I release a new version. This version is just for the safety of the users due to the missing possibility of downgrading or disabling apps via the appstore.

Nevertheless thanks for reporting the issue!