Unable to Access FileCloud Admin Panel on AWS Instance Installation - Support Request

Dear FileCloud Community Support Team,

I hope this message finds you well. I am writing to seek assistance with an issue I am facing while attempting to access the FileCloud admin panel on my AWS instance installation.

Use Case Details:

  1. AWS Instance Information:
  1. Problem Description: After successfully launching the FileCloud AMI on AWS, I am encountering difficulties while trying to log in to the FileCloud admin panel using the provided default credentials. I have attempted to access the admin panel using the following URL: FileCloud. However, the login process does not proceed further, and I am unable to access the admin panel.
  2. Steps Taken:
  • Verified the provided instance ID as the password for the admin account.
  • Restarted the EC2 instance and attempted to log in again with the correct credentials.
  • Checked the EC2 instance’s status and network configuration, which appears to be normal.
  • Verified that the FileCloud AMI has been launched successfully.
  1. Expected Outcome: I expect to be able to log in to the FileCloud admin panel successfully using the default credentials provided (Username: admin, Password: [AWS Instance ID]).
  2. Additional Information:
  • Operating System: [Please specify the operating system used by the AMI, e.g., Ubuntu, CentOS]
  • AMI Region: [Please specify the AWS region where the AMI was launched, e.g., us-east-2]

I would greatly appreciate your support in resolving this issue and enabling access to the FileCloud admin panel. As I am new to FileCloud, any detailed steps or guidance you can provide would be immensely helpful. If there are any specific logs or configurations you require, please let me know, and I will be happy to provide them.

Thank you for your time and attention to this matter. I am looking forward to your prompt response and assistance.

Sincerely,

Hi @stomar78,

Open the configuration file cloudconfig.php which will under the following path:

/var/www/html/config/cloudconfig.php

Check for the following line:

define(“TONIDOCLOUD_SECURE_COOKIE”, 1);
Please change the value to 0 and save the file.

Then you should be able to login to admin portal.

Then please check and confirm, if the Disable IP check option is disabled from your end. It can be checked as follows:

  1. Log into Admin Portal
  2. From the left navigation panel, select SETTINGS and then Misc and then General
  3. On the Settings screen, select the Misc. tab, and then the General sub tab.
  4. Check for Disable IP Check, select the checkbox to disable the IP check on every request. Then save the changes. This allows you to avoid IP comparison on cookies.

If you find any difficulty, kindly let us know.

Happy to help

I made the change and saved it and after that i am trying to load the filecloud server at the following address .
https://ec2-3-133-145-184.us-east-2.compute.amazonaws.com/admin

user id - admin
password - i-0de9d7f2abb191bdc

getting the following error

This site can’t provide a secure connection

ec2-3-133-145-184.us-east-2.compute.amazonaws. com sent an invalid response.

  • [Try running Windows Network Diagnostics](javascript:diagnoseErrors()).

ERR_SSL_PROTOCOL_ERROR

i checked some articles and tried to fix the issue with nginx service. stopped the apache2 server and made change the port to 8080 from 80 in default file for nginx as it may be a conflict with apache2 to use the same port.

restarted apache2 and nginx service

at the following address
http://ec2-3-133-145-184.us-east-2.compute.amazonaws.com: 8080/

here is the msg

Welcome to nginx!

If you see this page, the nginx web server is successfully installed and working. Further configuration is required.

