OperationalError at /admin/login database or disk is full

81 views
Skip to first unread message

Andrew Rea

unread,
May 27, 2022, 9:36:20 PM5/27/22
to Django users
Hello!

This is my first post in this group so be gentle. 

I'm creating a new Django project, and I've successfully created a superuser. But when I try to access the Admin page of my project with my superuser credentials, I receive this error:

OperationalError at /admin/login/ 
database or disk is full

Is this because my SQLite database is full from other projects? Or possibly because I have too many virtual envs from those same other projects? Or is it due to my personal computer's disk being too full?

Thank you in advance,

Andrew S. Rea

Clive Bruton

unread,
May 27, 2022, 10:15:21 PM5/27/22
to django...@googlegroups.com

On 27 May 2022, at 22:37, Andrew Rea wrote:

> OperationalError at /admin/login/
> database or disk is full
>
> Is this because my SQLite database is full from other projects? Or
> possibly because I have too many virtual envs from those same other
> projects? Or is it due to my personal computer's disk being too full?

I wouldn't bet on it, but I suspect that you do not have the correct
permissions to write to the database. Because your HD really isn't
full, is it?


-- Clive

Paul Kudla (SCOM.CA Internet Services Inc.)

unread,
May 28, 2022, 10:36:08 AM5/28/22
to django...@googlegroups.com

ok i will assume you are running a flavor of unix aka linux, freebsd etc

/admin/login is a mount point but it depends on your hdd layout

for example depending on your hdd initalization


# df
Filesystem Size Used
Avail Capacity Mounted on
zroot/ROOT/default 393G 3.3G
389G 1% /
devfs 1.0K 1.0K
0B 100% /dev
zroot/var/tmp 389G 96K
389G 0% /var/tmp
zroot/tmp 389G 136K
389G 0% /tmp
zroot/var/log 389G 1.4M
389G 0% /var/log
zroot 389G 96K
389G 0% /zroot
zroot/var/mail 389G 148K
389G 0% /var/mail
zroot/usr/src 391G 1.7G
389G 0% /usr/src
zroot/var/audit 389G 96K
389G 0% /var/audit
zroot/usr/ports 399G 9.4G
389G 2% /usr/ports
zroot/usr/home 431G 42G
389G 10% /usr/home
zroot/var/crash 389G 96K
389G 0% /var/crash

when you do s 'df' to list you hdd's it will give you the partition
layouts and avaliable hdd space

if /admin/login is on it own partition then it probably has reduced size?

check that first

make sure you data base is running where there is plenty of space (ie /usr/)

otherwise post back your hdd layout

and do a

ps -axww

and return the process layouts

between the two you should be able to figure out where your database,
dhango etc lives and go from there

keep in mind that default locations usually work but sometimes not
pending how your system was formatted.





Happy Saturday !!!
Thanks - paul

Paul Kudla


Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street South
Whitby, Ontario - Canada
L1N 4S3

Toronto 416.642.7266
Main 1.866.411.7266
Fax 1.888.892.7266
Email pa...@scom.ca

On 5/27/2022 5:37 PM, Andrew Rea wrote:
> Hello!
>
> This is my first post in this group so be gentle.
>
> I'm creating a new Django project, and I've successfully created a
> superuser. But when I try to access the Admin page of my project with my
> superuser credentials, I receive this error:
>
> OperationalError at /admin/login/
> database or disk is full
>
> Is this because my SQLite database is full from other projects? Or
> possibly because I have too many virtual envs from those same other
> projects? *Or* is it due to my personal computer's disk being too full?
>
> Thank you in advance,
>
> Andrew S. Rea
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users...@googlegroups.com
> <mailto:django-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d96ae214-4c6f-43c7-ae94-7fba910e68a1n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/d96ae214-4c6f-43c7-ae94-7fba910e68a1n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
Reply all
Reply to author
Forward
0 new messages