iocage-plugin-heimdall's People
iocage-plugin-heimdall's Issues
local IP address is appended to the heimdall IP address
For example:
If Heimdall is hosted at 10.0.0.10 and my plex is 10.0.0.50 then when I click on the Plex icon, I'm taken to 10.0.0.10/10.0.0.50 which doesn't resolve obviously.
Translations misssing?
Hi,
while installing this plugin (version 2.5.7) in TrueNAS-13.0-U4 (which generally worked) I just noticed, that only the English language was available in the settings for the GUI - even though, in an older Installation (2.2.3) multiple languages were available.
Does anyone face similar issues? Is this an issue of the plugin, the actual software or am I missing something?
Best regards
matclou
Plugin no longer works "Out of the box"
Hello,
I'm running TrueNAS-12.0-STABLE and after doing a fresh installation and clicking on manage, I'm taken to a webpage full of errors.
Main error being:
ErrorException (E_NOTICE)
Trying to get property 'apps' of non-object
And on the right-hand side:
/usr/local/www/heimdall/public/index.php
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
Arguments
Request {#42 ▶}
And:
/usr/local/www/heimdall/app/Jobs/ProcessApps.php
*
* @return void
*/
public function __construct()
{
//
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
$localapps = Application::all();
$list = json_decode(SupportedApps::getList()->getBody());
$validapps = [];
foreach($list->apps as $app) {
$validapps[] = $app->appid;
$localapp = $localapps->where('appid', $app->appid)->first();
$application = ($localapp) ? $localapp : new Application;
if(!file_exists(app_path('SupportedApps/'.className($app->name)))) {
SupportedApps::getFiles($app);
SupportedApps::saveApp($app, $application);
} else {
// check if there has been an update for this app
$localapp = $localapps->where('appid', $app->appid)->first();
if($localapp) {
if($localapp->sha !== $app->sha) {
SupportedApps::getFiles($app);
SupportedApps::saveApp($app, $application);
}
} else {
SupportedApps::getFiles($app);
SupportedApps::saveApp($app, $application);
Arguments
"Trying to get property 'apps' of non-object"
this is two of about 4 different errors on the left-hand side.
Any assistance would be appreciated.
Won't install on TrueNAS 12.0U7
Hi,
Installing this plugin on a fresh install fails when it attempts to install the php73 packages with the following errors:
Error: heimdall had a failure Exception: RuntimeError Message: pkg error: - php73 :,php73-ctype :,php73-filter :,php73-hash :,php73-json :,php73-mbstring :,php73-openssl :,php73-pdo_sqlite :,php73-session :,php73-sqlite3 :,php73-tokenizer :,php73-xml :,php73-zip : Refusing to fetch artifact and run post_install.sh! Partial plugin destroyed
I suspect php73 packages are no longer available due to PHP73 now EOL.
Could the plugin please be updated to run PHP 8.1 or 8.0 considering 7.4 is now only getting security updates?
Thanks
post-update.sh to re-clone heimdall and restore backup config
I noticed pre-update.sh is taking a backup of the configuration files and sqlite database but doesn't seem to be doing anything with it. I was thinking it should be possible to incorporate a post-update.sh file that could remove the original heimdall directly, clone the latest version, and then restore the files from backup.
Here is a basic version of what I had in mind. Please let me know if I'm missing something or on the wrong path/idea.
#!/bin/sh
echo "Removing old Heimdall repo..."
rm -rf /usr/local/www/heimdall
cd /usr/local/www
echo "Downloading latest Heimdall repo..."
git clone https://github.com/linuxserver/Heimdall.git --quiet --depth 1 heimdall
cd heimdall
echo "Copying Heimdall config from backup..."
cp -af /var/backups/heimdall-data/.env ./.env
cp -af /var/backups/heimdall-data/app.sqlite ./database/app.sqlite
cp -afR /var/backups/heimdall-data/public/ ./storage/app/public
chown -R www:www .
echo "Regenerating self-signed SSL certificate..."
/usr/local/bin/heimdall-generate-sslcert.sh > /dev/null 2>&1
echo "Reconfiguring services..."
cp -v /usr/local/etc/heimdall/nginx-heimdall-default.conf /usr/local/etc/nginx/nginx.conf
cp -v /usr/local/etc/php.ini-production /usr/local/etc/php.ini
service php-fpm restart
service nginx restart
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.