Disk Full, Git repository doesn't exist

Hi. My project’s disk space is full and I am not entirely sure how to fix it. I’ve tried running git prune and git gc but it says
fatal: Not a git repository (or any parent up to mount point /app) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

I use sqlite and from reading posts about similar issues I understand that I need to gitignore the sqlite files, but when i try to edit my .gitignore file, the project reconnects and I am unable to edit it.

The project name is os-robo

1 Like

Can you try running ls -laSh and pasting it in a code block? Example:

total 74K
-rw-r--r-- 1 David 197121  17K Feb 18 13:37 package-lock.json
-rw-r--r-- 1 David 197121 2.0K Feb 19 09:52 README.md
-rwxr-xr-x 1 David 197121 1.4K Feb 18 19:48 cli.js*
-rw-r--r-- 1 David 197121 1.2K Feb 18 13:43 generator.js
-rw-r--r-- 1 David 197121 1.1K Feb 18 21:02 LICENCE.MD
-rw-r--r-- 1 David 197121  890 Feb 19 09:36 parser.js
-rw-r--r-- 1 David 197121  798 Feb 19 09:54 package.json
-rw-r--r-- 1 David 197121  755 Feb 18 20:07 index.js
-rw-r--r-- 1 David 197121  502 Feb 18 13:46 test.js
-rw-r--r-- 1 David 197121   14 Feb 18 20:59 .gitignore
drwxr-xr-x 1 David 197121    0 Feb 18 21:02 ./
drwxr-xr-x 1 David 197121    0 Feb 20 20:05 ../
drwxr-xr-x 1 David 197121    0 Feb 19 10:30 .git/
drwxr-xr-x 1 David 197121    0 Feb 18 13:37 node_modules/

As many times, the sqlite file isn’t always the problem.

This same thing happened to me, and when this happens, I can usually access the console.

2 Likes
-rw-r--r--  1 app  app   62K Feb 10 02:50 server.js
-rw-r--r--  1 app  app   48K Feb 21 02:22 shrinkwrap.yaml
-rw-r--r--  1 app  app   12K Nov 21 04:16 .glitch-assets
-rw-rw-r--  1 app  app  4.4K Oct 13  2019 avatar_31417.png
drwxr-xr-x  1 root root 4.0K Feb 21 13:44 ..
-rw-------  1 app  app  3.4K Feb 21 02:59 .bash_history
drwxr-xr-x 10 app  app  1.0K Feb 22 00:27 .
drwxr-xr-x  3 app  app  1.0K Oct  3 08:52 .cache
drwxr-xr-x  2 app  app  1.0K Jul 12  2019 commands
drwxr-xr-x  3 app  app  1.0K Jul  5  2019 .config
drwxr-xr-x  2 app  app  1.0K Feb 21 10:53 .data
drwxr-xr-x  2 app  app  1.0K Jan  1  1970 .git
drwxr-xr-x  2 app  app  1.0K Feb  9 20:49 old
drwxr-xr-x  6 app  app  1.0K Jan  1 10:18 public
drwxr-xr-x  2 app  app  1.0K Dec 11  2019 temp
-rw-r--r--  1 app  app   898 Jan  2 03:21 .env
-rw-rw-r--  1 app  app   639 Dec 16 21:21 package.json
-rw-r--r--  1 app  app   418 Jul  9  2020 new.js
-rw-r--r--  1 app  app   145 Feb 10 02:50 watch.json
lrwxrwxrwx  1 app  app    33 Feb 21 02:22 node_modules -> /rbd/pnpm-volume/app/node_modules
lrwxrwxrwx  1 app  app    14 Nov  2  2018 .node-gyp -> /tmp/.node-gyp
-rw-r--r--  1 app  app     0 Feb 21 02:15 gitignore

I am now gettting

Error: SQLITE_FULL: database or disk is full

12:52 AM

Emitted 'error' event at:

in the project logs, before I wasn’t getting any error

What is the name of your DB file? Can you run du -sh FILE replacing FILE with your database file?

1 Like

26M ./.data/sqlite.db

@aboutDavid @RiversideRocks I got this from running du -shc .[!.]* *

4.0K    .bash_history
162M    .cache
5.0K    .config
26M     .data
1.0K    .env
1.0K    .git
12K     .glitch-assets
0       .node-gyp
5.0K    avatar_31417.png
1.0K    commands
0       gitignore
1.0K    new.js
0       node_modules
52K     old
1.0K    package.json
38K     public
63K     server.js
49K     shrinkwrap.yaml
1.0K    temp
1.0K    watch.json
188M    total

looks like its all mostly in .cache, what can I do about this?

Problem with disk space resolved, Editing and Reconnecting :( (I just deleted the .cache folder) but now my discord bot isn’t starting :thinking:

Thanks!

3 Likes