Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PartKeepr on Ubuntu 22.04 installation #1252

Open
LubomirBogdanov opened this issue Sep 8, 2022 · 2 comments
Open

PartKeepr on Ubuntu 22.04 installation #1252

LubomirBogdanov opened this issue Sep 8, 2022 · 2 comments
Labels
help-requested indicates that an issue is seeking for help during setup, usage, etc. needs-triage incoming, please sort

Comments

@LubomirBogdanov
Copy link

Hello! We are using PartKeepr and we're very pleased with it! However, our server has been updated to Ubuntu 22.04 (fresh install) and now we are struggling to install PartKeepr on it. And we get the following error:

user@server:/var/www/PartKeepr-1.4.0# php7.0 /usr/bin/composer install
PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /usr/share/php/Symfony/Polyfill/Php80/bootstrap.php on line 29

We've updated the default php (with update alternatives) to 7.0 and the apache server is working (the localhost web page is working).

Any help is appreciated!
Regards,
L. B.

@LubomirBogdanov LubomirBogdanov added help-requested indicates that an issue is seeking for help during setup, usage, etc. needs-triage incoming, please sort labels Sep 8, 2022
@ErHarjeev
Copy link

I am getting this error
PHP Fatal error: require_once(): Failed opening required '/var/www/si/web/../app/bootstrap.php.cache' (include_path='.>

@HrMitrev
Copy link

HrMitrev commented Sep 30, 2022

Hi! I recently installed via this tutorial PartKeepr on Ununtu 22.04 and I had a few noteworthy problems:

  1. PHP v7.1 didn't seem to work with PartKeepr 1.4, so I used PHP v7.0
  2. The composer package from Ubuntu 22.04 seems too new for this php vesrion, so I manually ran curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --version=1.10.26 to install older version as suggested here.
    Please note that after that the composer executable will be in /usr/local/bin/composer instead of /usr/bin/composer, so you will need to run php7.0 /usr/local/bin/composer install
  3. MySQL v8 now seems to have authentication problems with older PHP versions, but this is resolved here

Also if you follow the tutorial, phpMyAdmin will refuse to work with php7.0, so use Adminer instead to backup and manage your database

Eventually I got it working and I hope this would help the others with similar problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-requested indicates that an issue is seeking for help during setup, usage, etc. needs-triage incoming, please sort
Projects
None yet
Development

No branches or pull requests

3 participants