[GH-ISSUE #326] Error on fresh install with Docker image #211

Closed
opened 2026-02-27 15:57:47 +03:00 by kerem · 9 comments
Owner

Originally created by @lord-kyron on GitHub (Jun 17, 2020).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/326

hi @Real-Gecko and @catborise
I've used the latest version of the master repo here at the main retspen project and installed it using the docker image.
however, on first login I hit this error immediately:


Request Method: | GET
-- | --
http://myserver.com:80/
2.2.13
NoReverseMatch
Reverse for 'allinstances' not found. 'allinstances' is not a valid view function or pattern name.
/srv/webvirtcloud/venv/lib/python3.6/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 673
/srv/webvirtcloud/venv/bin/python3
3.6.9
['/srv/webvirtcloud',  '/srv/webvirtcloud/venv/bin',  '/srv/webvirtcloud/venv/lib/python36.zip',  '/srv/webvirtcloud/venv/lib/python3.6',  '/srv/webvirtcloud/venv/lib/python3.6/lib-dynload',  '/usr/lib/python3.6',  '/srv/webvirtcloud/venv/lib/python3.6/site-packages']

Can you help?

Originally created by @lord-kyron on GitHub (Jun 17, 2020). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/326 hi @Real-Gecko and @catborise I've used the latest version of the master repo here at the main retspen project and installed it using the docker image. however, on first login I hit this error immediately: ``` Request Method: | GET -- | -- http://myserver.com:80/ 2.2.13 NoReverseMatch Reverse for 'allinstances' not found. 'allinstances' is not a valid view function or pattern name. /srv/webvirtcloud/venv/lib/python3.6/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 673 /srv/webvirtcloud/venv/bin/python3 3.6.9 ['/srv/webvirtcloud', '/srv/webvirtcloud/venv/bin', '/srv/webvirtcloud/venv/lib/python36.zip', '/srv/webvirtcloud/venv/lib/python3.6', '/srv/webvirtcloud/venv/lib/python3.6/lib-dynload', '/usr/lib/python3.6', '/srv/webvirtcloud/venv/lib/python3.6/site-packages'] ``` Can you help?
kerem closed this issue 2026-02-27 15:57:48 +03:00
Author
Owner

@lord-kyron commented on GitHub (Jun 17, 2020):

This is happening only for the home page "/"
When I write manually /instances in the address bar it is loading normally.

<!-- gh-comment-id:645405339 --> @lord-kyron commented on GitHub (Jun 17, 2020): This is happening only for the home page "/" When I write manually /instances in the address bar it is loading normally.
Author
Owner

@lord-kyron commented on GitHub (Jun 17, 2020):

Also, I found that updating the docker image as described in the Wiki, is not possible any more as no .git folder is found in the virtual environment. @catborise

<!-- gh-comment-id:645419285 --> @lord-kyron commented on GitHub (Jun 17, 2020): Also, I found that updating the docker image as described in the Wiki, is not possible any more as no .git folder is found in the virtual environment. @catborise
Author
Owner

@peterdk commented on GitHub (Jun 17, 2020):

I did a install on Ubuntu, and cloned the master branch. But I get this error everytime, also after creating a vm.


Request Method: | POST
-- | --
http:/ADDRESS/computes/1/create/archs/x86_64/machines/q35/
2.2.13
NoReverseMatch
Reverse for 'instance' not found. 'instance' is not a valid view function or pattern name.
/var/www/webvirtcloud/venv/lib/python3.8/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 673
/var/www/webvirtcloud/venv/bin/python
3.8.2
['/var/www/webvirtcloud',  '/var/www/webvirtcloud/venv/bin',  '/usr/lib/python38.zip',  '/usr/lib/python3.8',  '/usr/lib/python3.8/lib-dynload',  '/var/www/webvirtcloud/venv/lib/python3.8/site-packages']
wo, 17 Jun 2020 14:51:31 +0000

<!-- gh-comment-id:645424161 --> @peterdk commented on GitHub (Jun 17, 2020): I did a install on Ubuntu, and cloned the master branch. But I get this error everytime, also after creating a vm. ```` Request Method: | POST -- | -- http:/ADDRESS/computes/1/create/archs/x86_64/machines/q35/ 2.2.13 NoReverseMatch Reverse for 'instance' not found. 'instance' is not a valid view function or pattern name. /var/www/webvirtcloud/venv/lib/python3.8/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 673 /var/www/webvirtcloud/venv/bin/python 3.8.2 ['/var/www/webvirtcloud', '/var/www/webvirtcloud/venv/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/var/www/webvirtcloud/venv/lib/python3.8/site-packages'] wo, 17 Jun 2020 14:51:31 +0000 `````
Author
Owner

@Real-Gecko commented on GitHub (Jun 18, 2020):

Try out this version
Looks like I forgot to namespace some instances urls.
Generally I would not recommend using latest version as it is not yet well tested and a lot of things will be changed in near future.

<!-- gh-comment-id:645762098 --> @Real-Gecko commented on GitHub (Jun 18, 2020): Try out [this version](https://github.com/retspen/webvirtcloud/tree/636b5bb1bc0065cc0e265cdf5118dca11c10f3f7) Looks like I forgot to namespace some instances urls. Generally I would not recommend using latest version as it is not yet well tested and a lot of things will be changed in near future.
Author
Owner

@Real-Gecko commented on GitHub (Jun 18, 2020):

Also this version is more stable as I was not adding anything at that point in time yet :D

<!-- gh-comment-id:645762750 --> @Real-Gecko commented on GitHub (Jun 18, 2020): Also [this version](https://github.com/retspen/webvirtcloud/tree/6d82c2820b96757b933321d86b70e7ce23da447e) is more stable as I was not adding anything at that point in time yet :D
Author
Owner

@lord-kyron commented on GitHub (Jun 18, 2020):

@Real-Gecko do you plan to update and fix the master branch soon (at least the namespaces in those instance URLs)?
Honestly, I prefer using the master branch, that is why I am asking.

<!-- gh-comment-id:646207358 --> @lord-kyron commented on GitHub (Jun 18, 2020): @Real-Gecko do you plan to update and fix the master branch soon (at least the namespaces in those instance URLs)? Honestly, I prefer using the master branch, that is why I am asking.
Author
Owner

@Real-Gecko commented on GitHub (Jun 19, 2020):

I can do this, but @retspen is the boss who merges PRs :)

<!-- gh-comment-id:646423538 --> @Real-Gecko commented on GitHub (Jun 19, 2020): I can do this, but @retspen is the boss who merges PRs :)
Author
Owner

@lord-kyron commented on GitHub (Jun 19, 2020):

I am sure he will merge the PR if it is for fixing something that is not working right at the moment.

<!-- gh-comment-id:646427293 --> @lord-kyron commented on GitHub (Jun 19, 2020): I am sure he will merge the PR if it is for fixing something that is not working right at the moment.
Author
Owner

@Real-Gecko commented on GitHub (Jun 19, 2020):

LOL, PR no 327 fixed issue no 326 :D

<!-- gh-comment-id:646430938 --> @Real-Gecko commented on GitHub (Jun 19, 2020): LOL, PR no 327 fixed issue no 326 :D
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#211
No description provided.