Hi all!!!
Im playing these days with DietPi and I love this lightweight distro and the concept it has been developed.
Testing here and there I have been able to run PiHole, Kodi, Samba, OpenSSH and so on.
But for some reason I havent been able to install phpBB forums. And after a failed installation I dont know how to manage created database or how to correct mySql user and so on with different apps tested. Even using dietpi-uninstall to remove phpBB and reinstalling it does not run the very first script to configure it.
So I tried to configure and create database, database user ... I tried to know about if apache and mySql service where up and running ... but no way.
phpBB is just the example. I think it would be a nice idea attach for each piece of software some guidelines to know where are its config files, where is the file that starts it at boot and so on.
This is just my point of view as a noob. First of all I know its a hard and vast work. If there is something I can contribute to I will be pleased to do so.
Anyway I repeat this is a fantastic distro. Thanks.
[suggestion] About Software
Re: [suggestion] About Software
Hi Dogdayfear,
This is excellent feedback, many thanks for sharing your suggestions, I've taken it all onboard. Adding the config file locations to documentation is an excellent idea. +1.
Regarding the PHPbb installation, what device and distro are you running (eg: Jessie RPiv2)?

This is excellent feedback, many thanks for sharing your suggestions, I've taken it all onboard. Adding the config file locations to documentation is an excellent idea. +1.
Regarding the PHPbb installation, what device and distro are you running (eg: Jessie RPiv2)?
Compared to C++, unix shell scripts are a lot easier to work with. I find it relaxingFirst of all I know its a hard and vast work.

You've helped already with your excellent feedback. By all means, if you have any ideas/suggestions/improvements, please let us know.If there is something I can contribute to I will be pleased to do so.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: [suggestion] About Software
Its Wheezy RPiv2. I dont use Jessie because of an extrange error with closing SSH sessions when halting system. System does not halt. I tested official Raspbian Jessie and same error there with closing SSH sessions and halting system.Regarding the PHPbb installation, what device and distro are you running (eg: Jessie RPiv2)?
Last night I finally got phpbb3 installed and runnig. Its confussing (for me) the install script when asks for the mySql password. Now I know its 'raspberry' but this is not mentioned. I had to take a look to the LAMP documentation.
The same way I had to make a trick to figure out where phpbb3 was installed. LAMP thread says local directory = /var/www. But phpBB3 is not there.
So I looked for the name of an imge of the forum: example site_logo.gif.
Then I used:
Code: Select all
find / -name site_logo.gif
Code: Select all
/usr/share/phpbb3
Re: [suggestion] About Software
Ok, i've updated the installation method for phpBB3 in v101. It no longer uses the apt-get package. Instead, it will download the source.zip and automatically create the SQL database.
I've run through the installation and will update the documentation when its released.
If you want to test run the installation. See below.
Delete any previous phpbb3 sql databases with:
Install:
Documentation Steps:
goto: http://192.168.0.100/phpBB3
Click the "Install" tab.
Click "Proceed to next step"
Click "Start install"
- Database server hostname or DSN = localhost
- Database name = phpbb3
- Database username = root
- Database password = raspberry
Click "Proceed to next step"
Click "Proceed to next step"
Create your admin account, enter your personal details.
Click "Proceed to next step"
Click "Proceed to next step"
Click "Proceed to next step"
Email and Server URL settings = Leave defaults
Click "Proceed to next step"
Click "Proceed to next step"
info = The database tables will now be generated, please wait.
Click "Login"
Using your admin login details that you created previously, you can now manage and create your forum pages.
As the installation is now completed, you will need to remove the installation folder, before the forum can be live. Run the following command:
Your forum is now ready.
I've run through the installation and will update the documentation when its released.
If you want to test run the installation. See below.
Delete any previous phpbb3 sql databases with:
Code: Select all
mysqladmin -u root -praspberry drop phpbb3 -f
Code: Select all
wget https://www.phpbb.com/files/release/phpBB-3.1.6.zip -O package.zip
unzip package.zip -d /var/www
rm package.zip
chown -R www-data:www-data /var/www/phpBB3
/DietPi/dietpi/func/create_mysql_db phpbb3 raspberry root raspberry
goto: http://192.168.0.100/phpBB3
Click the "Install" tab.
Click "Proceed to next step"
Click "Start install"
- Database server hostname or DSN = localhost
- Database name = phpbb3
- Database username = root
- Database password = raspberry
Click "Proceed to next step"
Click "Proceed to next step"
Create your admin account, enter your personal details.
Click "Proceed to next step"
Click "Proceed to next step"
Click "Proceed to next step"
Email and Server URL settings = Leave defaults
Click "Proceed to next step"
Click "Proceed to next step"
info = The database tables will now be generated, please wait.
Click "Login"
Using your admin login details that you created previously, you can now manage and create your forum pages.
As the installation is now completed, you will need to remove the installation folder, before the forum can be live. Run the following command:
Code: Select all
rm -R /var/www/phpBB3/install
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: [suggestion] About Software
Yes, the installation steps are correct and forum is running.
Its a basic step-by-step installation method for phpBB3 so it works perfectly.
By the way Im testing Kodi. Your script installs an outdated version. Im trying with different methods to have Kodi 15.2 for wheezy working and Im almost done.
Just let me know if you are interested about this.
And another thing: I see that dietpi last version is v101, but download link is v94. It auto-updates itself from v94 to v101. And that is clearly an update process.
Do you consider creating a new fresh version instead of using updates over an old one? Just a noob question.
Thanks for your work.
Its a basic step-by-step installation method for phpBB3 so it works perfectly.
By the way Im testing Kodi. Your script installs an outdated version. Im trying with different methods to have Kodi 15.2 for wheezy working and Im almost done.
Just let me know if you are interested about this.
And another thing: I see that dietpi last version is v101, but download link is v94. It auto-updates itself from v94 to v101. And that is clearly an update process.
Do you consider creating a new fresh version instead of using updates over an old one? Just a noob question.
Thanks for your work.
Re: [suggestion] About Software
Hi Dogdayfear,dogdayfear wrote:Yes, the installation steps are correct and forum is running.
Its a basic step-by-step installation method for phpBB3 so it works perfectly.
By the way Im testing Kodi. Your script installs an outdated version. Im trying with different methods to have Kodi 15.2 for wheezy working and Im almost done.
Just let me know if you are interested about this.
And another thing: I see that dietpi last version is v101, but download link is v94. It auto-updates itself from v94 to v101. And that is clearly an update process.
Do you consider creating a new fresh version instead of using updates over an old one? Just a noob question.
Thanks for your work.
Good to hear the new phpBB3 installation/docs are improved and working.
Kodi 15.2 for Wheezy would be awesome, we are currently using Michael Gorven's repo for Wheezy (14.2). Please let me know how it goes.
Regarding the DietPi images, yes, they automatically update during 1st run. So unlike other image based projects, we dont need to make/use a new image each time.
I tend to update the images where there are a lot of big changes that take a long time to update. The image creation also takes time as we need to do each of the 6 images.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: [suggestion] About Software
For now I have an stable installation of DietPi running kodi 15.1
The 15.2 version I found for Wheezy was not compiled with CEC so you cant control Kodi with your Tv remote.
14.x versions of Kodi have the well known bug of the blank screen after exiting the app the second time.
So for now my tests say the 15.1 is the most advisable version IMO.
But I will do a final clear install to test the process and to be sure everything works as expected.
The 15.2 version I found for Wheezy was not compiled with CEC so you cant control Kodi with your Tv remote.
14.x versions of Kodi have the well known bug of the blank screen after exiting the app the second time.
So for now my tests say the 15.1 is the most advisable version IMO.
But I will do a final clear install to test the process and to be sure everything works as expected.
Re: [suggestion] About Software
Awesome stuff and great research. Let us know how it goes with 15.1dogdayfear wrote:For now I have an stable installation of DietPi running kodi 15.1
The 15.2 version I found for Wheezy was not compiled with CEC so you cant control Kodi with your Tv remote.
14.x versions of Kodi have the well known bug of the blank screen after exiting the app the second time.
So for now my tests say the 15.1 is the most advisable version IMO.
But I will do a final clear install to test the process and to be sure everything works as expected.

