Applicable to:
- Plesk Obsidian for Linux
Symptoms
- Site is deployed from staging domain. On staging domain everything works as expected but on live site, Deployment tab and Git repository is missing
-
From the panel logs, following error is observed:
CONFIG_TEXT:[2023-06-24 21:57:02.948] 1439554:6497acfee77a1 ERR [panel] Cannot assign null to property PleskExt\Git\Deployer\Step\BaseStep::$repository of type PleskExt\Git\Db\Repository
[2023-06-24 21:57:04.659] 1439563:6497acff1ab7d ERR [panel] Table is not detected
Cause
Missing repoName value in the Laravel Toolkit installation database:
# sqlite3 /usr/local/psa/var/modules/laravel/laravel_toolkit.sqlite3
MYSQL_LIN: SELECT * FROM applications;
id|domainId|name|repoName|deploymentPath|scheduleTaskId|repositoryType|scan
1|3|example1.com|laravel_59c5a7|httpdocs|0xf5574a688e35d4baf0c09753ca5f14bd|remote|0
3|4|example2.com||public_html|0xc6744019b38d107437e2848765d4e51e|local|1
Resolution
- Log into Plesk.
- Look up the repository name under Domains > example.com > Git.
-
Insert it into the Laravel Toolkit database:
# sqlite3 /usr/local/psa/var/modules/laravel/laravel_toolkit.sqlite3
MYSQL_LIN: UPDATE applications SET repoName='laravel_2da9fc' WHERE id=3;
Comments
Please sign in to leave a comment.