GithubHelp home page GithubHelp logo

Bad username/password about taiga-vagrant HOT 7 CLOSED

taigaio avatar taigaio commented on June 18, 2024
Bad username/password

from taiga-vagrant.

Comments (7)

bameda avatar bameda commented on June 18, 2024

This error is because your taiga-front can't connect with your taiga-back

See the broweser console to show errors and request/responses between taiga-back and taiga-front and check taat taiga back is running properly (the host and port of taiga-back is right in taiga-front-dist/js/conf.json).

from taiga-vagrant.

bdparrish avatar bdparrish commented on June 18, 2024

I see that my vagrant up errored out now.

==> default: ----------------------------------------
==> default: Cleaning up...
==> default: Command /home/vagrant/.virtualenvs/taiga/bin/python3.4 -c "import setuptools, tokenize;__file__='/home/vagrant/.virtualenvs/taiga/build/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nbfpe4q_-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/vagrant/.virtualenvs/taiga/include/site/python3.4 failed with error code 1 in /home/vagrant/.virtualenvs/taiga/build/psycopg2
==> default: Storing debug log for failure in /home/vagrant/.pip/pip.log
==> default: Traceback (most recent call last):
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 94, in __init__
==> default:     mod = importlib.import_module(self.SETTINGS_MODULE)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/importlib/__init__.py", line 109, in import_module
==> default:     return _bootstrap._gcd_import(name[level:], package, level)
==> default:   File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
==> default:   File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
==> default:   File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1129, in _exec
==> default:   File "<frozen importlib._bootstrap>", line 1471, in exec_module
==> default:   File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
==> default:   File "/home/vagrant/taiga-back/settings/__init__.py", line 20, in <module>
==> default:     from .celery import *
==> default:   File "/home/vagrant/taiga-back/settings/celery.py", line 17, in <module>
==> default:     from kombu import Exchange, Queue
==> default: ImportError: No module named 'kombu'
==> default: 
==> default: During handling of the above exception, another exception occurred:
==> default: 
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 10, in <module>
==> default:     execute_from_command_line(sys.argv)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
==> default:     utility.execute()
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 345, in execute
==> default:     settings.INSTALLED_APPS
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 46, in __getattr__
==> default:     self._setup(name)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 42, in _setup
==> default:     self._wrapped = Settings(settings_module)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 98, in __init__
==> default:     % (self.SETTINGS_MODULE, e)
==> default: ImportError: Could not import settings 'settings' (Is it on sys.path? Is there an import error in the settings file?): No module named 'kombu'
==> default: Traceback (most recent call last):
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 94, in __init__
==> default:     mod = importlib.import_module(self.SETTINGS_MODULE)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/importlib/__init__.py", line 109, in import_module
==> default:     return _bootstrap._gcd_import(name[level:], package, level)
==> default:   File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
==> default:   File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
==> default:   File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1129, in _exec
==> default:   File "<frozen importlib._bootstrap>", line 1471, in exec_module
==> default:   File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
==> default:   File "/home/vagrant/taiga-back/settings/__init__.py", line 20, in <module>
==> default:     from .celery import *
==> default:   File "/home/vagrant/taiga-back/settings/celery.py", line 17, in <module>
==> default:     from kombu import Exchange, Queue
==> default: ImportError: No module named 'kombu'
==> default: 
==> default: During handling of the above exception, another exception occurred:
==> default: 
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 10, in <module>
==> default:     execute_from_command_line(sys.argv)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
==> default:     utility.execute()
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 345, in execute
==> default:     settings.INSTALLED_APPS
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 46, in __getattr__
==> default:     self._setup(name)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 42, in _setup
==> default:     self._wrapped = Settings(settings_module)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 98, in __init__
==> default:     % (self.SETTINGS_MODULE, e)
==> default: ImportError: Could not import settings 'settings' (Is it on sys.path? Is there an import error in the settings file?): No module named 'kombu'
==> default: Traceback (most recent call last):
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 94, in __init__
==> default:     mod = importlib.import_module(self.SETTINGS_MODULE)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/importlib/__init__.py", line 109, in import_module
==> default:     return _bootstrap._gcd_import(name[level:], package, level)
==> default:   File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
==> default:   File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
==> default:   File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1129, in _exec
==> default:   File "<frozen importlib._bootstrap>", line 1471, in exec_module
==> default:   File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
==> default:   File "/home/vagrant/taiga-back/settings/__init__.py", line 20, in <module>
==> default:     from .celery import *
==> default:   File "/home/vagrant/taiga-back/settings/celery.py", line 17, in <module>
==> default:     from kombu import Exchange, Queue
==> default: ImportError: No module named 'kombu'
==> default: 
==> default: During handling of the above exception, another exception occurred:
==> default: 
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 10, in <module>
==> default:     execute_from_command_line(sys.argv)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
==> default:     utility.execute()
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 345, in execute
==> default:     settings.INSTALLED_APPS
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 46, in __getattr__
==> default:     self._setup(name)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 42, in _setup
==> default:     self._wrapped = Settings(settings_module)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 98, in __init__
==> default:     % (self.SETTINGS_MODULE, e)
==> default: ImportError: Could not import settings 'settings' (Is it on sys.path? Is there an import error in the settings file?): No module named 'kombu'
==> default: Traceback (most recent call last):
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 94, in __init__
==> default:     mod = importlib.import_module(self.SETTINGS_MODULE)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/importlib/__init__.py", line 109, in import_module
==> default:     return _bootstrap._gcd_import(name[level:], package, level)
==> default:   File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
==> default:   File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
==> default:   File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1129, in _exec
==> default:   File "<frozen importlib._bootstrap>", line 1471, in exec_module
==> default:   File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
==> default:   File "/home/vagrant/taiga-back/settings/__init__.py", line 20, in <module>
==> default:     from .celery import *
==> default:   File "/home/vagrant/taiga-back/settings/celery.py", line 17, in <module>
==> default:     from kombu import Exchange, Queue
==> default: ImportError: No module named 'kombu'
==> default: 
==> default: During handling of the above exception, another exception occurred:
==> default: 
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 10, in <module>
==> default:     execute_from_command_line(sys.argv)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
==> default:     utility.execute()
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 345, in execute
==> default:     settings.INSTALLED_APPS
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 46, in __getattr__
==> default:     self._setup(name)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 42, in _setup
==> default:     self._wrapped = Settings(settings_module)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 98, in __init__
==> default:     % (self.SETTINGS_MODULE, e)
==> default: ImportError: Could not import settings 'settings' (Is it on sys.path? Is there an import error in the settings file?): No module named 'kombu'
==> default: Traceback (most recent call last):
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 94, in __init__
==> default:     mod = importlib.import_module(self.SETTINGS_MODULE)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/importlib/__init__.py", line 109, in import_module
==> default:     return _bootstrap._gcd_import(name[level:], package, level)
==> default:   File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
==> default:   File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
==> default:   File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1129, in _exec
==> default:   File "<frozen importlib._bootstrap>", line 1471, in exec_module
==> default:   File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
==> default:   File "/home/vagrant/taiga-back/settings/__init__.py", line 20, in <module>
==> default:     from .celery import *
==> default:   File "/home/vagrant/taiga-back/settings/celery.py", line 17, in <module>
==> default:     from kombu import Exchange, Queue
==> default: ImportError: No module named 'kombu'
==> default: 
==> default: During handling of the above exception, another exception occurred:
==> default: 
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 10, in <module>
==> default:     execute_from_command_line(sys.argv)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
==> default:     utility.execute()
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 345, in execute
==> default:     settings.INSTALLED_APPS
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 46, in __getattr__
==> default:     self._setup(name)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 42, in _setup
==> default:     self._wrapped = Settings(settings_module)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 98, in __init__
==> default:     % (self.SETTINGS_MODULE, e)
==> default: ImportError: Could not import settings 'settings' (Is it on sys.path? Is there an import error in the settings file?): No module named 'kombu'
==> default: Traceback (most recent call last):
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 94, in __init__
==> default:     mod = importlib.import_module(self.SETTINGS_MODULE)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/importlib/__init__.py", line 109, in import_module
==> default:     return _bootstrap._gcd_import(name[level:], package, level)
==> default:   File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
==> default:   File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
==> default:   File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1129, in _exec
==> default:   File "<frozen importlib._bootstrap>", line 1471, in exec_module
==> default:   File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
==> default:   File "/home/vagrant/taiga-back/settings/__init__.py", line 20, in <module>
==> default:     from .celery import *
==> default:   File "/home/vagrant/taiga-back/settings/celery.py", line 17, in <module>
==> default:     from kombu import Exchange, Queue
==> default: ImportError: No module named 'kombu'
==> default: 
==> default: During handling of the above exception, another exception occurred:
==> default: 
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 10, in <module>
==> default:     execute_from_command_line(sys.argv)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
==> default:     utility.execute()
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 345, in execute
==> default:     settings.INSTALLED_APPS
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 46, in __getattr__
==> default:     self._setup(name)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 42, in _setup
==> default:     self._wrapped = Settings(settings_module)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 98, in __init__
==> default:     % (self.SETTINGS_MODULE, e)
==> default: ImportError: Could not import settings 'settings' (Is it on sys.path? Is there an import error in the settings file?): No module named 'kombu'
==> default: Traceback (most recent call last):
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 94, in __init__
==> default:     mod = importlib.import_module(self.SETTINGS_MODULE)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/importlib/__init__.py", line 109, in import_module
==> default:     return _bootstrap._gcd_import(name[level:], package, level)
==> default:   File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
==> default:   File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
==> default:   File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
==> default:   File "<frozen importlib._bootstrap>", line 1129, in _exec
==> default:   File "<frozen importlib._bootstrap>", line 1471, in exec_module
==> default:   File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
==> default:   File "/home/vagrant/taiga-back/settings/__init__.py", line 20, in <module>
==> default:     from .celery import *
==> default:   File "/home/vagrant/taiga-back/settings/celery.py", line 17, in <module>
==> default:     from kombu import Exchange, Queue
==> default: ImportError: No module named 'kombu'
==> default: 
==> default: During handling of the above exception, another exception occurred:
==> default: 
==> default: Traceback (most recent call last):
==> default:   File "manage.py", line 10, in <module>
==> default:     execute_from_command_line(sys.argv)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
==> default:     utility.execute()
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/core/management/__init__.py", line 345, in execute
==> default:     settings.INSTALLED_APPS
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 46, in __getattr__
==> default:     self._setup(name)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 42, in _setup
==> default:     self._wrapped = Settings(settings_module)
==> default:   File "/home/vagrant/.virtualenvs/taiga/lib/python3.4/site-packages/django/conf/__init__.py", line 98, in __init__
==> default:     % (self.SETTINGS_MODULE, e)
==> default: ImportError: Could not import settings 'settings' (Is it on sys.path? Is there an import error in the settings file?): No module named 'kombu'

