Comments (40)
This is what's inside sandstorm.log
vagrant@localhost:~$ tail /opt/sandstorm/var/log/sandstorm.log
Migrations already applied: 29/30
Applying migration 30
Applied migration 30
Downloading app: https://app-index.sandstorm.io/packages/8a2795a116178e825cc232b2c8e30520
App ready: 8a2795a116178e825cc232b2c8e30520
fetching keybase B86C836B17E856566A206C069AA232D6F1C7C38E
fetching keybase B86C836B17E856566A206C069AA232D6F1C7C38E
** Accepted new dev session connection...
** Accepted new dev session connection...
** Accepted new dev session connection...
from ampache-sandstorm-prototype.
from ampache-sandstorm-prototype.
For more details, this is from my Chrome console:
Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAJd6ABIAAAABdegAAAAAAACWIAAAAVoAAAKDAAAAA…SYUnjpYfcSDw49uhYFPVe8dHZcYGS7Cfk4MMJ7zwjznvGw3PMA2Oo6+tf/wpSdPlSR/ADe7uPx' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAKD5ABIAAAABjrQAAAAAAACfoAAAAVkAAAKCAAAAA…mFlx52L/Hg0KNrUdBzxUtnxwVGtpuQjwMjvPeMMO8ZD8s9D4CtrqN//S9M2ek/FckP9vfjlA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIt0ABEAAAABQDwAAQABAAAAAAAAAAAAAAAAAAAAA…CwKGBmIIpVWLACJWGwAUVjI2KwAiNEswkKAwIrswsQAwIrsxEWAwIrWbIEKAZFUkSzCxAEAisA' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI3gABIAAAABRWQAAQABAAAAAAAAAAAAAAAAAAAAA…IwnaGGIYHBlUELLMKwH6htK8MUhmKGIAYjqCImVEUgs1mBOtm1gRYpuNZmSrgAALqcEVgAAAA=' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI7kABEAAAABPbQAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAEzMABMAAAAAezAAAQAAAAAAAAAAAAAAAAAAAAAAA…1qIN4ujgYGRhaHjuSQCJCSSCAAGifAwcSjtYPxf+sGlt6NTECdrCkuALy2JpcAAVT4eScAAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIw4ABEAAAABQcAAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAJd6ABIAAAABdegAAAAAAACWIAAAAVoAAAKDAAAAA…SYUnjpYfcSDw49uhYFPVe8dHZcYGS7Cfk4MMJ7zwjznvGw3PMA2Oo6+tf/wpSdPlSR/ADe7uPx' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAKD5ABIAAAABjrQAAAAAAACfoAAAAVkAAAKCAAAAA…mFlx52L/Hg0KNrUdBzxUtnxwVGtpuQjwMjvPeMMO8ZD8s9D4CtrqN//S9M2ek/FckP9vfjlA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIt0ABEAAAABQDwAAQABAAAAAAAAAAAAAAAAAAAAA…CwKGBmIIpVWLACJWGwAUVjI2KwAiNEswkKAwIrswsQAwIrsxEWAwIrWbIEKAZFUkSzCxAEAisA' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI3gABIAAAABRWQAAQABAAAAAAAAAAAAAAAAAAAAA…IwnaGGIYHBlUELLMKwH6htK8MUhmKGIAYjqCImVEUgs1mBOtm1gRYpuNZmSrgAALqcEVgAAAA=' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI7kABEAAAABPbQAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAEzMABMAAAAAezAAAQAAAAAAAAAAAAAAAAAAAAAAA…1qIN4ujgYGRhaHjuSQCJCSSCAAGifAwcSjtYPxf+sGlt6NTECdrCkuALy2JpcAAVT4eScAAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIw4ABEAAAABQcAAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
f9af03b….js?meteor_js_resource=true:197 App authors: To understand the grain-frame in Sandstorm and how to find logs and perform troubleshooting, see:
- https://docs.sandstorm.io/en/latest/developing/path/
- https://docs.sandstorm.io/en/latest/using/top-bar/
- https://docs.sandstorm.io/en/latest/developing/troubleshooting/
When debugging, make sure you execute Javascript in the context of the 'grain-frame' IFRAME. References:
- https://stackoverflow.com/questions/3275816/debugging-iframes-with-chrome-developer-tools
- https://developer.mozilla.org/en-US/docs/Tools/Working_with_iframes
We can also provide personal assistance! Get in touch: https://sandstorm.io/community
core.js:271 undefined
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAJd6ABIAAAABdegAAAAAAACWIAAAAVoAAAKDAAAAA…SYUnjpYfcSDw49uhYFPVe8dHZcYGS7Cfk4MMJ7zwjznvGw3PMA2Oo6+tf/wpSdPlSR/ADe7uPx' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAKD5ABIAAAABjrQAAAAAAACfoAAAAVkAAAKCAAAAA…mFlx52L/Hg0KNrUdBzxUtnxwVGtpuQjwMjvPeMMO8ZD8s9D4CtrqN//S9M2ek/FckP9vfjlA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIt0ABEAAAABQDwAAQABAAAAAAAAAAAAAAAAAAAAA…CwKGBmIIpVWLACJWGwAUVjI2KwAiNEswkKAwIrswsQAwIrsxEWAwIrWbIEKAZFUkSzCxAEAisA' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI3gABIAAAABRWQAAQABAAAAAAAAAAAAAAAAAAAAA…IwnaGGIYHBlUELLMKwH6htK8MUhmKGIAYjqCImVEUgs1mBOtm1gRYpuNZmSrgAALqcEVgAAAA=' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI7kABEAAAABPbQAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAEzMABMAAAAAezAAAQAAAAAAAAAAAAAAAAAAAAAAA…1qIN4ujgYGRhaHjuSQCJCSSCAAGifAwcSjtYPxf+sGlt6NTECdrCkuALy2JpcAAVT4eScAAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/apps:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIw4ABEAAAABQcAAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
6tabs.js:295 Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
AdSYXjXZteiMxGmPPQkRFC:1 Refused to frame 'http://localhost:8000/PHP%20projects/Asheesh%20Laroia/ampache-sandstorm-prototype/login.php' because it violates the following Content Security Policy directive: "frame-src 'self' http://*.local.sandstorm.io:6080".f9af03b….js?meteor_js_resource=true:198 openSession error n(anonymous function) @ f9af03b….js?meteor_js_resource=true:198
f9af03b….js?meteor_js_resource=true:198 openSession error n(anonymous function) @ f9af03b….js?meteor_js_resource=true:198
AdSYXjXZteiMxGmPPQkRFC/:1 Refused to frame 'http://localhost:8000/PHP%20projects/Asheesh%20Laroia/ampache-sandstorm-prototype/login.php' because it violates the following Content Security Policy directive: "frame-src 'self' http://*.local.sandstorm.io:6080".2kcE9MyFJKiXziQizz3ZKuY:1 Refused to frame 'http://localhost:8000/PHP%20projects/Asheesh%20Laroia/ampache-sandstorm-prototype/login.php' because it violates the following Content Security Policy directive: "frame-src 'self' http://*.local.sandstorm.io:6080".
f9af03b….js?meteor_js_resource=true:198 openSession error n(anonymous function) @ f9af03b….js?meteor_js_resource=true:198
kcE9MyFJKiXziQizz3ZKuY:1 Refused to frame 'http://localhost:8000/PHP%20projects/Asheesh%20Laroia/ampache-sandstorm-prototype/login.php' because it violates the following Content Security Policy directive: "frame-src 'self' http://*.local.sandstorm.io:6080".g6CeowXmFw856pqhwrtbqe:1 Refused to frame 'http://localhost:8000/PHP%20projects/Asheesh%20Laroia/ampache-sandstorm-prototype/login.php' because it violates the following Content Security Policy directive: "frame-src 'self' http://*.local.sandstorm.io:6080".
cYWDHkNZAhe4TTbwZTMok2:1 Refused to frame 'http://localhost:8000/PHP%20projects/Asheesh%20Laroia/ampache-sandstorm-prototype/login.php' because it violates the following Content Security Policy directive: "frame-src 'self' http://*.local.sandstorm.io:6080".
cYWDHkNZAhe4TTbwZTMok2:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAJd6ABIAAAABdegAAAAAAACWIAAAAVoAAAKDAAAAA…SYUnjpYfcSDw49uhYFPVe8dHZcYGS7Cfk4MMJ7zwjznvGw3PMA2Oo6+tf/wpSdPlSR/ADe7uPx' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
cYWDHkNZAhe4TTbwZTMok2:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAKD5ABIAAAABjrQAAAAAAACfoAAAAVkAAAKCAAAAA…mFlx52L/Hg0KNrUdBzxUtnxwVGtpuQjwMjvPeMMO8ZD8s9D4CtrqN//S9M2ek/FckP9vfjlA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
cYWDHkNZAhe4TTbwZTMok2:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIt0ABEAAAABQDwAAQABAAAAAAAAAAAAAAAAAAAAA…CwKGBmIIpVWLACJWGwAUVjI2KwAiNEswkKAwIrswsQAwIrsxEWAwIrWbIEKAZFUkSzCxAEAisA' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
cYWDHkNZAhe4TTbwZTMok2:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI3gABIAAAABRWQAAQABAAAAAAAAAAAAAAAAAAAAA…IwnaGGIYHBlUELLMKwH6htK8MUhmKGIAYjqCImVEUgs1mBOtm1gRYpuNZmSrgAALqcEVgAAAA=' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
cYWDHkNZAhe4TTbwZTMok2:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI7kABEAAAABPbQAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
cYWDHkNZAhe4TTbwZTMok2:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAEzMABMAAAAAezAAAQAAAAAAAAAAAAAAAAAAAAAAA…1qIN4ujgYGRhaHjuSQCJCSSCAAGifAwcSjtYPxf+sGlt6NTECdrCkuALy2JpcAAVT4eScAAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
cYWDHkNZAhe4TTbwZTMok2:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIw4ABEAAAABQcAAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
from ampache-sandstorm-prototype.
from ampache-sandstorm-prototype.
Yup, you are right. I needed a different base URL for XAMPP and it causes this error when uploading the app. That one is solved but now I got Content-Security-Policy
. I need to set the Host:
header to blank and currently looking for a way to do so.
from ampache-sandstorm-prototype.
from ampache-sandstorm-prototype.
After applying $_SERVER["HTTP_X_SANDSTORM_BASE_PATH"] = ""
I got this error:
2016/08/08 19:14:38 [error] 67#0: *2 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to a member function quote() on null in /opt/app/lib/class/dba.class.php on line 134" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "45f23cf8683603b76ac5e01a9177464f.local.sandstorm.io:6080"
from ampache-sandstorm-prototype.
I don't recommend modifying $_SERVER["HTTP_X_SANDSTORM_BASE_PATH"]
by setting it to ""
. I suggest undoing that change. :)
Maybe a better question is:
Did you hard-code localhost:8000 somewhere? For example, in the nginx configuration? Or in a Ampache configuration file? Let me know specifically where you wrote it, if anywhere, so we can figure the best thing to do given the context.
from ampache-sandstorm-prototype.
Ahhh, okay, I'll check. Most of the default value is localhost:8000
from ampache-sandstorm-prototype.
Cool. Do let me know, rather than just guess, for this one; it's pretty subtle.
For what it's worth - if you're using a config file generated by Ampache while Ampache was running outside Sandstorm, I recommend instead generating a fresh one when running Ampache inside Sandstorm.
from ampache-sandstorm-prototype.
I found port 8000 in the Nginx config file. Changing the port to 6080 or blank didn't solve the problem. This is the Nginx config file:
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
# Basic Settings
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_names_hash_bucket_size 64;
server_tokens off;
server_name_in_redirect off;
include mime.types;
default_type application/octet-stream;
# Logging
access_log off;
error_log stderr;
# Prevent nginx from adding compression; this interacts badly with Sandstorm
# WebSession due to https://github.com/sandstorm-io/sandstorm/issues/289
gzip off;
# Trust the sandstorm-http-bridge's X-Forwarded-Proto.
map $http_x_forwarded_proto $fe_https {
default "";
https on;
}
server {
#listen 8000 default_server;
#listen [::]:8000 default_server ipv6only=on;
listen default_server;
listen [::]: default_server ipv6only=on;
# Allow arbitrarily large bodies - Sandstorm can handle them, and requests
# are authenticated already, so there's no reason for apps to add additional
# limits by default.
client_max_body_size 0;
server_name localhost;
root /opt/app;
location / {
index index.php;
try_files $uri $uri/ =404;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param HTTPS $fe_https if_not_empty;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
# PHP only, required if PHP was built with --enable-force-cgi-redirect
fastcgi_param REDIRECT_STATUS 200;
}
}
}
from ampache-sandstorm-prototype.
Yeah - I wouldn't recommend changing the port number here in the nginx config.
Are you using an Ampache config file that was generated from non-Sandstorm Ampache? Or generating a new one by running Ampache within Sandstorm?
from ampache-sandstorm-prototype.
I create one on my own based on the sample.
So, it will be generated on its own when we run vagrant-spk dev
?
from ampache-sandstorm-prototype.
I believe that if you leave the config file out, Ampache will run its configuration wizard, which will result in a config file you can download and then put into the app folder. Maybe you can try omitting the config file and seeing if Ampache launches it configuration wizard.
from ampache-sandstorm-prototype.
The error in javascript console goes away, but the instance fall into an endless loading.
from ampache-sandstorm-prototype.
Hmm. Did you restore the nginx config to the values generated by vagrant-spk setupvm lemp
? If not, please make sure you did that.
from ampache-sandstorm-prototype.
Yup, I already restore it. And now the content security violation error shows up again.
from ampache-sandstorm-prototype.
Can you paste the full new error here?
from ampache-sandstorm-prototype.
Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAJd6ABIAAAABdegAAAAAAACWIAAAAVoAAAKDAAAAA…SYUnjpYfcSDw49uhYFPVe8dHZcYGS7Cfk4MMJ7zwjznvGw3PMA2Oo6+tf/wpSdPlSR/ADe7uPx' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/a5jQeYARs4cXmuX8MhRM9C:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAKD5ABIAAAABjrQAAAAAAACfoAAAAVkAAAKCAAAAA…mFlx52L/Hg0KNrUdBzxUtnxwVGtpuQjwMjvPeMMO8ZD8s9D4CtrqN//S9M2ek/FckP9vfjlA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/a5jQeYARs4cXmuX8MhRM9C:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIt0ABEAAAABQDwAAQABAAAAAAAAAAAAAAAAAAAAA…CwKGBmIIpVWLACJWGwAUVjI2KwAiNEswkKAwIrswsQAwIrsxEWAwIrWbIEKAZFUkSzCxAEAisA' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/a5jQeYARs4cXmuX8MhRM9C:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI3gABIAAAABRWQAAQABAAAAAAAAAAAAAAAAAAAAA…IwnaGGIYHBlUELLMKwH6htK8MUhmKGIAYjqCImVEUgs1mBOtm1gRYpuNZmSrgAALqcEVgAAAA=' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/a5jQeYARs4cXmuX8MhRM9C:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI7kABEAAAABPbQAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/a5jQeYARs4cXmuX8MhRM9C:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAEzMABMAAAAAezAAAQAAAAAAAAAAAAAAAAAAAAAAA…1qIN4ujgYGRhaHjuSQCJCSSCAAGifAwcSjtYPxf+sGlt6NTECdrCkuALy2JpcAAVT4eScAAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/a5jQeYARs4cXmuX8MhRM9C:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIw4ABEAAAABQcAAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
http://f1e014ef2372b529f7f1e0fe7ee86cc9.local.sandstorm.io:6080/ Failed to load resource: the server responded with a status of 500 (Grain's package not installed)
f9af03b….js?meteor_js_resource=true:198 openSession error n(anonymous function) @ f9af03b….js?meteor_js_resource=true:198
f9af03b….js?meteor_js_resource=true:198 openSession error n(anonymous function) @ f9af03b….js?meteor_js_resource=true:198
prevent.user.js:52 [{"code":16,"status":false},{"code":17,"status":true}]
2prevent.user.js:52 [{"code":16,"status":true},{"code":17,"status":true}]
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAJd6ABIAAAABdegAAAAAAACWIAAAAVoAAAKDAAAAA…SYUnjpYfcSDw49uhYFPVe8dHZcYGS7Cfk4MMJ7zwjznvGw3PMA2Oo6+tf/wpSdPlSR/ADe7uPx' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAKD5ABIAAAABjrQAAAAAAACfoAAAAVkAAAKCAAAAA…mFlx52L/Hg0KNrUdBzxUtnxwVGtpuQjwMjvPeMMO8ZD8s9D4CtrqN//S9M2ek/FckP9vfjlA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIt0ABEAAAABQDwAAQABAAAAAAAAAAAAAAAAAAAAA…CwKGBmIIpVWLACJWGwAUVjI2KwAiNEswkKAwIrswsQAwIrsxEWAwIrWbIEKAZFUkSzCxAEAisA' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI3gABIAAAABRWQAAQABAAAAAAAAAAAAAAAAAAAAA…IwnaGGIYHBlUELLMKwH6htK8MUhmKGIAYjqCImVEUgs1mBOtm1gRYpuNZmSrgAALqcEVgAAAA=' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI7kABEAAAABPbQAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAEzMABMAAAAAezAAAQAAAAAAAAAAAAAAAAAAAAAAA…1qIN4ujgYGRhaHjuSQCJCSSCAAGifAwcSjtYPxf+sGlt6NTECdrCkuALy2JpcAAVT4eScAAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIw4ABEAAAABQcAAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAJd6ABIAAAABdegAAAAAAACWIAAAAVoAAAKDAAAAA…SYUnjpYfcSDw49uhYFPVe8dHZcYGS7Cfk4MMJ7zwjznvGw3PMA2Oo6+tf/wpSdPlSR/ADe7uPx' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAKD5ABIAAAABjrQAAAAAAACfoAAAAVkAAAKCAAAAA…mFlx52L/Hg0KNrUdBzxUtnxwVGtpuQjwMjvPeMMO8ZD8s9D4CtrqN//S9M2ek/FckP9vfjlA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIt0ABEAAAABQDwAAQABAAAAAAAAAAAAAAAAAAAAA…CwKGBmIIpVWLACJWGwAUVjI2KwAiNEswkKAwIrswsQAwIrsxEWAwIrWbIEKAZFUkSzCxAEAisA' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI3gABIAAAABRWQAAQABAAAAAAAAAAAAAAAAAAAAA…IwnaGGIYHBlUELLMKwH6htK8MUhmKGIAYjqCImVEUgs1mBOtm1gRYpuNZmSrgAALqcEVgAAAA=' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI7kABEAAAABPbQAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAEzMABMAAAAAezAAAQAAAAAAAAAAAAAAAAAAAAAAA…1qIN4ujgYGRhaHjuSQCJCSSCAAGifAwcSjtYPxf+sGlt6NTECdrCkuALy2JpcAAVT4eScAAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
:6080/grain/89zgLxc3padyKoWKhjbBnT:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIw4ABEAAAABQcAAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
prevent.user.js:52 [{"code":16,"status":false},{"code":17,"status":true}]
2prevent.user.js:52 [{"code":16,"status":true},{"code":17,"status":true}]
local.sandstorm.io/:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAJd6ABIAAAABdegAAAAAAACWIAAAAVoAAAKDAAAAA…SYUnjpYfcSDw49uhYFPVe8dHZcYGS7Cfk4MMJ7zwjznvGw3PMA2Oo6+tf/wpSdPlSR/ADe7uPx' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".local.sandstorm.io/:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAKD5ABIAAAABjrQAAAAAAACfoAAAAVkAAAKCAAAAA…mFlx52L/Hg0KNrUdBzxUtnxwVGtpuQjwMjvPeMMO8ZD8s9D4CtrqN//S9M2ek/FckP9vfjlA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
local.sandstorm.io/:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIt0ABEAAAABQDwAAQABAAAAAAAAAAAAAAAAAAAAA…CwKGBmIIpVWLACJWGwAUVjI2KwAiNEswkKAwIrswsQAwIrsxEWAwIrWbIEKAZFUkSzCxAEAisA' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
local.sandstorm.io/:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI3gABIAAAABRWQAAQABAAAAAAAAAAAAAAAAAAAAA…IwnaGGIYHBlUELLMKwH6htK8MUhmKGIAYjqCImVEUgs1mBOtm1gRYpuNZmSrgAALqcEVgAAAA=' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
local.sandstorm.io/:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI7kABEAAAABPbQAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
local.sandstorm.io/:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAEzMABMAAAAAezAAAQAAAAAAAAAAAAAAAAAAAAAAA…1qIN4ujgYGRhaHjuSQCJCSSCAAGifAwcSjtYPxf+sGlt6NTECdrCkuALy2JpcAAVT4eScAAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
local.sandstorm.io/:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIw4ABEAAAABQcAAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
from ampache-sandstorm-prototype.
There is no Ampache config file generated. At which point does it generated?
vagrant@localhost:/opt/app/config$ ls
ampache.cfg.php.dist motd.php.dist registration_agreement.php.dist
from ampache-sandstorm-prototype.
w/r/t generating the config file:
Per https://github.com/ampache/ampache/wiki/Installation , Ampache will show you a user-facing wizard interface, the result of which is Ampache generating a config file.
w/r/t JS console: Can you clear the JS console, and do a fresh page load, and find any error that contains the string: "Refused to frame" and paste just that/those lines?
It's "Refused to frame" that is the important issue usually.
from ampache-sandstorm-prototype.
There is no "Refused to frame" now.
I didn't go through the proper installation somehow. I don't know why. I just went through the proper installation but still got through this bug.
from ampache-sandstorm-prototype.
I'm not sure I understand - do you still have the problem? Or did it go away?
from ampache-sandstorm-prototype.
I still do. The automatically generated config set the base path to a base path suitable for XAMPP instead of Vagrant.
from ampache-sandstorm-prototype.
Got it. Is it trying to take you to /login.php
?
If so, for now I suggest you manually navigate to /login.php
by adding it to the grain URL in the address bar, e.g.
http://local.sandstorm.io:6080/grain/{{grainId}}/login.php
and proceed manually for now.
We'll have to fix up the index.php redirect problem at some point, it's true.
from ampache-sandstorm-prototype.
Here's some info on the index.php redirect problem:
When you see these redirect errors, you can search the codebase for Location:
(including the final colon)
When I do that here:
I see that, internally, Ampache uses this expression:
AmpConfig::get('web_path')
on (for example) this line:
ampache-sandstorm-prototype/shout.php
Line 55 in 862df32
to calculate the base URL.
You'll need to change Ampache's code so that it returns either the empty string (recommended) or $_SERVER["HTTP_X_SANDSTORM_BASE_PATH"]
(also OK) as the return value for AmpConfig::get('web_path')
.
I hope that helps! Let me know if you need more info.
from ampache-sandstorm-prototype.
http://local.sandstorm.io:6080/grain/`{{grainId}}`/login.php doesn't solve the problem. I still get Content Security Violation.
web_path = $_SERVER["HTTP_X_SANDSTORM_BASE_PATH"]
also doesn't solve the problem.
from ampache-sandstorm-prototype.
Can you make sure to:
- Clear the JS console, and
- Navigate to the grain's /login.php page, and
- Tell me the full Content Security Violation error that you get? I'm
looking specifically for the "Refused to frame" error, since that's the one
that would cause a white screen where the app should be.
Cheers,
Asheesh.
from ampache-sandstorm-prototype.
This is the full log after doing all of the steps you requested:
Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAJd6ABIAAAABdegAAAAAAACWIAAAAVoAAAKDAAAAA…SYUnjpYfcSDw49uhYFPVe8dHZcYGS7Cfk4MMJ7zwjznvGw3PMA2Oo6+tf/wpSdPlSR/ADe7uPx' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAKD5ABIAAAABjrQAAAAAAACfoAAAAVkAAAKCAAAAA…mFlx52L/Hg0KNrUdBzxUtnxwVGtpuQjwMjvPeMMO8ZD8s9D4CtrqN//S9M2ek/FckP9vfjlA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIt0ABEAAAABQDwAAQABAAAAAAAAAAAAAAAAAAAAA…CwKGBmIIpVWLACJWGwAUVjI2KwAiNEswkKAwIrswsQAwIrsxEWAwIrWbIEKAZFUkSzCxAEAisA' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI3gABIAAAABRWQAAQABAAAAAAAAAAAAAAAAAAAAA…IwnaGGIYHBlUELLMKwH6htK8MUhmKGIAYjqCImVEUgs1mBOtm1gRYpuNZmSrgAALqcEVgAAAA=' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI7kABEAAAABPbQAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAEzMABMAAAAAezAAAQAAAAAAAAAAAAAAAAAAAAAAA…1qIN4ujgYGRhaHjuSQCJCSSCAAGifAwcSjtYPxf+sGlt6NTECdrCkuALy2JpcAAVT4eScAAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIw4ABEAAAABQcAAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
f9af03b….js?meteor_js_resource=true:197 App authors: To understand the grain-frame in Sandstorm and how to find logs and perform troubleshooting, see:
- https://docs.sandstorm.io/en/latest/developing/path/
- https://docs.sandstorm.io/en/latest/using/top-bar/
- https://docs.sandstorm.io/en/latest/developing/troubleshooting/
When debugging, make sure you execute Javascript in the context of the 'grain-frame' IFRAME. References:
- https://stackoverflow.com/questions/3275816/debugging-iframes-with-chrome-developer-tools
- https://developer.mozilla.org/en-US/docs/Tools/Working_with_iframes
We can also provide personal assistance! Get in touch: https://sandstorm.io/community
core.js:271 undefined
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAJd6ABIAAAABdegAAAAAAACWIAAAAVoAAAKDAAAAA…SYUnjpYfcSDw49uhYFPVe8dHZcYGS7Cfk4MMJ7zwjznvGw3PMA2Oo6+tf/wpSdPlSR/ADe7uPx' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAKD5ABIAAAABjrQAAAAAAACfoAAAAVkAAAKCAAAAA…mFlx52L/Hg0KNrUdBzxUtnxwVGtpuQjwMjvPeMMO8ZD8s9D4CtrqN//S9M2ek/FckP9vfjlA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIt0ABEAAAABQDwAAQABAAAAAAAAAAAAAAAAAAAAA…CwKGBmIIpVWLACJWGwAUVjI2KwAiNEswkKAwIrswsQAwIrsxEWAwIrWbIEKAZFUkSzCxAEAisA' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI3gABIAAAABRWQAAQABAAAAAAAAAAAAAAAAAAAAA…IwnaGGIYHBlUELLMKwH6htK8MUhmKGIAYjqCImVEUgs1mBOtm1gRYpuNZmSrgAALqcEVgAAAA=' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAI7kABEAAAABPbQAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAEzMABMAAAAAezAAAQAAAAAAAAAAAAAAAAAAAAAAA…1qIN4ujgYGRhaHjuSQCJCSSCAAGifAwcSjtYPxf+sGlt6NTECdrCkuALy2JpcAAVT4eScAAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
login.php:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAIw4ABEAAAABQcAAAQABAAAAAAAAAAAAAAAAAAAAA…hgZiCKVViwAiVhsAFFYyNisAIjRLMJCgMCK7MLEAMCK7MRFgMCK1myBCgGRVJEswsQBAIrAA==' because it violates the following Content Security Policy directive: "font-src 'self' http://static.local.sandstorm.io:6080".
from ampache-sandstorm-prototype.
Interesting. No "Refused to frame" error! Maybe that means that the nginx error log (which is available by clicking the terminal icon within Sandstorm) is the place to look for more info.
from ampache-sandstorm-prototype.
Do you mean this?
...** SANDSTORM SUPERVISOR: Starting up grain.
Installing MySQL system tables...
160808 20:39:38 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160808 20:39:38 [Note] /usr/sbin/mysqld (mysqld 5.5.50-0+deb8u1) starting as process 30 ...
OK
Filling help tables...
160808 20:39:38 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160808 20:39:38 [Note] /usr/sbin/mysqld (mysqld 5.5.50-0+deb8u1) starting as process 36 ...
OKTo start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your systemPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h sandbox password 'new-password'Alternatively you can run:
/usr/bin/mysql_secure_installationwhich will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.plPlease report any problems at http://bugs.mysql.com/
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
160808 20:39:38 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160808 20:39:38 [Note] /usr/sbin/mysqld (mysqld 5.5.50-0+deb8u1) starting as process 40 ...
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
** SANDSTORM SUPERVISOR: Grain shutdown requested.
** SANDSTORM SUPERVISOR: Starting up grain.
Installing MySQL system tables...
160808 20:39:58 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160808 20:39:58 [Note] /usr/sbin/mysqld (mysqld 5.5.50-0+deb8u1) starting as process 28 ...
OK
Filling help tables...
160808 20:39:58 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160808 20:39:58 [Note] /usr/sbin/mysqld (mysqld 5.5.50-0+deb8u1) starting as process 34 ...
OKTo start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your systemPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h sandbox password 'new-password'Alternatively you can run:
/usr/bin/mysql_secure_installationwhich will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.plPlease report any problems at http://bugs.mysql.com/
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
160808 20:39:58 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
160808 20:39:58 [Note] /usr/sbin/mysqld (mysqld 5.5.50-0+deb8u1) starting as process 38 ...
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
waiting for mysql to be available at /var/run/mysqld/mysqld.sock
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
from ampache-sandstorm-prototype.
Yes! Hmm. No useful info there, either.
from ampache-sandstorm-prototype.
Oh - another thing you can do is replace all references to "Location:" . AmpConfig::get('web_path') .
with "Location:" .
, thereby removing all the calls to AmpConfig::get('web_path')
, thereby basically treating it as returning the empty string.
from ampache-sandstorm-prototype.
This strategy only helps avoid Refused to frame
errors, for what it's worth.
from ampache-sandstorm-prototype.
But that strategy is the same with setting web_path
to "", don't you think so?
from ampache-sandstorm-prototype.
The nice thing about modifying just the areas of the code that send Location:
headers to the client is that we can know the impact of our change on the codebase, I figure. We can even decide to be very minimal and only modify the redirects that seem to be bothersome.
from ampache-sandstorm-prototype.
I've tried to comment all of those headers, but well Refused to frame
error is not showing up since a long time ago anyway. The other issues still persist.
from ampache-sandstorm-prototype.
from ampache-sandstorm-prototype.
OK! Please wait
from ampache-sandstorm-prototype.
@paulproteus It has been a while. I hope everything is okay. Can I do anything to help?
from ampache-sandstorm-prototype.
Related Issues (20)
- Copy the packaging work to a new GitHub repository based on Ampache "latest" and make sure it works with it
- Work with upstream to get our authentication plugin enabled
- Create a pull request containing the .sandstorm/
- Vagrant login detail for debian-jessie64 HOT 12
- Import database dump or create a new one HOT 4
- Can't access http://local.sandstorm.io:6080/ after running vagrant-spk vm up HOT 1
- How much should I ask here? HOT 3
- When packing, got told to `vagrant up` but the machine is already running HOT 9
- Got error when packing using Sandstorm in Windows 10 HOT 3
- upgrade my rose.sandcats.io user account from "Visitor" status to "User" status HOT 2
- Adjust Sandstorm packaging to not require manual configuration steps
- Can't read file even though it really exists HOT 3
- Create SPK file that can be uploaded to a Sandstorm server
- Integrate with Sandstorm user accounts HOT 5
- Verify that the Subsonic API can be accessed via a grain URL
- Verify that the Subsonic API is exposed via Sandstorm HTTP APIs system
- Verify that Subsonic API seems to work, through manual testing and any further fixes
- Add support for at least 3 roles
- Use offer templates to display API keys
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ampache-sandstorm-prototype.