Jump to content

Lancache autofill does not work

Go to solution Solved by PorkishPig,
5 hours ago, The_MaTy said:

There is output of php -i 
 

php -i.txt 25.29 kB · 0 downloads

Purge your existing PHP installation with the following command:

sudo apt-get purge php8.* php7.*
sudo apt-get autoremove

Install SteamCMD:

sudo add-apt-repository multiverse
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install steamcmd

Rerun the dependency installation command. README asks for php7.2-sqlite, which doesn't exist. This was corrected:

sudo apt install -y libgcc1 libstdc++6 libtinfo5 libncurses5 php7.2 php7.2-cli php7.2-mbstring php7.2-sqlite3 php7.2-bcmath php7.2-dom composer expect zip unzip

This resulted in the successful configuration of lancache-autofill:

image.png.ed92e5a4c9888b6dd6311c6457d0f40c.png

Hey LTT, 

I wanted to setup a way to have all games auto updated inside my lancache server, which is running on Ubuntu. I tried to install https://github.com/zeropingheroes/lancache-autofill but it I am getting errors when I am trying to install 

 

Can someone help me, to install it and set it up to auto update my games?

 

MaTy

Snímek obrazovky 2021-01-14 v 14.18.21.png

Link to comment
https://linustechtips.com/topic/1293778-lancache-autofill-does-not-work/
Share on other sites

Link to post
Share on other sites

PHP 7.2 requires a different repository, run the following:

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.2-cli php7.2-mbstring php7.2-sqlite3 php7.2-bcmath php7.2-dom

lib32tinfo5 and lib32ncurses5 are 32-bit packages, install the 64-bit packages instead:

sudo apt-get install libtinfo5 libncurses5

 

Edited by PorkishPig
Typo, appended 3 to sqlite

Make sure to quote me or use @PorkishPig to notify me that you replied!

 

 

Desktop

CPU - Ryzen 9 3900X | Cooler - Noctua NH-D15 | Motherboard - ASUS TUF X570-PLUS RAM - Corsair Vengeance LPX DDR4-3200 32GB Case - Meshify C

GPU - RTX 3080 FE PSU - Straight Power 11 850W Platinum Storage - 980 PRO 1TB, 960 EVO 500GB, S31 1TB, MX500 500GB | OS - Windows 11 Pro

 

Homelab

CPU - Core i5-11400 | Cooler - Noctua NH-U12S | Motherboard - ASRock Z590M-ITX RAM - G.Skill Ripjaws V DDR4-3600 32GB (2x16)  | Case - Node 304

PSU - EVGA B3 650W | Storage - 860 EVO 256GB, Sabrent Rocket 4.0 1TB, WD Red 4TB (x6 in RAIDZ1 w/ LSI 9207-8i) | OS - TrueNAS Scale (Debian)

Link to post
Share on other sites

22 hours ago, The_MaTy said:

This command gives me an error 

rUhH.png

There was a typo in my command, try the following:

sudo apt-get install php7.2-cli php7.2-mbstring php7.2-sqlite3 php7.2-bcmath php7.2-dom

 

Edited by PorkishPig
appended 3 to sqlite

Make sure to quote me or use @PorkishPig to notify me that you replied!

 

 

Desktop

CPU - Ryzen 9 3900X | Cooler - Noctua NH-D15 | Motherboard - ASUS TUF X570-PLUS RAM - Corsair Vengeance LPX DDR4-3200 32GB Case - Meshify C

GPU - RTX 3080 FE PSU - Straight Power 11 850W Platinum Storage - 980 PRO 1TB, 960 EVO 500GB, S31 1TB, MX500 500GB | OS - Windows 11 Pro

 

Homelab

CPU - Core i5-11400 | Cooler - Noctua NH-U12S | Motherboard - ASRock Z590M-ITX RAM - G.Skill Ripjaws V DDR4-3600 32GB (2x16)  | Case - Node 304

PSU - EVGA B3 650W | Storage - 860 EVO 256GB, Sabrent Rocket 4.0 1TB, WD Red 4TB (x6 in RAIDZ1 w/ LSI 9207-8i) | OS - TrueNAS Scale (Debian)

Link to post
Share on other sites

20 minutes ago, PorkishPig said:

There was a typo in my command, try the following:



sudo apt-get install php7.2-cli php7.2-mbstring php7.2-sqlite php7.2-bcmath php7.2-dom

 

Looks like it was successfully installed, but now I have problem with that autofill install.sh. I am getting this error.

1.png

Link to post
Share on other sites

20 hours ago, The_MaTy said:

Looks like it was installed, but now I have problem with that autofill install.sh. I am getting this error.

I'm not sure why this would be occurring unless the script requires superuser execution. Otherwise, it seems to match that of a closed issue at https://github.com/zeropingheroes/lancache-autofill/issues/27.

 

Edited by PorkishPig
This is incorrect.

Make sure to quote me or use @PorkishPig to notify me that you replied!

 

 

Desktop

CPU - Ryzen 9 3900X | Cooler - Noctua NH-D15 | Motherboard - ASUS TUF X570-PLUS RAM - Corsair Vengeance LPX DDR4-3200 32GB Case - Meshify C

