XFileSharing Pro - How to re-install FastCGI?

Message
Author
User avatar
sib-fan87
Posts: 33
Joined: Jan 04, 2022 8:37 pm

How to re-install FastCGI?

#1 Postby sib-fan87 » Oct 06, 2023 3:11 am

We upgraded our server to a faster one. So we had to move the main server to a new server.

We updated the server IP in XFSConfig.pm to the new IP address. Re-installed all the required modules.

We can see the homepage but we are unable to login. In the error logs i only see


[Fri Oct 6 03:09:33 2023][516618] Wrong file server IP

&

[Fri Oct 6 03:09:19 2023][515577] FastCGI: Reading XFileConfig
[Fri Oct 6 03:09:19 2023][515577] [Fri Oct 6 03:09:19 2023] index.fcgi: CGI::param called in list context from Modules/Session.pm line 69, this can lead to vulnerabilities. See the warning in "Fetching the value or values of a single named parameter" at /usr/share/perl5/vendor_perl/CGI.pm line 412.




I realized i forgot to install fastCGi

Could that be the reason I am unable to login? Can't login with admin or a user account. I get no error just the page refreshes and i am back in the login page.

Is there docs on how to install fastCGI?

I can't figure out why I can't login.

help anyone?

verzing
Posts: 174
Joined: Mar 02, 2011 7:00 pm

Re: How to re-install FastCGI?

#2 Postby verzing » Oct 08, 2023 4:51 am

Do you have a fast-cgi mod? did it really work? did it make your site faster?

User avatar
sib-fan87
Posts: 33
Joined: Jan 04, 2022 8:37 pm

Re: How to re-install FastCGI?

#3 Postby sib-fan87 » Oct 08, 2023 9:16 pm

I bought fast-cgi mod and had sibsoft install it.
Where did they install it? in the server or the script?

My site is not busy because its a new website. I didn't need fast-cgi. I bought it because i thought maybe in the future my site becomes busy then i wont have to contact sibsoft to install it.

So i didn't notice a difference because i only have a total of 10 users using my site and maybe only 1 or 2 users at the same time.

My site is working now. The problem was the .htaccess file. I fixed the htaccess file and now my website is working good again.

if you move the website to a new server do you need to re-configure fastcgi on the server? or is fast-cgi installed inside the xfilsharing script?

because now my website is working so should i contact them in re-install fast-cgi?or is the fast-cgi installed already?

User avatar
sib-fan87
Posts: 33
Joined: Jan 04, 2022 8:37 pm

Re: How to re-install FastCGI?

#4 Postby sib-fan87 » Oct 08, 2023 9:25 pm

I looked in the admin settings and there is a section that tells you if fastcgi is running or not
fast-cgi.jpg
fast-cgi.jpg (4.06 KiB) Viewed 958 times
I guess you need to re-install fastcgi when you move hosts as my site says its not running anymore

i will have to contact them to re-install it but it's not a priority since my website is running fine without it.

verzing
Posts: 174
Joined: Mar 02, 2011 7:00 pm

Re: How to re-install FastCGI?

#5 Postby verzing » Oct 09, 2023 12:19 am

sib-fan87 wrote: Oct 08, 2023 9:25 pm I looked in the admin settings and there is a section that tells you if fastcgi is running or not

fast-cgi.jpg

I guess you need to re-install fastcgi when you move hosts as my site says its not running anymore

i will have to contact them to re-install it but it's not a priority since my website is running fine without it.
Are you still able to access to old server?

User avatar
sib-fan87
Posts: 33
Joined: Jan 04, 2022 8:37 pm

Re: How to re-install FastCGI?

#6 Postby sib-fan87 » Oct 09, 2023 12:32 am

Yes. We still have access to the root server using recovery mode.

arunpc4u
Posts: 5
Joined: Jun 18, 2019 12:50 pm

Re: How to re-install FastCGI?

#7 Postby arunpc4u » Oct 09, 2023 8:06 am

its easy! just follow the instructions!

verzing
Posts: 174
Joined: Mar 02, 2011 7:00 pm

Re: How to re-install FastCGI?

#8 Postby verzing » Oct 09, 2023 9:43 am

arunpc4u wrote: Oct 09, 2023 8:06 am its easy! just follow the instructions!
Would you share the instructor how to install it?

verzing
Posts: 174
Joined: Mar 02, 2011 7:00 pm

Re: How to re-install FastCGI?

#9 Postby verzing » Oct 09, 2023 4:24 pm

sib-fan87 wrote: Oct 09, 2023 12:32 am Yes. We still have access to the root server using recovery mode.
I think they installed on server. Maybe you need to copy it to new server as well.

User avatar
sib-fan87
Posts: 33
Joined: Jan 04, 2022 8:37 pm

Re: How to re-install FastCGI?

#10 Postby sib-fan87 » Oct 09, 2023 10:09 pm

sibsoft has not provided instructions on how to install it.

Does anyone know what directory the fastcgi files are stored?

verzing
Posts: 174
Joined: Mar 02, 2011 7:00 pm

Re: How to re-install FastCGI?

#11 Postby verzing » Oct 10, 2023 3:42 am

sib-fan87 wrote: Oct 09, 2023 10:09 pm sibsoft has not provided instructions on how to install it.

Does anyone know what directory the fastcgi files are stored?
So you only have few users and your site is new. Will you let me access to your old server?

verzing
Posts: 174
Joined: Mar 02, 2011 7:00 pm

Re: How to re-install FastCGI?

#12 Postby verzing » Oct 10, 2023 9:41 pm

Contact Sibsoft and ask them to reinstall for you.

User avatar
sib-fan87
Posts: 33
Joined: Jan 04, 2022 8:37 pm

Re: How to re-install FastCGI?

#13 Postby sib-fan87 » Oct 11, 2023 3:26 am

The website is maybe 2 years old. It doesn't have many active users. Maybe 10
It's not easy to make it popular. You need to have lots of money and lots of storage and most important a team to keep it working.

We can't afford to hire a team.

I will contact sibsoft to re-install it in the future. For now it's not priority since i would have to pay again to re-install it.

Maybe if it gets busy i will get fast-cgi re-installed by sibsoft but for now the website is working great without fast-cgi.

The mod is not necessary if you don't have many users. Sibsoft wrote that in the description that it's only needed if you have many users.

It might be useful in the future if we get busier. We use xfilesharing to host pictures on our blog and not so much to let users upload unlimited files.