You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InvenTree database migrations completed!
Updating frontend...
Downloading frontend...
fatal: not a git repository (or any of the parent directories): .git
[ERROR] Cannot get current ref via 'git rev-parse HEAD'
Can you please fill out the normal bug report template for this issue? If you are bare metal (git) deploying that is the cause of the issue as you are missing yarn, if that is not the case pleas open a fully filled out bug report / update this bug with the info from the template so we can work in an efficient matter
I also see the original error of this issue ([ERROR] Cannot get current ref via 'git rev-parse HEAD') on a fresh install using the installer script on Ubuntu 20.04. Here is the snip from the full installation log:
# inv update| Synchronizing apps without migrations:
# inv update| Creating tables...
# inv update| Running deferred SQL...
# inv update| Running migrations:fatal: not a git repository (or any of the parent directories): .git
/opt/inventree/env/lib/python3.9/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
/opt/inventree/env/lib/python3.9/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
/opt/inventree/env/lib/python3.9/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
# inv update| No migrations to apply.
# inv update| ========================================
# inv update| InvenTree database migrations completed!
# inv update| Updating frontend...
# inv update| Downloading frontend...
# inv update| [ERROR] Cannot get current ref via git rev-parse HEAD
# inv update| Python version 3.9.5 - /opt/inventree/env/bin/python3
# inv update| Rendered all files in /opt/inventree/src/backend/InvenTree/templates/js/translated
# inv update| Collecting static files...
# inv update| Python version 3.9.5 - /opt/inventree/env/bin/python3
# inv update| Python version 3.9.5 - /opt/inventree/env/bin/python3
# inv update| Python version 3.9.5 - /opt/inventree/env/bin/python3
Do you want a new issue for this or is it good here?
@second-string a fixed release for 0.15.4 can be found here - official releases of the master channel might take a bit as we need to fix underlying infra.
@matmair I have a working install that I did on Ubuntu 20.04 LTS (to fix the python issue). I don't think I had to manually copy the frontend for that one either, but my point is that I'm not in a position to test this anymore unfortunately.
You're welcome to close the issue since the comments will serve as the historical record for anyone else that might have the issue, I'm all set. Thanks!
Activity
matmair commentedon May 26, 2024
Sounds like a custom/master deployment of inventree
SchrodingersGat commentedon May 26, 2024
@mabroens can you confirm the version of InvenTree you are installing? Is it the default "stable" version?
mabroens commentedon May 27, 2024
matmair commentedon May 27, 2024
mabroens commentedon May 27, 2024
matmair commentedon May 27, 2024
Can you please fill out the normal bug report template for this issue? If you are bare metal (git) deploying that is the cause of the issue as you are missing yarn, if that is not the case pleas open a fully filled out bug report / update this bug with the info from the template so we can work in an efficient matter
second-string commentedon May 30, 2024
I also see the original error of this issue (
[ERROR] Cannot get current ref via 'git rev-parse HEAD') on a fresh install using the installer script on Ubuntu 20.04. Here is the snip from the full installation log:Do you want a new issue for this or is it good here?
matmair commentedon Jul 9, 2024
Related #5278
matmair commentedon Jul 9, 2024
Working on this
[Installer] Issue downloading frontend
matmair commentedon Jul 16, 2024
@second-string a fixed release for 0.15.4 can be found here - official releases of the
masterchannel might take a bit as we need to fix underlying infra.second-string commentedon Jul 16, 2024
@matmair I have a working install that I did on Ubuntu 20.04 LTS (to fix the python issue). I don't think I had to manually copy the frontend for that one either, but my point is that I'm not in a position to test this anymore unfortunately.
You're welcome to close the issue since the comments will serve as the historical record for anyone else that might have the issue, I'm all set. Thanks!