For online documentation and support please refer to [nginx. org](http : //nginx. org/).
Commercial support is available at [nginx. com](http :// nginx. om/).

Thank you for using nginx.

How to resolve this to login in filecloud server to proceed further.

Hello @stomar78,

Upon checking, I could see that now both Admin Portal and the User Portal can be accessible successfully. I also tried to login into the Admin Portal using the provided details and everything seems to be working fine now.

Kindly find the attached screenshots for your reference on this.


Admin Portal URL: FileCloud
or
FileCloud

User Portal URL: FileCloud
or
http://ec2-3-133-145-184.us-east-2.compute.amazonaws.com

Kindly try to clear the browser cache and cookies then give a try to access the above URLs. You can also try to access them in the incognito mode of the web browser.

mine one is only like this. I removed that instance and again did the complete exercise.

New address is http://ec2-43-205-142-65.ap-south-1.compute.amazonaws.com/

and instance is i-024a0c92e7f905768

Still same. I am not able to figure it out. now i am not using secured server as well.

Hi,

Kindly provide us with the following details:

  1. Please provide us the cloudconfig.php file which you can find at path /var/www/html/config/cloudconfig.php
  2. Apache webserver log
  3. FileCloud server log

Apache log from the following path Linux: /var/log/apache2

Please reproduce the error again with server logs

Linux: /var/www/scratch/logs/log_YYYY-MM-DD.txt (in Ubuntu 14.04 and later
          /var/www/html/scratch/logs/log_YYYY_MM_DD.txt)

You can upload them here: FileCloud

If you find any difficulty, kindly reach out to us.

I have shared all the files, cloudconfig.php was not allowed to upload so i converted it to text file.

Having the same problem using AWS. Cannot login as admin with user name as admin, and “Instance ID” as password.

1 Like

Hello @seanfitzthum ,

Can you describe what happens when you attempt to log in?

1 Like

Exactly the same as was described and pictured above. When I try to log in, it just seems to be loading, but never gives an error and never logs in.

1 Like

Hey @seanfitzthum ,

Is this after changing the value of TONIDOCLOUD_SECURE_COOKIE to 0?
As a reminder :

Open the configuration file cloudconfig.php which will be under the following path:

/var/www/html/config/cloudconfig.php

Check for the following line:

define(“TONIDOCLOUD_SECURE_COOKIE”, 1);
Change the value to 0 and save the file.

I can’t access that file on AWS. I get permission denied.

Anyone else able to get through this on AWS. Seems like a pretty common issue.

1 Like

Hello @herky873

Please try to access the file as root user or using sudo user.

Hi everybody, I am getting the same issue with the following error:


I cannot even login to apply the license

Hi @stomar78,

Thank you for the details.

As per the error log it looks like password details are incorrect.

ERROR: [16905740798654] adminlogin error: Incorrect username or password.
We will check this for you.

Kindly let us know the following details:

  1. Let us know the current FileCloud URL and the login details used for your admin portal.

  2. Enable the debug mode in the cloudconfig.php which you can find at path /var/www/html/config/cloudconfig.php as follows:

Locate the following line in cloudconfig.php file:
// … Advanced Settings
define(“TONIDOCLOUD_OP_MODE”, “PROD” ); // < VALID values are DEV | PROD
change the value PROD to DEV and save the changes.

  1. Please provide us the cloudconfig.php file once after making above changes

  2. Previously provided error log do not have much information since the DEV mode was not enabled. Kindly provide us the Apache log and FileCloud Server Log once after enabling the DEV mode as guided above

Please reproduce the error again by trying to login into your admin portal with DEV mode enabled from the cloudconfig.php

Apache log from the following path Linux: /var/log/apache2
Linux: /var/www/scratch/logs/log_YYYY-MM-DD.txt (in Ubuntu 14.04 and later
          /var/www/html/scratch/logs/log_YYYY_MM_DD.txt)

You can share all the above requested details here: FileCloud

Hi @Bakr,

Open the configuration file cloudconfig.php which will under the following path:

/var/www/html/config/cloudconfig.php

Check for the following line:

define(“TONIDOCLOUD_SECURE_COOKIE”, 1);
Please change the value to 0 and save the file.

If you are unable to find this line then kindly add it in cloudconfig.php file as follows then save the changes.
define(“TONIDOCLOUD_SECURE_COOKIE”, 0);

Also kindly make sure that you are trying to login to the Admin Portal at the right URL.

Just for an example:
Admin portal: http://127.0.0.1/admin
User Portal: http://127.0.0.1/ui/core/index.html

I have the same issue and I cannpt figure out why the file is locked as Read Only. I am logged in as Root.

Hi @ScottyMc,

Could you please provide us more details on your concern?

Let us know which file you are seeing as read only and provide us the screenshot of it.
Also provide us the complete screenshot and error message of the issue that you are experiencing from your end.

You can upload the details here: https://zerg.codelathe.com/url/eji3npna4gvruebz