[Solved] Can't login, Can't Edit 'cloudconfig.php'

I’ve just spun up an Ubuntu OVF install of FileCloud on Ubuntu 22.04.2 LTS.

However, I’m a bit stuck.

I attempted to login to the Admin web interface but the login process stalls and does not complete.

Reading the forum it looks like the solution to this is to modify the ‘/var/www/html/config/cloudconfig.php’ file and change the ‘define(“TONIDOCLOUD_SECURE_COOKIE”, 1);’ option to 0.

The problem with this is that I currently only have command line access to the FC Ubuntu server and the only user which I am able to log in as is ‘cloud’, which does not have enough permissions to make the required modifications.

I have attempted to log in as ‘admin’ on the server console, but this doesn’t work and I can’t find the default ‘root’ password.

I am also unable to run the ‘unminimize’ command because again, the ‘cloud’ user doesn’t have permissions.

So at this point I am stuck in a very small corner and can’t get out! :slight_smile:

Where to from here?

Sam.

Ok, the answer came to me after I went to bed and it was a Linux newbie mistake :slight_smile:

I needed to ‘sudo’ the vi edit command to allow me to modify the cloudconfig.php file.

File edited, login achieved.

1 Like