00:19
harish has quit [Ping timeout: 268 seconds]
00:19
ShalokShalom has quit [Read error: Connection reset by peer]
00:52
seth-tcdc has joined #sandstorm
00:54
<
seth-tcdc >
Hi, apologies if this is obvious and I missed it. I am getting a "Failed to install app connect ECONNREFUSED" error when I try to install anything on the sandstorm server I am trying to set up. The sandstorm server itself is up and running, but I can't install any apps on it.
00:56
`Ishq has left #sandstorm ["WeeChat 1.0.1"]
00:57
<
dwrensha >
seth-tcdc: is the server behind some kind of proxy?
00:58
<
seth-tcdc >
it is, but I've it has an exemption that appears to be working (ie, curl, wget, apt all work)
01:02
<
dwrensha >
hm. I wonder if those things working depends on some kind of configuration in /etc/ that doesn't get copied over to Sandstorm
01:03
<
dwrensha >
The Sandstorm server containerizes itself, so it does not see the /etc/ of the system its running on. It does try to be intelligent about grabbing what configuration it might need
01:03
<
dwrensha >
yeah, that's what I would expect
01:03
<
dwrensha >
your server has outgoing network problems
01:04
<
seth-tcdc >
so is there a place I need to add proxy details?
01:04
Zarutian has joined #sandstorm
01:06
<
seth-tcdc >
actually, it doesn't seem to be working.. while the apps can install, the grains do not initialize.
01:09
<
dwrensha >
I guess maybe your WILDCARD_HOST isn't working either?
01:14
<
seth-tcdc >
it seems to be
01:14
<
seth-tcdc >
randomstring.servername.domain.tld is resolving correctly
01:16
<
seth-tcdc >
I added my proxy details to /etc/systemd/system/sandstorm.service
01:18
<
seth-tcdc >
and restarted systemmd and sandstorm, I can now download apps and install them.. but they still wont run
01:19
<
dwrensha >
anything in /opt/sandstorm/var/log/sandstorm.log?
01:19
harish has joined #sandstorm
01:19
<
dwrensha >
anything in the browser console?
01:19
<
dwrensha >
anything in the grain log?
01:23
<
seth-tcdc >
"Blocked illegal cross-origin referral from..."
01:23
<
seth-tcdc >
there is a whole bunch of 403 errors in the browser console
01:24
harish has quit [Ping timeout: 260 seconds]
01:24
<
dwrensha >
heh. is your WILDCARD_HOST as subdomain of your BASE_URL?
01:27
<
seth-tcdc >
BASE_URL=http://servername.domain.tld.nz:6080
01:27
<
seth-tcdc >
WILDCARD_HOST=*.servername.domain.tld.nz:6080
01:28
<
dwrensha >
I would expect that to work
01:35
<
seth-tcdc >
where is the grain log?
01:35
harish has joined #sandstorm
01:37
<
dwrensha >
usually you can click on "show debug log" (the computer icon" on the topbar while visiting a grian
01:37
<
dwrensha >
that button might not be there if grains are failing to load
01:38
<
dwrensha >
on the filesystem, the grain log with be at /opt/sandstorm/var/sandstorm/grains/<grainId>/log
01:38
<
seth-tcdc >
Oddly, I can get the grains working if I click the urls in the error messages
01:38
pie_ has quit [Ping timeout: 260 seconds]
01:39
<
dwrensha >
do they open in new browser tabs?
01:39
<
seth-tcdc >
yes. without the portal.
01:40
<
dwrensha >
weird. so something about the iframe is causing a problem
01:42
<
dwrensha >
what browser are you using?
01:45
<
seth-tcdc >
I just tried in ie, same issues.
01:46
pie_ has joined #sandstorm
01:46
<
seth-tcdc >
I am using chrome
01:46
<
seth-tcdc >
Version 57.0.2987.98 (64-bit)
01:58
<
seth-tcdc >
I have tried resetting the server
01:58
<
seth-tcdc >
*rebooting
02:01
michaelw has quit [Remote host closed the connection]
02:11
<
dwrensha >
(in private chat seth-tcdc and I deduced that the problem was that BASE_URL had some capital letters)
02:13
<
seth-tcdc >
thanks!
02:37
pie_ has quit [Ping timeout: 240 seconds]
02:38
afuentes has joined #sandstorm
02:43
michaelw has joined #sandstorm
02:44
wolcen has quit [Quit: Leaving]
02:44
wolcen has joined #sandstorm
03:03
harish has quit [Ping timeout: 246 seconds]
03:06
Jan\ has quit [Ping timeout: 260 seconds]
03:11
griff_ has joined #sandstorm
03:20
Triplefox has quit [Ping timeout: 256 seconds]
03:29
Triplefox has joined #sandstorm
03:39
griff_ has quit [Quit: griff_]
03:41
afuentes has quit [Ping timeout: 240 seconds]
03:47
Zarutian has quit [Quit: Zarutian]
04:17
harish has joined #sandstorm
05:08
harish has quit [Ping timeout: 240 seconds]
05:41
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:34
jemc has joined #sandstorm
07:02
jemc has quit [Ping timeout: 268 seconds]
09:01
harish has joined #sandstorm
09:08
guido[m] has left #sandstorm ["Kicked by @appservice-irc:matrix.org"]
09:09
Zertrin[m] has left #sandstorm ["Kicked by @appservice-irc:matrix.org"]
10:59
testoi has joined #sandstorm
10:59
testoi has quit [Client Quit]
11:10
afuentes has joined #sandstorm
11:29
cevi has joined #sandstorm
12:41
prettyvanilla has quit [Read error: Connection reset by peer]
12:46
prettyvanilla has joined #sandstorm
13:42
CcxWrk has quit [Ping timeout: 260 seconds]
13:46
CcxWrk has joined #sandstorm
13:52
Zarutian has joined #sandstorm
14:02
<
astuce >
since 204 i have this error : Error: Backup failed: Error: Internal server error [500]
14:15
CcxWrk has quit [Ping timeout: 258 seconds]
14:22
Zarutian has quit [Quit: Zarutian]
14:29
CcxWrk has joined #sandstorm
15:08
<
dwrensha >
astuce: do you see anything interesting in /opt/sandstorm/var/log/sandstorm.log?
15:10
jemc has joined #sandstorm
15:10
<
astuce >
sandstorm/util.c++:56: failed: open(name.cStr(), flags, mode): Permission denied; name = metadata
15:25
<
dwrensha >
what are the filesystem permissions on that file?
15:25
<
dwrensha >
"ls -l /opt/sandstorm/var/sandstorm/grains/<grainId>/"
15:26
<
dwrensha >
hm... I guess there is not actually a file named "metadata" usually
15:26
<
dwrensha >
oh, I guess it gets created in the course of a backup
15:28
<
dwrensha >
astuce: did backups work before v204?
15:29
<
dwrensha >
but I'm not sure how
15:30
<
astuce >
-rw------- 1 sandstorm sandstorm 352351 mars 15 16:29 log
15:30
<
astuce >
drwxr-x--- 4 sandstorm sandstorm 4096 févr. 3 12:49 sandbox
15:30
<
astuce >
srwxrwx--- 1 sandstorm sandstorm 0 mars 15 14:16 socket
15:31
<
astuce >
yeah before 204 it worked well
15:32
<
astuce >
i restored a backup of 202 it works well, the weird thing is that i disabled autoupdates by setting "none" instead of "dev" in /opt/sandstorm/sandstorm.conf and it updates anyway...
15:33
<
astuce >
yeah i saw that commit, i think its that
15:34
rolig has quit [Ping timeout: 240 seconds]
15:35
harish has quit [Ping timeout: 240 seconds]
15:37
rolig has joined #sandstorm
15:38
harish has joined #sandstorm
15:44
dcb has quit [Ping timeout: 240 seconds]
15:44
<
dwrensha >
astuce: does your system have a file named /proc/sys/kernel/unprivileged_userns_clone ?
15:44
<
dwrensha >
and if so, what are its contents?
15:45
Jan\ has joined #sandstorm
15:45
<
astuce >
yes i do, 1 inside
15:46
<
dwrensha >
hm. That means unprivileged user namespaces are enabled, I think
15:46
<
dwrensha >
so that makes my theory less plausible
15:46
dcb has joined #sandstorm
15:48
<
dwrensha >
and if not, are you also on Debian Jessie?
15:50
<
astuce >
i'm not :)
15:50
<
astuce >
yeah jessie !
15:51
<
astuce >
i dont understand i have an other sandstorm instance on an other system which is the same and no issue on 204 !
15:52
<
dwrensha >
also Debian Jessie?
15:52
<
dwrensha >
did you install them at the same time?
15:53
<
astuce >
i think , the one which is working was installed one year ago so i dont rememenber but i used the official way with the script
15:53
<
astuce >
and the non working version was deployed the same way
15:54
<
astuce >
but its definitly from 204 (or 203)
15:54
<
dwrensha >
can you check the kernel versions on each machine?
15:54
<
dwrensha >
uname -a
16:23
mnutt_ has joined #sandstorm
16:51
Telesight has joined #sandstorm
17:03
bodisiw has joined #sandstorm
17:19
natea has joined #sandstorm
17:36
Jan\ has quit [Read error: Connection reset by peer]
18:09
xet7 has joined #sandstorm
18:24
jemc has quit [Ping timeout: 260 seconds]
18:35
gbraad_ has joined #sandstorm
18:36
gbraad_ has quit [Client Quit]
18:41
wolcen has quit [Ping timeout: 268 seconds]
18:43
jemc has joined #sandstorm
18:58
bodisiw has quit [Quit: Leaving]
19:06
dwrensha has quit [Quit: Lost terminal]
19:11
thekyriarchy_ has quit [Quit: WeeChat 1.7]
19:15
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:22
dwrensha has joined #sandstorm
19:31
bodisiw has joined #sandstorm
19:37
natea has quit [Remote host closed the connection]
19:51
<
dwrensha >
I don't understand it
19:51
<
dwrensha >
¯\_(ツ)_/¯
20:05
mnutt_ has joined #sandstorm
20:28
wolcen has joined #sandstorm
21:11
simonv3 has joined #sandstorm
21:12
Telesight has quit [Quit: Leaving.]
21:22
bodisiw has quit [Read error: Connection reset by peer]
21:33
wolcen has quit [Quit: Leaving]
22:04
_whitelogger has joined #sandstorm
22:05
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:02
mnutt_ has joined #sandstorm
23:07
jemc has quit [Ping timeout: 240 seconds]
23:11
cevi has joined #sandstorm
23:16
jemc has joined #sandstorm
23:34
afuentes has quit [Ping timeout: 258 seconds]
23:41
mnutt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]