Is there a way that i can remove a server like lighttpd and add another like apache2 without problems?
Depends on the application you are running and additional configuration done. Maybe a reinstall of particular apps are needed.
And how am i suppose to remove the current and install the desire one?
you could do following
dietpi-software uninstall 84
dietpi-software install 83
Afterwards it might be needed to reinstall web app if needed. But this depends on stuff installed and maybe configured.
You can run:
dietpi-software list | grep '=2 .* +webserver'
dietpi-software reinstall ID1 ID2 ...
Add the ID(s) of the software titles listed by the first command.
i try the @Joulinar way to uninstall the software and install the next one but i get an error that the package that i try to install may conflict with the lighttpd server that i uninstall successfully a minute ago.
Here is the log
dietpi@station:~$ sudo dietpi-software uninstall 82
[ OK ] DietPi-Software | Initialised database
[ OK ] DietPi-Software | Reading database
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Mode: Automated uninstall
[ OK ] DietPi-Software | Uninstalling LLMP: Lighttpd + MariaDB + PHP
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Step: Finalising uninstall
[ INFO ] DietPi-Software | APT autopurge, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[ OK ] DietPi-Software | APT autopurge
[ OK ] DietPi-Software | systemctl daemon-reload
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Step: Uninstall completed
dietpi@station:~$ sudo dietpi-software install 75
[ OK ] DietPi-Software | Initialised database
[ OK ] DietPi-Software | Reading database
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Mode: Automated install
[ OK ] DietPi-Software | Installing LASP: Apache + SQLite + PHP
[ OK ] DietPi-Software | DietPi-Userdata validation: /mnt/big_disk/dietpi_user data
DietPi-Software
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Step: Checking for conflicts and missing inputs
[FAILED] DietPi-Software | No software installs are done. Aborting...
can you share following
dietpi-software list | grep " =2 "
Yes of course .
Here it is :
dietpi@station:~$ sudo dietpi-software list | grep " =2 "
ID 0 | =2 | OpenSSH Client: Feature-rich SSH, SFTP and SCP client |
ID 1 | =2 | Samba Client: access SMB/CIFS/Samba network shares | | dietpi-drive _manager > Add network drive
ID 3 | =2 | MC: midnight commander, powerful file manager |
ID 5 | =2 | ALSA: Advanced Linux Sound Architecture |
ID 6 | =2 | X.Org X Server: aka X11 - X Window System implementation |
ID 7 | =2 | FFmpeg: Audio & video codec libary and programs |
ID 10 | =2 | iftop: displays bandwidth usage information |
ID 14 | =2 | nLoad: realtime console network usage monitor |
ID 17 | =2 | Git: Clone and manage Git repositories locally |
ID 23 | =2 | LXDE: ultra lightweight desktop | +ALSA +X.Org X Server +browser | https://dietpi.com/docs/software/desktop/#lxde
ID 29 | =2 | XRDP: remote desktop protocol (rdp) server | +desktop | https://die tpi.com/docs/software/remote_desktop/#xrdp
ID 42 | =2 | Plex Media Server: web interface media streaming server | | https:/ /dietpi.com/docs/software/media/#plex-media-server
ID 44 | =2 | Transmission: BitTorrent server with web interface (C) | | https:// dietpi.com/docs/software/bittorrent/#transmission
ID 55 | =2 | Wordpress: website blog and publishing platform | +MariaDB +PHP +we bserver | https://dietpi.com/docs/software/social/#wordpress
ID 57 | =2 | BaΓ―kal: lightweight caldav + carddav server | +MariaDB +PHP +webser ver | https://dietpi.com/docs/software/social/#baikal
ID 65 | =2 | Netdata: real-time performance monitoring | | https://dietpi.com/do cs/software/system_stats/#netdata
ID 66 | =2 | RPi-Monitor: Web interface for Raspberry Pi real-time monitoring | | https://dietpi.com/docs/software/system_stats/#rpi-monitor
ID 81 | =2 | LLSP: Lighttpd + SQLite + PHP | +Lighttpd +SQLite +PHP | https://d ietpi.com/docs/software/webserver_stack/#llsp-web-stack
ID 82 | =2 | LLMP: Lighttpd + MariaDB + PHP | +Lighttpd +MariaDB +PHP | https:// dietpi.com/docs/software/webserver_stack/#llmp-web-stack
ID 84 | =2 | Lighttpd: Extremely lightweight webserver | +PHP | https://dietpi.c om/docs/software/webserver_stack/#lighttpd
ID 87 | =2 | SQLite: Persistent single-file database system | | https://dietpi.c om/docs/software/databases/#sqlite
ID 88 | =2 | MariaDB: Persistent cached file-per-table database server | | https ://dietpi.com/docs/software/databases/#mariadb
ID 89 | =2 | PHP: Hypertext Preprocessor for dynamic web content | | https://die tpi.com/docs/software/webserver_stack/#php
ID 90 | =2 | phpMyAdmin: Optional MariaDB web interface admin tools | +MariaDB + PHP +webserver | https://dietpi.com/docs/software/databases/#phpmyadmin
ID 91 | =2 | Redis: Volatile in-memory non-SQL database server | | https://dietp i.com/docs/software/databases/#redis
ID 93 | =2 | Pi-hole: block adverts for any device on your network | +Git +PHP + webserver | https://dietpi.com/docs/software/dns_servers/#pi-hole
ID 103 | =2 | DietPi-RAMlog: Makes /var/log a RAM disk, preserves file structure on reboot | | https://dietpi.com/docs/software/log_system/#dietpi-ramlog
ID 104 | =2 | Dropbear: Lightweight SSH server | | https://dietpi.com/docs/softw are/ssh/#dropbear
ID 106 | =2 | Lidarr: Automatically download music | +SQLite | https://dietpi.co m/docs/software/bittorrent/#lidarr
ID 110 | =2 | NFS Client: network file system client | | dietpi-drive_manager > Add network drive
ID 113 | =2 | Chromium: web browser for desktop or autostart | +ALSA +X.Org X Se rver | https://dietpi.com/docs/software/desktop/#chromium
ID 114 | =2 | Nextcloud: File sync, sharing and collaboration platform | +MariaD B +PHP +Redis +webserver | https://dietpi.com/docs/software/cloud/#nextcloud
ID 130 | =2 | Python 3: Runtime system, pip package installer and development he aders | | https://dietpi.com/docs/software/programming/#python-3
ID 134 | =2 | Docker Compose: Manage multi-container Docker applications | +Dock er | https://dietpi.com/docs/software/programming/#docker-compose
ID 144 | =2 | Sonarr: Automatically download TV shows | +SQLite +Mono | https:// dietpi.com/docs/software/bittorrent/#sonarr
ID 145 | =2 | Radarr: Automatically download movies | +SQLite | https://dietpi.c om/docs/software/bittorrent/#radarr
ID 146 | =2 | Tautulli: monitoring and tracking tool for Plex | +Git | https://d ietpi.com/docs/software/media/#tautulli
ID 149 | =2 | NZBGet: NZB download manager | | https://dietpi.com/docs/software/ bittorrent/#nzbget
ID 150 | =2 | Mono: Runtime libraries and repository |
ID 152 | =2 | Avahi-Daemon: hostname broadcast (mac, pc bonjour) |
ID 165 | =2 | Gitea: Git with a cup of tea | +Git +MariaDB +OpenSSH Client | htt ps://dietpi.com/docs/software/cloud/#gitea
ID 168 | =2 | Nextcloud Talk: Video calls with configured Coturn server | +Nextc loud | https://dietpi.com/docs/software/cloud/#nextcloud-talk
ID 170 | =2 | UnRAR: unarchiver for .rar files |
ID 175 | =2 | Xfce Power Manager: with brightness control, recommended for LXDE/ LXQt | +X.Org X Server | https://dietpi.com/docs/software/desktop/#xfce-power-ma nager
ID 179 | =2 | Komga: free and open source comics/mangas media server with web UI | +Java JRE | https://dietpi.com/docs/software/media/#komga
ID 180 | =2 | Bazarr: Automatically download subtitles | +Python 3 +FFmpeg +UnRA R | https://dietpi.com/docs/software/bittorrent/#bazarr
ID 182 | =2 | Unbound: validating, recursive, caching DNS resolver | | https://d ietpi.com/docs/software/dns_servers/#unbound
ID 187 | =2 | CUPS: common UNIX printing system | +Avahi-Daemon | https://dietpi .com/docs/software/printing/#cups
ID 196 | =2 | Java JRE: OpenJDK Runtime Environment |
ID 198 | =2 | File Browser: web based file manager | | https://dietpi.com/docs/s oftware/cloud/#filebrowser
ID 200 | =2 | DietPi-Dashboard (beta): Official lightweight DietPi web interface (Rust) | | https://dietpi.com/docs/software/system_stats/#dietpi-dashboard
You need to uninstall Lighttpd instead of the LLMP stack:
dietpi-software uninstall 84