I have a 503 error


#1

Hello,

first of all, i'm learning english, so sorry if you find some error :slight_smile:

I write you today because since some days, I have a problem with my owncloud server... When I go to my Home page: http://fabian-cloud.ddns.net, everythings is normal but when I go to the Owncloud application or http://fabian-cloud.ddns.net/owncloud, I have an error:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache/2.4.10 (Univention) Server at fabian-cloud.ddns.net Port 80

I don't know how it's possible because I didn't change anythings... And because I'm not strong, I don't know what to do :cry:
That's why I come to you today :slight_smile:

Who can help me?


#2

Hi,

In order to help you information about your setup is needed, please fill this out as much as possible:

Steps to reproduce

1.
2.
3.

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Server configuration

Operating system:

Web server:

Database:

PHP version:

ownCloud version: (see ownCloud admin page)

Updated from an older ownCloud or fresh install:

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or 

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Operating system:

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

#3

Hello,

thanks for answer.

1)Expected behaviour
When i go to http://fabian-cloud.ddns.net/owncloud/, icould go on the usually owncloud webpage
2) Actual behaviour
i have this error message: 503 service unavaible
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Apache/2.4.10 (Univention) Server at fabian-cloud.ddns.net Port 80

3)Server configuration
3.1)Debian 64bit
3.2)Apache
3.3)Unknown (I don't know what it is but I can say that I use UCS System. In did, I downloaded the Applicance with virtual box to the official website)
3.4)Unknown but it should be a recent version because I only had install Owncloud for 3 months
3.5)10.0.3
3.6)Like I said earlier, It's a recent install ( at about 3 months)
3.7)from the official website: https://owncloud.org/download/ I downloaded the appliance with VirtualBox
3.8)Can you tell me more explication? I login as admin in my shell and what should I do?
3.9)When I put config/config.php, it says that there is no file or folder with this name
3.10)When I put the "sudo -u www-data php occ app:list" command, it says that it could not open input file: occ
3.11)no I don't use an external stockage but i use VirtualBox
3.12) I don't think I'm using encryption (i didn't do something like that)
3.13) Like top, I don't beleave. I just installed my owncloud and didn't do anything after
4)Client configuration
4.1)Google Chrome
4.2) Windows 7 and my phone (android 6.0)


#4

I found somethings new: when I go to graphic admin page and that I go to the System software, I have a pop up where it says:

Update notes
The update is being executed.

Leave the system up and running at any moment during the update!

It is expected that the system may not respond (via web browser, SSH, etc.) during a period of up to several minutes during the update as services are stopped, updated, and restarted.

But it strange because it will be at about 1 week i have this problem and that my computer turn 24/24h 7/7days

EDIT: ok I really think that the problem is that: It says that its doing an update but like I said, It will be at about 1 week I have this problem. Do you know how to resolve that?


#5

It would be helpful to get the log files from your server.

You have to connect to your server, then execute this command:

univention-app shell owncloud

That get's you in the owncloud docker container.

Then you can do a "cat" on the log file

cat /var/lib/univention-appcenter/apps/owncloud/data/files/owncloud.log

There you can look for the reason of your problems.


#6

Hello,
first, thanks to take time for me :slight_smile:

secondly, when I put the first command, I have an error:

after when I put the second command like this:

My shell shows a lot of things and it never stops:

What can I do?


#7

EDIT: I puted sudo before the first command and the error disepeard!!!

But There is always the same thing for the second command...


#8

Can you download the log file and upload it somewhere?


#9

You want that I copy all what it says in the shell?

But how can I do that? I'm using Debian without Graphic Interface, so I don't really know how to copy that....

Can we speak in private? I could give you remote access if you have time and mostly, if you want!


#10

Ok I think I know what's the problem!

I checked the log file and I found a lot of line where it says "no space left" so I checked the size on my VirtualBox settings and in did, the disk has 46,5/50 GB used. So now, I'm looking for increase the size of the disk. I'll tell you if it was that :slight_smile:


#11

can you increase the size?