Comments (3)
Ok, just gave a try increasing php version to 8.1
root@pxemanager:/var/www/pxe-manager# composer install
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]?
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 9 installs, 0 updates, 0 removals
- Downloading bramus/router (dev-master 40105ae)
- Downloading psr/log (1.1.4)
- Downloading filp/whoops (2.14.5)
- Downloading shanemcc/php-db (0.5)
- Downloading symfony/polyfill-php80 (v1.25.0)
- Downloading symfony/polyfill-mbstring (v1.25.0)
- Downloading symfony/var-dumper (v5.4.8)
- Downloading symfony/polyfill-ctype (v1.25.0)
- Downloading twig/twig (v3.4.1)
- Installing bramus/router (dev-master 40105ae): Extracting archive
- Installing psr/log (1.1.4): Extracting archive
- Installing filp/whoops (2.14.5): Extracting archive
- Installing shanemcc/php-db (0.5): Extracting archive
- Installing symfony/polyfill-php80 (v1.25.0): Extracting archive
- Installing symfony/polyfill-mbstring (v1.25.0): Extracting archive
- Installing symfony/var-dumper (v5.4.8): Extracting archive
- Installing symfony/polyfill-ctype (v1.25.0): Extracting archive
- Installing twig/twig (v3.4.1): Extracting archive
Generating autoload files
6 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
root@pxemanager:/var/www/pxe-manager# php /var/www/pxe-manager/admin/init.php
PHP Fatal error: Uncaught PDOException: could not find driver in /var/www/pxe-manager/functions.php:15
Stack trace:
#0 /var/www/pxe-manager/functions.php(15): PDO->__construct()
#1 /var/www/pxe-manager/admin/init.php(3): require_once('...')
#2 {main}
thrown in /var/www/pxe-manager/functions.php on line 15
Made it one step further, according to this post, I might be missnig the PDO SQL driver
I just ran apt install php8.1 to install it, I didn't try to purge php7.* / autoclean / autoremove yet
Having a look at my list of installed packages
Looks like the only php7 module I'm missing is sqlite3, makes sense, PDO is sql related, ok let's try that
apt install php8.1-sqlite3
root@pxemanager:/var/www/pxe-manager# php /var/www/pxe-manager/admin/init.php
dataVersion Current Version: 0
dataVersion Updating to version 1: success
dataVersion Updating to version 2: success
dataVersion Updating to version 3: success
dataVersion Updating to version 4: success
dataVersion Updating to version 5: success
dataVersion Updating to version 6: success
dataVersion Updating to version 7: success
root@pxemanager:/var/www/pxe-manager#
Oh yes !
Ok almost there
Blank page, but I'm getting there ...
from pxe-manager.
tail /var/log/apache2/* -f
Uncaught RuntimeException: Unable to create the cache directory (/var/www/pxe-manager/templates_c/5b).
Looks like it's an access control issue of some kind
Let's reset everything
chown -Rfv www-data: /var/www/pxe-manager/
and yep, that did it
Ok, time to play with this thing !
from pxe-manager.
Thanks for the detailed bug report/fixing steps.
The install instructions for 7.4 were to ensure it was a newer version of PHP than the default. Should work perfectly fine on 8.1.
I'll thought I'd updated the docs for 20.04, seems not. I'll give them a pass over for 22.04.
from pxe-manager.
Related Issues (20)
- Install Guide HOT 1
- Docker doesn't save images... HOT 3
- [Feature request] Add snippet support to images template
- [Feature request] Support IPMI actions
- [Feature request] Add global variables support and password type
- [DOC] Kickstart example template
- [Enhancement] ServerRoutes.php - allowInsecurePXEData - getEnable check condition for routes
- [Feature request] Sort option for images and servers pages
- Add ability to define entire pxelinux configs
- API support HOT 3
- /pxedata/ endpoint requires no authentication HOT 1
- PHP Error HOT 8
- setup failes at composer install step HOT 3
- How to add an image? HOT 4
- Routes allow arbitrary characters where there should be periods
- Can't view images when using PHP 7.4+ HOT 1
- Active servers PXE config stays on deletion
- Importable/Exportable images HOT 1
- Expose override URL in templates HOT 1
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.
from pxe-manager.