Installing this module on new Drupal 8 website gives WOD. log says:

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "restui.list" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 191 of /srv/bindings/70af1f5b2c8c4b7d80edba4f9792f085/code/core/lib/Drupal/Core/Routing/RouteProvider.php).

Severity Error

Comments

sumitk created an issue. See original summary.

clemens.tolboom’s picture

Status: Active » Closed (cannot reproduce)

I've tested latest Rest UI with page /admin/config/services/rest
- old D8 dev version OK
- 8.0.0 version OK
- 8.0.1 version OK

I use drush cache-rebuild to make sure all is well. You could visit /update.php to do the same iirc.

So cannot reproduce. Feel free to reopen with more information.

deminy’s picture

I'm seeing exactly same error when trying to install REST UI 8.x-1.11 on Drupal 8.0.4. Also tried to flush cache and reset Drupal file owners before installing the module but still saw same error.

Another important note: I tried the installation in two environments: dev and staging. The issue only happens in my staging environment but not on dev. Dev and Staging shares almost exactly same server settings, Drupal settings and code base. I will add some updates in case I find something.

deminy’s picture

Today I did some more comparisons on the two environments.

* phpinfo from /admin/reports/status/php: Looks pretty much the same (including $_ENV and $_SERVER variables).
* Drupal 8 fully exported configurations from /admin/config/development/configuration/full/export: Looks exactly the same.

The only obvious difference I could see is that staging uses HTTPS (any requests to HTTP will be redirected to HTTPS via HTTP 302) and dev uses HTTP only. I don't have a chance having HTTPS enabled on dev. Will send an update for that when I get a chance.

clemens.tolboom’s picture

If you want attention you should re-open this issue. But please use latest dev version first (the 8.x-1.11 is OLD)

deminy’s picture

Thanks for the suggestion. Just tried with latest dev version (8.x-1.x-dev, 2016-Feb-26) but still got same result.

I'm not reopening the issue since people said the issue could hardly be reproduced (not only for the restui module, but also for some other modules and Drupal 8 core). For now I'm just tracking what I found/tested under this issue. I'm trying not reopen the issue by myself unless I find some valuable feedback helping to having the issue resolved.

clemens.tolboom’s picture

So there are more issues regarding https? Please add these related issues to this issue so I can read with you. I'll try to add https to my dev env too.