Yeah, I noticed there’s some local changes??
HEAD detached at v3.2.45.2
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: resources/templates/plans/.skeleton/crontab
Untracked files:
(use "git add <file>..." to include in what will be committed)
lib/Opcenter/Dns/Providers/Powerdns
share/
storage/screenshots/
storage/themes/apnscp.png
storage/themes/classic.png
storage/themes/launchpad.png
storage/themes/material.png
storage/themes/obsidian.png
So i did a checkout and reset --hard
git status
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
lib/Opcenter/Dns/Providers/Powerdns
share/
storage/screenshots/
storage/themes/apnscp.png
storage/themes/classic.png
storage/themes/launchpad.png
storage/themes/material.png
storage/themes/obsidian.png
nothing added to commit but untracked files present (use "git add" to track)
But now upcp fails on pyenv because of local changes also?? I attached the full log at the bottom of the post.
[1/1] TASK [/usr/local/apnscp/resources/playbooks/roles/software/pyenv/../pyenv-support : Clone pyenv repository] ***
fatal: [localhost]: FAILED! => changed=false
before: 734d6323d8fda6998b0dcd87e8871c8bec189b72
msg: Local modifications exist in repository (force=no).
Then I tried disabling Passenger again, but still no luck with apache.
cpcmd scope:set cp.bootstrapper passenger_enabled false
upcp -sb
Finally I tried “upcp -b software/passenger” again.
And now apache is UP!
I have no use of Passenger right now but would like to know if it would be safe to enable it in the future again.
Full log of upcp after reset --hard:
upcp -b software/passenger
Compiled services and packages files removed!
Nothing to migrate.
Migrating: 2024_12_13_145213_pyenv-switch
[0/1] PLAY [localhost] ***************************************************************
[0/1] TASK [Gathering Facts] *********************************************************
ok: [localhost]
[0/1] TASK [common/acquire-lock : Validate lock existence] ***************************
ok: [localhost]
[0/1] TASK [common/acquire-lock : Acquire lock] **************************************
skipping: [localhost]
[0/1] TASK [common/acquire-lock : set_fact] ******************************************
ok: [localhost]
[0/1] TASK [common/acquire-lock : Check if PID /proc/235296/comm present] ************
ok: [localhost]
[0/1] TASK [common/acquire-lock : Verify process matches ansible] ********************
skipping: [localhost]
[0/1] TASK [common/acquire-lock : Save PID in /usr/local/apnscp/storage/run/.ansible.lock] ***
ok: [localhost]
[0/1] TASK [common/migrate : Gather all migration files] *****************************
skipping: [localhost]
[0/1] TASK [common/migrate : Locate migration files] *********************************
included: /usr/local/apnscp/resources/playbooks/migrations/2024_12_13_145213_pyenv-switch.yml for localhost
[1/1] TASK [common/migrate : Move reseller_id to id] *********************************
changed: [localhost]
[1/1] TASK [common/migrate : Rename reseller_id within plans] ************************
changed: [localhost]
[1/1] TASK [common/migrate : Clobber pyenv git tags] *********************************
changed: [localhost]
[1/1] TASK [Update pyenv source] *****************************************************
[1/1] TASK [software/pyenv : Enable any-version Python] ******************************
included: /usr/local/apnscp/resources/playbooks/roles/software/pyenv/tasks/enable-pyenv.yml for localhost
[1/1] TASK [software/pyenv : set_fact] ***********************************************
ok: [localhost]
[1/1] TASK [software/pyenv : Prepare /usr/local/share/python/pyenv] ******************
ok: [localhost]
[1/1] TASK [Install pyenv] ***********************************************************
[1/1] TASK [/usr/local/apnscp/resources/playbooks/roles/software/pyenv/../pyenv-support : Create directories] ***
ok: [localhost]
[1/1] TASK [/usr/local/apnscp/resources/playbooks/roles/software/pyenv/../pyenv-support : Clone pyenv repository] ***
fatal: [localhost]: FAILED! => changed=false
before: 734d6323d8fda6998b0dcd87e8871c8bec189b72
msg: Local modifications exist in repository (force=no).
[1/1] PLAY RECAP *********************************************************************
localhost : ok=13 changed=3 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
(RuntimeException) EXCEPTION: STDOUT:
PLAY [localhost] ***************************************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [common/acquire-lock : Validate lock existence] ***************************
ok: [localhost]
TASK [common/acquire-lock : Acquire lock] **************************************
skipping: [localhost]
TASK [common/acquire-lock : set_fact] ******************************************
ok: [localhost]
TASK [common/acquire-lock : Check if PID /proc/235296/comm present] ************
ok: [localhost]
TASK [common/acquire-lock : Verify process matches ansible] ********************
skipping: [localhost]
TASK [common/acquire-lock : Save PID in /usr/local/apnscp/storage/run/.ansible.lock] ***
ok: [localhost]
TASK [common/migrate : Gather all migration files] *****************************
skipping: [localhost]
TASK [common/migrate : Locate migration files] *********************************
included: /usr/local/apnscp/resources/playbooks/migrations/2024_12_13_145213_pyenv-switch.yml for localhost
TASK [common/migrate : Move reseller_id to id] *********************************
changed: [localhost]
TASK [common/migrate : Rename reseller_id within plans] ************************
changed: [localhost]
TASK [common/migrate : Clobber pyenv git tags] *********************************
changed: [localhost]
TASK [Update pyenv source] *****************************************************
TASK [software/pyenv : Enable any-version Python] ******************************
included: /usr/local/apnscp/resources/playbooks/roles/software/pyenv/tasks/enable-pyenv.yml for localhost
TASK [software/pyenv : set_fact] ***********************************************
ok: [localhost]
TASK [software/pyenv : Prepare /usr/local/share/python/pyenv] ******************
ok: [localhost]
TASK [Install pyenv] ***********************************************************
TASK [/usr/local/apnscp/resources/playbooks/roles/software/pyenv/../pyenv-support : Create directories] ***
ok: [localhost]
TASK [/usr/local/apnscp/resources/playbooks/roles/software/pyenv/../pyenv-support : Clone pyenv repository] ***
fatal: [localhost]: FAILED! => changed=false
before: 734d6323d8fda6998b0dcd87e8871c8bec189b72
msg: Local modifications exist in repository (force=no).
PLAY RECAP *********************************************************************
localhost : ok=13 changed=3 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
STDERR:
[/usr/local/apnscp/lib/Lararia/Database/Migrations/PlatformMigrator.php:211]
0. Lararia\Database\Migrations\PlatformMigrator->runMigration("2024_12_13_145213_pyenv-switch", "up", [step:true])
[/usr/local/apnscp/lib/Lararia/Database/Migrations/PlatformMigrator.php:128]
1. Lararia\Database\Migrations\PlatformMigrator->runUp("/usr/local/apnscp/resources/playbooks/migrations/2024_12_13_145213_pyenv-switch.yml", 7, false)
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:165]
2. Illuminate\Database\Migrations\Migrator->runPending(["/usr/local/apnscp/resources/playbooks/migrations/2024_12_13_145213_pyenv-switch.yml", "/usr/local/apnscp/resources/playbooks/migrations/2024_12_26_113057_catchall-transport-delivery.yml"], [pretend:false, step:0, rollback:false, ff:false])
[/usr/local/apnscp/lib/Lararia/Database/Migrations/PlatformMigrator.php:92]
3. Lararia\Database\Migrations\PlatformMigrator->runPending(["/usr/local/apnscp/resources/playbooks/migrations/2024_12_13_145213_pyenv-switch.yml", "/usr/local/apnscp/resources/playbooks/migrations/2024_12_26_113057_catchall-transport-delivery.yml"], [pretend:false, step:0, rollback:false, ff:false])
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:110]
4. Illuminate\Database\Migrations\Migrator->run(["/usr/local/apnscp/resources/playbooks/migrations"], [pretend:false, step:0, rollback:false, ff:false])
[/usr/local/apnscp/lib/Lararia/Database/Migrations/PlatformMigrator.php:40]
5. Lararia\Database\Migrations\PlatformMigrator->run(["/usr/local/apnscp/resources/playbooks/migrations"], [pretend:false, step:0, rollback:false, ff:false])
[/usr/local/apnscp/lib/Lararia/Console/Commands/PlatformMigration.php:76]
6. Lararia\Console\Commands\PlatformMigration->handle()
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36]
7. Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Container/Util.php:37]
8. Illuminate\Container\Util::unwrapIfClosure()
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93]
9. Illuminate\Container\BoundMethod::callBoundMethod(Lararia\Application, [], [Lararia\Console\Commands\PlatformMigration, "handle"], )
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37]
10. Illuminate\Container\BoundMethod::call(Lararia\Application, [], [Lararia\Console\Commands\PlatformMigration, "handle"], null)
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Container/Container.php:590]
11. Illuminate\Container\Container->call([Lararia\Console\Commands\PlatformMigration, "handle"])
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Console/Command.php:134]
12. Illuminate\Console\Command->execute(Symfony\Component\Console\Input\ArrayInput, Illuminate\Console\OutputStyle)
[/usr/local/apnscp/vendor/symfony/console/Command/Command.php:255]
13. Symfony\Component\Console\Command\Command->run(Symfony\Component\Console\Input\ArrayInput, Illuminate\Console\OutputStyle)
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Console/Command.php:121]
14. Illuminate\Console\Command->run(Symfony\Component\Console\Input\ArrayInput, Illuminate\Console\OutputStyle)
[/usr/local/apnscp/vendor/symfony/console/Application.php:1021]
15. Symfony\Component\Console\Application->doRunCommand(Lararia\Console\Commands\PlatformMigration, Symfony\Component\Console\Input\ArrayInput, Illuminate\Console\OutputStyle)
[/usr/local/apnscp/vendor/symfony/console/Application.php:275]
16. Symfony\Component\Console\Application->doRun(Symfony\Component\Console\Input\ArrayInput, Illuminate\Console\OutputStyle)
[/usr/local/apnscp/vendor/symfony/console/Application.php:149]
17. Symfony\Component\Console\Application->run(Symfony\Component\Console\Input\ArrayInput, Illuminate\Console\OutputStyle)
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Console/Application.php:93]
18. Illuminate\Console\Application->run(Symfony\Component\Console\Input\ArrayInput, Illuminate\Console\OutputStyle)
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Console/Application.php:185]
19. Illuminate\Console\Application->call("migrate:platform", [--force:true, --pretend:false], Illuminate\Console\OutputStyle)
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:273]
20. Illuminate\Foundation\Console\Kernel->call("migrate:platform", [--force:true, --pretend:false], Illuminate\Console\OutputStyle)
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261]
21. Illuminate\Support\Facades\Facade::__callStatic("call", ["migrate:platform", [[--force:true, --pretend:false], Illuminate\Console\OutputStyle]])
[/usr/local/apnscp/lib/Lararia/Console/Commands/Migrate.php:55]
22. Lararia\Console\Commands\Migrate->handle()
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36]
23. Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Container/Util.php:37]
24. Illuminate\Container\Util::unwrapIfClosure()
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93]
25. Illuminate\Container\BoundMethod::callBoundMethod(Lararia\Application, [], [Lararia\Console\Commands\Migrate, "handle"], )
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37]
26. Illuminate\Container\BoundMethod::call(Lararia\Application, [], [Lararia\Console\Commands\Migrate, "handle"], null)
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Container/Container.php:590]
27. Illuminate\Container\Container->call([Lararia\Console\Commands\Migrate, "handle"])
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Console/Command.php:134]
28. Illuminate\Console\Command->execute(Symfony\Component\Console\Input\ArgvInput, Illuminate\Console\OutputStyle)
[/usr/local/apnscp/vendor/symfony/console/Command/Command.php:255]
29. Symfony\Component\Console\Command\Command->run(Symfony\Component\Console\Input\ArgvInput, Illuminate\Console\OutputStyle)
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Console/Command.php:121]
30. Illuminate\Console\Command->run(Symfony\Component\Console\Input\ArgvInput, Symfony\Component\Console\Output\ConsoleOutput)
[/usr/local/apnscp/vendor/symfony/console/Application.php:1021]
31. Symfony\Component\Console\Application->doRunCommand(Lararia\Console\Commands\Migrate, Symfony\Component\Console\Input\ArgvInput, Symfony\Component\Console\Output\ConsoleOutput)
[/usr/local/apnscp/vendor/symfony/console/Application.php:275]
32. Symfony\Component\Console\Application->doRun(Symfony\Component\Console\Input\ArgvInput, Symfony\Component\Console\Output\ConsoleOutput)
[/usr/local/apnscp/vendor/symfony/console/Application.php:149]
33. Symfony\Component\Console\Application->run(Symfony\Component\Console\Input\ArgvInput, Symfony\Component\Console\Output\ConsoleOutput)
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Console/Application.php:93]
34. Illuminate\Console\Application->run(Symfony\Component\Console\Input\ArgvInput, Symfony\Component\Console\Output\ConsoleOutput)
[/usr/local/apnscp/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:131]
35. Illuminate\Foundation\Console\Kernel->handle(Symfony\Component\Console\Input\ArgvInput, Symfony\Component\Console\Output\ConsoleOutput)
[/usr/local/apnscp/lib/Lararia/Console/Kernel.php:31]
36. Lararia\Console\Kernel->handle(Symfony\Component\Console\Input\ArgvInput, Symfony\Component\Console\Output\ConsoleOutput)
[/usr/local/apnscp/artisan:60]
type or paste code here