Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: eSPee on September 16, 2024, 11:19:49 AM

Title: picore System Upgrade
Post by: eSPee on September 16, 2024, 11:19:49 AM
Hi all,

For over a year now my system is running great on the piCore9.x. Although i am a linux newbie i got everything up and running with help from this forum. Thanks everybody ;) My raspberry Pi Zero W run wireless & headless with Samba4 / Apache2.4 / PHP 7 / WiringPi / Python 2.4 & Python RPi GPIO.

For some time now I am trying to upgrade the system to piCore14.x. I have tried different methods but can’t get it working:

1. Replacing the tinycore.gz and bzImage in the boot folder didn’t work. (System didn't boot)
2. Replacing the complete boot folder (but keeping config.txt & cmdline.txt) didn’t work. (System didn't boot)
3. Starting with piCore14.x from scratch worked until I tried to get apache & php working.

The corebook doesn’t mention how to upgrade the system (as far as I can tell). Unfortunately in this case, the forum couldn’t help me either. I am running out of options.

Can anybody please enlighten me if it is possible to do a system upgrade on raspberry and (if possible) what the basic approach is to do this? Thanks for helping!
Title: Re: picore System Upgrade
Post by: Paul_123 on September 17, 2024, 06:42:48 AM
For the average user, starting from a fresh image is the best way to go about it.   Lots have changed in 5 versions.

What problems with Apache and php?
Title: Re: picore System Upgrade
Post by: eSPee on September 17, 2024, 10:10:20 AM
Hi Paul,

Thanks for the info. Regarding the issues with apache & php on piCore 14.x:

- Installed apache2.4:
- Installed php7
It seems that "libsqlite3.so.0" is missing somehow. anybody knows how to fix this? Many thanx!


Title: Re: picore System Upgrade
Post by: Rich on September 17, 2024, 10:19:47 AM
Hi eSPee
Try:
Code: [Select]
tce-load -wi sqlite3.tcz
Title: Re: picore System Upgrade
Post by: eSPee on September 17, 2024, 10:34:51 AM
Hi Rich!

That solved the errors. I guess it was missing in the .dep file of php7.tcz ;)
After updating "httpd.conf" with code below apache & php now work!
Code: [Select]
<IfModule dir_module>
    DirectoryIndex index.html index.php
</IfModule>

Thnx Rich & Paul!