GPU - RTX 3080 FE PSU - Straight Power 11 850W Platinum Storage - 980 PRO 1TB, 960 EVO 500GB, S31 1TB, MX500 500GB | OS - Windows 11 Pro

 

Homelab

CPU - Core i5-11400 | Cooler - Noctua NH-U12S | Motherboard - ASRock Z590M-ITX RAM - G.Skill Ripjaws V DDR4-3600 32GB (2x16)  | Case - Node 304

PSU - EVGA B3 650W | Storage - 860 EVO 256GB, Sabrent Rocket 4.0 1TB, WD Red 4TB (x6 in RAIDZ1 w/ LSI 9207-8i) | OS - TrueNAS Scale (Debian)

Link to post
Share on other sites

4 minutes ago, PorkishPig said:

I'm not sure why this would be occurring unless the script requires superuser execution. Otherwise, it seems to match that of a closed issue at https://github.com/zeropingheroes/lancache-autofill/issues/27.

Tried to run it with sudo again and I got this 

2.png

3.png

Link to post
Share on other sites

1 hour ago, The_MaTy said:

Tried to run it with sudo again and I got this 

The only explanation would be a lack of required dependencies, or an issue with the script self. Try rerunning the dependency installation command:

sudo apt install -y libgcc1 libstdc++6 libtinfo5 libncurses5 php7.2 php7.2-cli php7.2-mbstring php7.2-sqlite php7.2-bcmath php7.2-dom composer expect zip unzip

If that doesn't help, please provide the output of php -i.

Make sure to quote me or use @PorkishPig to notify me that you replied!

 

 

Desktop

CPU - Ryzen 9 3900X | Cooler - Noctua NH-D15 | Motherboard - ASUS TUF X570-PLUS RAM - Corsair Vengeance LPX DDR4-3200 32GB Case - Meshify C

GPU - RTX 3080 FE PSU - Straight Power 11 850W Platinum Storage - 980 PRO 1TB, 960 EVO 500GB, S31 1TB, MX500 500GB | OS - Windows 11 Pro

 

Homelab

CPU - Core i5-11400 | Cooler - Noctua NH-U12S | Motherboard - ASRock Z590M-ITX RAM - G.Skill Ripjaws V DDR4-3600 32GB (2x16)  | Case - Node 304

PSU - EVGA B3 650W | Storage - 860 EVO 256GB, Sabrent Rocket 4.0 1TB, WD Red 4TB (x6 in RAIDZ1 w/ LSI 9207-8i) | OS - TrueNAS Scale (Debian)

Link to post
Share on other sites

12 hours ago, PorkishPig said:

The only explanation would be a lack of required dependencies, or an issue with the script self. Try rerunning the dependency installation command:



sudo apt install -y libgcc1 libstdc++6 libtinfo5 libncurses5 php7.2 php7.2-cli php7.2-mbstring php7.2-sqlite php7.2-bcmath php7.2-dom composer expect zip unzip

If that doesn't help, please provide the output of php -i.

Got this error after running that command.

1212121.png

Link to post
Share on other sites

12 hours ago, PorkishPig said:

The only explanation would be a lack of required dependencies, or an issue with the script self. Try rerunning the dependency installation command:



sudo apt install -y libgcc1 libstdc++6 libtinfo5 libncurses5 php7.2 php7.2-cli php7.2-mbstring php7.2-sqlite php7.2-bcmath php7.2-dom composer expect zip unzip

If that doesn't help, please provide the output of php -i.

There is output of php -i 
 

php -i.txt

Link to post
Share on other sites

5 hours ago, The_MaTy said:

There is output of php -i 
 

php -i.txt 25.29 kB · 0 downloads

Purge your existing PHP installation with the following command:

sudo apt-get purge php8.* php7.*
sudo apt-get autoremove

Install SteamCMD:

sudo add-apt-repository multiverse
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install steamcmd

Rerun the dependency installation command. README asks for php7.2-sqlite, which doesn't exist. This was corrected:

sudo apt install -y libgcc1 libstdc++6 libtinfo5 libncurses5 php7.2 php7.2-cli php7.2-mbstring php7.2-sqlite3 php7.2-bcmath php7.2-dom composer expect zip unzip

This resulted in the successful configuration of lancache-autofill:

image.png.ed92e5a4c9888b6dd6311c6457d0f40c.png

Make sure to quote me or use @PorkishPig to notify me that you replied!

 

 

Desktop

CPU - Ryzen 9 3900X | Cooler - Noctua NH-D15 | Motherboard - ASUS TUF X570-PLUS RAM - Corsair Vengeance LPX DDR4-3200 32GB Case - Meshify C

GPU - RTX 3080 FE PSU - Straight Power 11 850W Platinum Storage - 980 PRO 1TB, 960 EVO 500GB, S31 1TB, MX500 500GB | OS - Windows 11 Pro

 

Homelab

CPU - Core i5-11400 | Cooler - Noctua NH-U12S | Motherboard - ASRock Z590M-ITX RAM - G.Skill Ripjaws V DDR4-3600 32GB (2x16)  | Case - Node 304

