I'm getting this error in my blueprint.

13 Replies
pikachu
pikachuOP5d ago
these are logs from my device
Lara
Lara5d ago
Nothing to do other than wait for the dev right now, it's the lack of error catching and strict blocking
pikachu
pikachuOP5d ago
Okk
ᴘʀᴏ ʙᴏʏ
Alright so I fixed the issue by removing the version check part altogether How to do it: edit your /var/www/pterodactyl/app/Console/Commands/BlueprintFramework/Version/VersionCacheCommand.php file then replace it with the following code
<?php

namespace Pterodactyl\Console\Commands\BlueprintFramework\Version;

use Illuminate\Console\Command;
use Pterodactyl\BlueprintFramework\Services\PlaceholderService\BlueprintPlaceholderService;
use Pterodactyl\BlueprintFramework\Libraries\ExtensionLibrary\Console\BlueprintConsoleLibrary as BlueprintExtensionLibrary;

class VersionCacheCommand extends Command
{
protected $description = 'Version checking disabled';
protected $signature = 'bp:version:cache';

public function __construct(
private BlueprintPlaceholderService $PlaceholderService,
private BlueprintExtensionLibrary $blueprint,
) {
parent::__construct();
}

public function handle()
{
// Disable all remote version checks
$this->blueprint->dbSet('blueprint', 'internal:version:latest', 'disabled');

$this->info("Blueprint version checking disabled.");
return true;
}
}
<?php

namespace Pterodactyl\Console\Commands\BlueprintFramework\Version;

use Illuminate\Console\Command;
use Pterodactyl\BlueprintFramework\Services\PlaceholderService\BlueprintPlaceholderService;
use Pterodactyl\BlueprintFramework\Libraries\ExtensionLibrary\Console\BlueprintConsoleLibrary as BlueprintExtensionLibrary;

class VersionCacheCommand extends Command
{
protected $description = 'Version checking disabled';
protected $signature = 'bp:version:cache';

public function __construct(
private BlueprintPlaceholderService $PlaceholderService,
private BlueprintExtensionLibrary $blueprint,
) {
parent::__construct();
}

public function handle()
{
// Disable all remote version checks
$this->blueprint->dbSet('blueprint', 'internal:version:latest', 'disabled');

$this->info("Blueprint version checking disabled.");
return true;
}
}
run cd /var/www/pterodactyl php artisan cache:clear php artisan config:clear php artisan view:clear php artisan bp:version:cache
Lara
Lara5d ago
I would say that's not ideal as if they forget to enable it that's update checks just gone A proper fix would be a pr to blueprint to add error catching to the update check
ᴘʀᴏ ʙᴏʏ
yea
Lara
Lara5d ago
And probably telemetry since I wouldn't be surprised if that's missing it too
ᴘʀᴏ ʙᴏʏ
This is a very temporary fix
Lara
Lara5d ago
Yea so that's why
ᴘʀᴏ ʙᴏʏ
So this issue can be resoved after updating blueprint? when this bug is fixed?
Lara
Lara5d ago
if I was on my laptop I'd do it right now lol But I probably won't be for about 30 mins
ᴘʀᴏ ʙᴏʏ
no problem
Emma
Emma5d ago
I'll look into this today.

Did you find this page helpful?