12-24-2021, 06:28 PM
Hmmm, I think the problem is with phpmyadmin as you initially get this error with install script.
sed: can't read /usr/share/phpmyadmin/libraries/plugin_interface.lib.php: No such file or directory
When this installs it prompts as I mentioned which I hate as hard to warn installers so I managed to find some code as follows, this sets something on the Pi, not sure what or where though and stops those prompts. My gut feels it's related.
I'll make some changes to the install script, I should have it done in next 10-20 minutes. In the meantime maybe reformat that card using the Pi imager I posted earlier then you can run the script I'll post next.
As for as that debconf/fix_db.pi error I'm not sure what it's about or if that command even needs to be run, I think I've seen that error but never removed the command. I saw somewhere it was a good idea to run it as there was a possible issue with the mysql stuff in one of the packages.
sed: can't read /usr/share/phpmyadmin/libraries/plugin_interface.lib.php: No such file or directory
When this installs it prompts as I mentioned which I hate as hard to warn installers so I managed to find some code as follows, this sets something on the Pi, not sure what or where though and stops those prompts. My gut feels it's related.
Code:
echo "mysql-server mysql-server/root_password password robotank" | sudo debconf-set-selections
echo "mysql-server mysql-server/root_password_again password robotank" | sudo debconf-set-selections
echo 'phpmyadmin phpmyadmin/dbconfig-install boolean false' | sudo debconf-set-selections
echo 'phpmyadmin phpmyadmin/app-password-confirm password robotank' | sudo debconf-set-selections
echo 'phpmyadmin phpmyadmin/mysql/admin-pass password robotank' | sudo debconf-set-selections
echo 'phpmyadmin phpmyadmin/mysql/app-pass password robotank' | sudo debconf-set-selections
echo 'phpmyadmin phpmyadmin/reconfigure-webserver multiselect apache2' | sudo debconf-set-selections
I'll make some changes to the install script, I should have it done in next 10-20 minutes. In the meantime maybe reformat that card using the Pi imager I posted earlier then you can run the script I'll post next.
As for as that debconf/fix_db.pi error I'm not sure what it's about or if that command even needs to be run, I think I've seen that error but never removed the command. I saw somewhere it was a good idea to run it as there was a possible issue with the mysql stuff in one of the packages.