If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: [suggestion] About Software
Finally I took the hard way: I have built Kodi 15.2 from source in DietPi v101. And it woks as expected !!!
Would like to know if there is a way to "pack" my compilation for use in the future without having to build it again. Something like creating a .deb package or a .tar.gz file for you and me to use in new DietPi installations. Let me know and I will do the job.
By the way, I have noticed that if for some reason you install Samba server via dietpi-software after having Kodi installed and running, Kodi stops working. I think it is because after installing Samba server, dietpi-config is recalled to split memory with Samba ideal values, but this values are not enought to run Kodi.
P.S. I think Im focusing this post to Kodi, when the porpouse was software in general. Is there any way to submmit suggestions in general without contaminating posts?
Thanks again.
Would like to know if there is a way to "pack" my compilation for use in the future without having to build it again. Something like creating a .deb package or a .tar.gz file for you and me to use in new DietPi installations. Let me know and I will do the job.
By the way, I have noticed that if for some reason you install Samba server via dietpi-software after having Kodi installed and running, Kodi stops working. I think it is because after installing Samba server, dietpi-config is recalled to split memory with Samba ideal values, but this values are not enought to run Kodi.
P.S. I think Im focusing this post to Kodi, when the porpouse was software in general. Is there any way to submmit suggestions in general without contaminating posts?
Thanks again.
Re: [suggestion] About Software
You can use checkinstall:dogdayfear wrote:Finally I took the hard way: I have built Kodi 15.2 from source in DietPi v101. And it woks as expected !!!
Would like to know if there is a way to "pack" my compilation for use in the future without having to build it again. Something like creating a .deb package or a .tar.gz file for you and me to use in new DietPi installations. Let me know and I will do the job.
Code: Select all
apt-get install checkinstall
Code: Select all
checkinstall
Thanks for the report, i'll take a look. You still using Wheezy RPIv2?By the way, I have noticed that if for some reason you install Samba server via dietpi-software after having Kodi installed and running, Kodi stops working. I think it is because after installing Samba server, dietpi-config is recalled to split memory with Samba ideal values, but this values are not enought to run Kodi.
On Kodi forums no idea, on these forums DietPi software requests can be made here: http://dietpi.com/phpbb/viewforum.php?f=12P.S. I think Im focusing this post to Kodi, when the porpouse was software in general. Is there any way to submmit suggestions in general without contaminating posts?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.