Koozali.org: home of the SME Server

SME 10 et PhpmyAdmin

Offline Marcelsme

  • 9
  • +0/-0
SME 10 et PhpmyAdmin
« on: February 10, 2021, 11:43:13 AM »
Bonjour, j'ai installé phpmyadmin par l'instruction yum install smeserver-phpmyadmin --enablerepo=smedev,epel
Ça fonctionne (ou presque  :-D) sauf que j'ai le message suivant EN IMPORT et aussi en EXPORT :

Warning in ./libraries/file_listing.lib.php#22
 file_exists(): open_basedir restriction in effect. File(/var/lib/phpMyAdmin/upload/) is not within the allowed path(s): (/etc/phpMyAdmin:/usr/share/phpMyAdmin:/usr/share/phpMyAdmin/doc/html:/usr/share/php:/var/lib/php/phpmyadmin:/var/log/phpmyadmin:/dev/urandom:/proc/meminfo:)

J'ai essayé plusieurs manips, entre autre une modif du phpmyadmin.conf en ajoutant une ligne open_basedir mais ça plait pas à SME  :shock:
Une idée ?
merci

Online ReetP

  • *
  • 3,722
  • +5/-0
Re: SME 10 et PhpmyAdmin
« Reply #1 on: February 10, 2021, 12:34:09 PM »
Please see this page https://wiki.contribs.org/PHPMyAdmin

Note that this contrib has not been finished yet - it has been imported but there are fixes still required.

Open a bug against smeserver-phpmyadmin

https://bugs.contribs.org/enter_bug.cgi?product=SME%20Contribs&component=smeserver-phpmyadmin&short_desc=&comment=

Thank you.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Marcelsme

  • 9
  • +0/-0
Re: SME 10 et PhpmyAdmin
« Reply #2 on: February 10, 2021, 06:32:58 PM »
 8-) Merci Reetp, ok bug rapporté !

Online ReetP

  • *
  • 3,722
  • +5/-0
Re: SME 10 et PhpmyAdmin
« Reply #3 on: February 10, 2021, 07:25:58 PM »
8-) Merci Reetp, ok bug rapporté !

And thank you!!

There are some other issues too, but we will look once the Beta is released.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Online ReetP

  • *
  • 3,722
  • +5/-0
Re: SME 10 et PhpmyAdmin
« Reply #4 on: February 10, 2021, 07:26:56 PM »
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Marcelsme

  • 9
  • +0/-0
Re: SME 10 et PhpmyAdmin
« Reply #5 on: February 12, 2021, 01:16:12 AM »
Hello ! Bon, j'ai remplacé le répertoire de PhpMyAdmin contenu dans /usr/share par la dernière version de PhpMyAdmin, plus de message comme cité ci-dessus ! c'est bien le fichier rpm qui est buggué. :grin:
« Last Edit: February 12, 2021, 01:19:41 AM by Marcelsme »

Online ReetP

  • *
  • 3,722
  • +5/-0
Re: SME 10 et PhpmyAdmin
« Reply #6 on: February 12, 2021, 01:35:05 AM »
It may be, but reporting it here does not help any one. Please stick to the bug tracker. It is designed for it.

Also note we usually use the upstream rpm for phpmyadmin with SME customisations in smeserver-phpmyadmin. We do not randomly just drop another version in there.

When you next update it will probably break your install........

This probably needs fixing in smeserver-phpmyadmin. It is probably not complicated, but the small amount of time people have is focussed on v10 Beta. We can focus properly on Contribs later.

If you want to help get this fixed then do so on the bug tracker, and look at fixing the real issue in the code as it is at the minute. There is plenty of documentation on the wiki on how to make patches for rpms.

If you want to do your own thing then uninstall the existing rpms first so you don't get any other issues during updates.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation