loherangrin/o3tanks

o3tanks refresh self, not owned by current user

Closed this issue · 0 comments

$¬: sudo o3tanks refresh self

WARNING: [Running in DEV_MODE]
WARNING: [Running in DEV_MODE]
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/user/o3tanks/updater.py", line 228, in <module>
    main()
  File "/home/user/o3tanks/updater.py", line 209, in main
    n_ahead, n_behind = fetch_branch(repository_dir)
  File "/home/user/o3tanks/updater.py", line 127, in fetch_branch
    repository = get_repository(repository_dir)
  File "/home/user/o3tanks/updater.py", line 67, in get_repository
    repository = pygit2.Repository(config_dir)
  File "/usr/local/lib/python3.10/dist-packages/pygit2/repository.py", line 1759, in __init__
    path_backend = init_file_backend(path, flags)
_pygit2.GitError: /home/user/o3de/engine/.git: repository path '/home/user/o3de/engine/' is not owned by current user
ERROR: Container from image 'o3tanks-updater:development_ubuntu_22.04' failed with error code: 1