Is this something I need to fix on my end?

from taiga-vagrant.

bameda avatar bameda commented on June 18, 2024

Something went wrong during the setup process because you have missing dependencies.

Try to reinstall it again.

from taiga-vagrant.

bdparrish avatar bdparrish commented on June 18, 2024

I have run setup-server.sh twice now with the same errors as the vagrant ssh command.

from taiga-vagrant.

bameda avatar bameda commented on June 18, 2024

I found a problem in the ubuntu server when vagrant try to install python3-dev

vagrant@vagrant-ubuntu-trusty-64:~$ sudo apt-get install  python3 python3-pip python-dev python3-dev python-pip virtualenvwrapper libxml2-dev libxslt1-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libxslt1-dev is already the newest version.
python-dev is already the newest version.
python3 is already the newest version.
libxml2-dev is already the newest version.
python-pip is already the newest version.
python3-pip is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-dev : Depends: libpython3-dev (= 3.4.0-0ubuntu2) but it is not going to be installed
               Depends: python3.4-dev (>= 3.4.0-0~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Taiga needs this packages to run.

I'm working on it.

from taiga-vagrant.

bameda avatar bameda commented on June 18, 2024

This is a problem with ubuntu vagrant image. It has a invalid version of python3 installed and is bigger than the candidated version of python3-dev. So I do that to fix it.

  1. Uninstall python3

    vagrant ssh
    sudo apt-get remove --purge python3 libpython3.4-stdlib python3.4* 
    # Say 'yes' to all questions
    
  2. Reinstall python3

    sudo apt-get install python3 python3-pip python-dev python3-dev python-pip    virtualenvwrapper libxml2-dev libxslt1-dev
    
  3. Reinstall taiga-back dependencies

    cd taiga-back/
    workon taiga
    pip install --upgrade -r requirements-devel.txt
    
  4. Regenerate the db

    bash ./regenerate.sh
    
  5. Restart the vagrant box

exit
vagrant halt 
vagran up

And now test it again

from taiga-vagrant.

bameda avatar bameda commented on June 18, 2024

Hi @bdparrish,

Ubuntu has fixed the box image and now works properly. So you have to create it again:

vagrant destroy
rm -rf ~/.vagrant.d/boxes/trusty64/
vagrant up

from taiga-vagrant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.