oscript-library / oscript-library/gitsync

Не могу обновить конфигурацию в репозитории

Open
#347 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
1C Enterprise
Stars
333
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Во время попытки обновления уже существующей конфигурации выпадает ошибка:
КРИТИЧНАЯОШИБКА - [oscript.app.gitsync] - {Модуль /usr/share/oscript/lib/gitsync/src/core/Классы/МенеджерСинхронизации.os / Ошибка в строке: 502 / Ошибка при выполнении файловой операции '/tmp/v8_ASa3LN_1873a.tmp'. 22(0x00000016): Invalid argument
Ошибка обновления конфигурации из хранилища

При этом если создавать git-репозиторий "с нуля", то синхронизация проходит. Не проходят последующие обновления.
Сам процесс запускаю команжой:
gitsync --verbose --tempdir /srv/repository/temp sync --storage-user anonymous --storage-pwd 123456789 /srv/repository/dbdev /srv/gitcode/config

Проверял создания файлов формата v8_*.tmp в директории /tmp, файл v8_ASa3LN_1873a.tmp не создается. Есть файл просто v8_ASa3LN_1873.tmp

Окружение:

  • Версия операционной системы: Debian 12
  • Редакция 1С платформы 8.3.27.1786 (32-битная
  • Версия Gitsync 3.7.0
  • Версия OScript 1.9.3.15

Прошу помощи в диагностики и устранении ошибки.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the gitsync sync command and inspect МенеджерСинхронизации.os around line 502, where the reported file operation fails. Reproduce the update on Debian 12 with the supplied command and environment details, comparing it with a fresh repository sync. Done means existing configurations update successfully without the temporary-file error.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
cli, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.