Jakira
(Nishantha)
December 6, 2019, 3:47pm
1
I have installed discourse & when I log into admin panel I can see free space is 4.7 GB which seems quite small to me. Server is host in my local machine & I have 50 GB total my current disk drive.
I have another disk which is 50GB which can be mounted to any folder.
How can I increase it?
[ Backups]
257.1 MB (4.7 GB free)
3 backups on Local Storage
Latest: 13 hours ago
Uploads
9.4 MB (4.7 GB free)
2 Likes
Jakira
(Nishantha)
December 6, 2019, 3:49pm
2
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 798M 18M 781M 3% /run
/dev/sda1 52G 44G 4.7G 91% /
tmpfs 3.9G 1.2M 3.9G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sdb1 20G 8.5G 11G 46% /var/lib/docker
/dev/sda3 50G 138M 47G 1% /var/discourse/shared/standalone2
tmpfs 798M 32K 798M 1% /run/user/108
tmpfs 798M 0 798M 0% /run/user/1000
none 20G 8.5G 11G 46% /var/lib/docker/aufs/mnt/a7bca0843583fb5792ba29b4eab614e6b5cfab58b3b1f0ce69d2da7dde8f8f53
shm 512M 8.0K 512M 1% /var/lib/docker/containers/1e96d5d7adc41e50848903da415b8e664538cfb6cf7ff84e0f933d0944921578/shm
pfaffman
(Jay Pfaffman)
December 6, 2019, 3:50pm
3
cd /var/discourse
./launcher cleanup
3 Likes
Jakira
(Nishantha)
December 6, 2019, 3:50pm
4
@pfaffman
Can’t I add more disk space?
pfaffman
(Jay Pfaffman)
December 6, 2019, 3:51pm
5
Probably, but Discourse can’t do that.
Is there a reason not to delete unused docker images and containers?
Oh, sorry. You could edit app.yml
volumes:
- volume:
host: /some/other/path/standalone
guest: /shared
- volume:
host: /var/discourse/shared/standalone/log/var-log
guest: /var/log
3 Likes
Jakira
(Nishantha)
December 6, 2019, 3:52pm
6
what will do ./launcher cleanup action. from where it delete files?
Jakira
(Nishantha)
December 6, 2019, 3:55pm
7
pfaffman:
./launcher cleanup
can I use /var/discourse/shared/standalone2
since I have newly mapped drive?
what actions should I take after this change in app.yml
Jakira
(Nishantha)
December 6, 2019, 5:36pm
8
This worked.
But it is a new site. I had to restore from old.
Thanks @pfaffman
2 Likes
system
(system)
Closed
January 5, 2020, 5:47pm
9
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.