PSU - EVGA B3 650W | Storage - 860 EVO 256GB, Sabrent Rocket 4.0 1TB, WD Red 4TB (x6 in RAIDZ1 w/ LSI 9207-8i) | OS - TrueNAS Scale (Debian)

Link to post
Share on other sites

53 minutes ago, PorkishPig said:

Purge your existing PHP installation with the following command:


sudo apt-get purge php8.* php7.*
sudo apt-get autoremove

Install SteamCMD:


sudo add-apt-repository multiverse
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install steamcmd

Rerun the dependency installation command. README asks for php7.2-sqlite, which doesn't exist. This was corrected:


sudo apt install -y libgcc1 libstdc++6 libtinfo5 libncurses5 php7.2 php7.2-cli php7.2-mbstring php7.2-sqlite3 php7.2-bcmath php7.2-dom composer expect zip unzip

This resulted in the successful configuration of lancache-autofill:

image.png.ed92e5a4c9888b6dd6311c6457d0f40c.png

Thanks a lot for the responses, I will try this and will let you know how it ended. 

Link to post
Share on other sites

2 hours ago, PorkishPig said:

Purge your existing PHP installation with the following command:


sudo apt-get purge php8.* php7.*
sudo apt-get autoremove

Install SteamCMD:


sudo add-apt-repository multiverse
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install steamcmd

Rerun the dependency installation command. README asks for php7.2-sqlite, which doesn't exist. This was corrected:


sudo apt install -y libgcc1 libstdc++6 libtinfo5 libncurses5 php7.2 php7.2-cli php7.2-mbstring php7.2-sqlite3 php7.2-bcmath php7.2-dom composer expect zip unzip

This resulted in the successful configuration of lancache-autofill:

image.png.ed92e5a4c9888b6dd6311c6457d0f40c.png

You are insane dude, its working finally...

Can I ask you for just one more thing?
How can I setup, when I boot up, to check for updates and install them? Just to make that auto update games.
Again, thank you so mutch for helping me with this.

Link to post
Share on other sites

31 minutes ago, The_MaTy said:

You are insane dude, its working finally...

Can I ask you for just one more thing?
How can I setup, when I boot up, to check for updates and install them? Just to make that auto update games.
Again, thank you so mutch for helping me with this.

This would probably be covered by lancache-autofill documentation. I have not personally worked with LanCache, so I'm not sure I can provide guidance here.

Make sure to quote me or use @PorkishPig to notify me that you replied!

 

 

Desktop

CPU - Ryzen 9 3900X | Cooler - Noctua NH-D15 | Motherboard - ASUS TUF X570-PLUS RAM - Corsair Vengeance LPX DDR4-3200 32GB Case - Meshify C

GPU - RTX 3080 FE PSU - Straight Power 11 850W Platinum Storage - 980 PRO 1TB, 960 EVO 500GB, S31 1TB, MX500 500GB | OS - Windows 11 Pro

 

Homelab

CPU - Core i5-11400 | Cooler - Noctua NH-U12S | Motherboard - ASRock Z590M-ITX RAM - G.Skill Ripjaws V DDR4-3600 32GB (2x16)  | Case - Node 304

PSU - EVGA B3 650W | Storage - 860 EVO 256GB, Sabrent Rocket 4.0 1TB, WD Red 4TB (x6 in RAIDZ1 w/ LSI 9207-8i) | OS - TrueNAS Scale (Debian)

Link to post
Share on other sites

2 minutes ago, PorkishPig said:

This would probably be covered by lancache-autofill documentation. I have not personally worked with LanCache, so I'm not sure I can provide guidance here.

Is there a way to figure out if its starting with booting system? I am beginner in linux so sorry for my wierd questions. I can not see anything with starting up with system in documentation.

Link to post
Share on other sites

Just now, The_MaTy said:

Is there a way to figure out if its starting with booting system? I am beginner in linux so sorry for my wierd questions. I can not see anything with starting up with system in documentation.

It doesn't look like the script sets up a service. You'll likely need to setup a cron job, which you can read about at https://askubuntu.com/a/2369.

Make sure to quote me or use @PorkishPig to notify me that you replied!

 

 

Desktop

CPU - Ryzen 9 3900X | Cooler - Noctua NH-D15 | Motherboard - ASUS TUF X570-PLUS RAM - Corsair Vengeance LPX DDR4-3200 32GB Case - Meshify C

GPU - RTX 3080 FE PSU - Straight Power 11 850W Platinum Storage - 980 PRO 1TB, 960 EVO 500GB, S31 1TB, MX500 500GB | OS - Windows 11 Pro

 

Homelab

CPU - Core i5-11400 | Cooler - Noctua NH-U12S | Motherboard - ASRock Z590M-ITX RAM - G.Skill Ripjaws V DDR4-3600 32GB (2x16)  | Case - Node 304

PSU - EVGA B3 650W | Storage - 860 EVO 256GB, Sabrent Rocket 4.0 1TB, WD Red 4TB (x6 in RAIDZ1 w/ LSI 9207-8i) | OS - TrueNAS Scale (Debian)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×