-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2091b7
commit f19f6af
Showing
49 changed files
with
2,122 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>File access errors - cast-web</title><meta name="robots" content="index, follow"><meta name="generator" content="Publii Open-Source CMS for Static Site"><link rel="canonical" href="https://vervallsweg.github.io/cast-web/File-access-errors/"><link rel="amphtml" href="https://vervallsweg.github.io/cast-web/amp/File-access-errors/"><link type="application/atom+xml" rel="alternate" href="https://vervallsweg.github.io/cast-web/feed.xml"><meta property="og:title" content="File access errors"><meta property="og:image" content="https://vervallsweg.github.io/cast-web/media/website/ic-cast-web-api-gray-50-300-01.png"><meta property="og:site_name" content="cast-web"><meta property="og:description" content="Symptomsassistant setup authorize button cannot be clickedassistant setup progress lost after reloadSolutionsInaccessible configuration files happen on certain platform. This will be fixed in the next release. For the time being here are some solutions See the GitHub issue. The directory that needs to be accessible is /lib/assistant. Advanced: Make…"><link rel="shortcut icon" href="https://vervallsweg.github.io/cast-web/media/website/favicon.ico" type="image/x-icon"><link rel="stylesheet" href="https://vervallsweg.github.io/cast-web/assets/css/fonts.css?v=b3a377def9b606104448f659d126fbbe"><link rel="stylesheet" href="https://vervallsweg.github.io/cast-web/assets/css/style.css?v=d759d1ca921e42830dcca9ce98a665f1"><link rel="stylesheet" href="https://vervallsweg.github.io/cast-web/assets/css/accordion.min.css?v=693d8049da4f63fdc94176ffae19631b"><link rel="stylesheet" href="https://vervallsweg.github.io/cast-web/assets/css/grid.min.css?v=c18d6fb996e3dc16db4abcd2caf25387"><link rel="stylesheet" href="https://vervallsweg.github.io/cast-web/assets/css/icon.min.css?v=b66bc078a3d0d569c97dfae83a14800f"><link rel="stylesheet" href="https://vervallsweg.github.io/cast-web/assets/css/popup.min.css?v=e70204542bad50f538d14c887ae6a1fd"><link rel="stylesheet" href="https://vervallsweg.github.io/cast-web/assets/css/segment.min.css?v=edf7d0d4162080ea4291152c92c75da7"><link rel="stylesheet" href="https://vervallsweg.github.io/cast-web/assets/css/step.min.css?v=640e012277f8cc21bcee8cc665fc408a"><link rel="stylesheet" href="https://vervallsweg.github.io/cast-web/assets/css/transition.min.css?v=8504eae866c12354c8e87e7bc5d998ad"><script type="application/ld+json">{"@context":"http://schema.org","@type":"Article","mainEntityOfPage":{"@type":"WebPage","@id":"https://vervallsweg.github.io/cast-web/File-access-errors/"},"headline":"File access errors","datePublished":"2019-03-13T14:44","dateModified":"2019-03-13T14:44","image":{"@type":"ImageObject","url":"https://vervallsweg.github.io/cast-web/media/website/ic-cast-web-api-gray-50-300-01.png","height":100,"width":100},"description":"Symptomsassistant setup authorize button cannot be clickedassistant setup progress lost after reloadSolutionsInaccessible configuration files happen on certain platform. This will be fixed in the next release. For the time being here are some solutions See the GitHub issue. The directory that needs to be accessible is /lib/assistant. Advanced: Make…","author":{"@type":"Person","name":"vervallsweg"},"publisher":{"@type":"Organization","name":"vervallsweg","logo":{"@type":"ImageObject","url":"https://vervallsweg.github.io/cast-web/media/website/ic-cast-web-api-gray-50-300-01.png","height":100,"width":100}}}</script><style>.top__search [type=search] { | ||
background-image: url(https://vervallsweg.github.io/cast-web/assets/svg/search.svg); | ||
}</style><script>(function(funcName, baseObj) { | ||
"use strict"; | ||
// The public function name defaults to window.docReady | ||
// but you can modify the last line of this function to pass in a different object or method name | ||
// if you want to put them in a different namespace and those will be used instead of | ||
// window.docReady(...) | ||
funcName = funcName || "docReady"; | ||
baseObj = baseObj || window; | ||
var readyList = []; | ||
var readyFired = false; | ||
var readyEventHandlersInstalled = false; | ||
|
||
// call this when the document is ready | ||
// this function protects itself against being called more than once | ||
function ready() { | ||
if (!readyFired) { | ||
// this must be set to true before we start calling callbacks | ||
readyFired = true; | ||
for (var i = 0; i < readyList.length; i++) { | ||
// if a callback here happens to add new ready handlers, | ||
// the docReady() function will see that it already fired | ||
// and will schedule the callback to run right after | ||
// this event loop finishes so all handlers will still execute | ||
// in order and no new ones will be added to the readyList | ||
// while we are processing the list | ||
readyList[i].fn.call(window, readyList[i].ctx); | ||
} | ||
// allow any closures held by these functions to free | ||
readyList = []; | ||
} | ||
} | ||
|
||
function readyStateChange() { | ||
if ( document.readyState === "complete" ) { | ||
ready(); | ||
} | ||
} | ||
|
||
// This is the one public interface | ||
// docReady(fn, context); | ||
// the context argument is optional - if present, it will be passed | ||
// as an argument to the callback | ||
baseObj[funcName] = function(callback, context) { | ||
if (typeof callback !== "function") { | ||
throw new TypeError("callback for docReady(fn) must be a function"); | ||
} | ||
// if ready has already fired, then just schedule the callback | ||
// to fire asynchronously, but right away | ||
if (readyFired) { | ||
setTimeout(function() {callback(context);}, 1); | ||
return; | ||
} else { | ||
// add the function and context to the list | ||
readyList.push({fn: callback, ctx: context}); | ||
} | ||
// if document already ready to go, schedule the ready function to run | ||
// IE only safe when readyState is "complete", others safe when readyState is "interactive" | ||
if (document.readyState === "complete" || (!document.attachEvent && document.readyState === "interactive")) { | ||
setTimeout(ready, 1); | ||
} else if (!readyEventHandlersInstalled) { | ||
// otherwise if we don't have event handlers installed, install them | ||
if (document.addEventListener) { | ||
// first choice is DOMContentLoaded event | ||
document.addEventListener("DOMContentLoaded", ready, false); | ||
// backup is window load event | ||
window.addEventListener("load", ready, false); | ||
} else { | ||
// must be IE | ||
document.attachEvent("onreadystatechange", readyStateChange); | ||
window.attachEvent("onload", ready); | ||
} | ||
readyEventHandlersInstalled = true; | ||
} | ||
} | ||
})("docReady", window);</script></head><body><div class="container"><header class="js-top is-sticky"><a class="logo" href="https://vervallsweg.github.io/cast-web"><img src="https://vervallsweg.github.io/cast-web/media/website/ic-cast-web-api-gray-50-300-01.png" alt="cast-web"></a><div class="top"><nav class="navbar js-navbar"><button class="navbar__toggle js-navbar__toggle">Menu</button><ul class="navbar__menu"><li class="has-submenu"><a href="https://vervallsweg.github.io/cast-web/installation/">Installation</a><ul class="navbar__submenu"><li><a href="https://vervallsweg.github.io/cast-web/installation-cast-web-api/">cast-web-api</a></li><li><a href="https://vervallsweg.github.io/cast-web/installation-service-manager-and-device-type/">service manager & dth</a></li><li><a href="https://vervallsweg.github.io/cast-web/first-steps/">first steps</a></li></ul></li><li><a href="https://vervallsweg.github.io/cast-web/updating/">Updating</a></li><li><a href="https://vervallsweg.github.io/cast-web/help/">Help</a></li><li class="has-submenu"><a href="https://vervallsweg.github.io/cast-web/category/news/">More</a><ul class="navbar__submenu"><li><a href="https://vervallsweg.github.io/cast-web/contribute/">Contribute</a></li><li><a href="https://vervallsweg.github.io/cast-web/donate/">Donate</a></li><li><a href="https://vervallsweg.github.io/cast-web/category/faq/">FAQ</a></li><li><a href="https://vervallsweg.github.io/cast-web/category/news/">News</a></li><li><a href="https://vervallsweg.github.io/cast-web/request-a-feature/">Request a feature</a></li><li><a href="https://vervallsweg.github.io/cast-web/category/roadmap/">Roadmap</a></li></ul></li></ul></nav><div class="top__search"><form action="https://vervallsweg.github.io/cast-web/search.html" class="search"><input type="search" name="q" placeholder="search..."></form></div></div></header><main><article class="post"><div class="hero"><div class="hero__wrap"><img src="https://vervallsweg.github.io/cast-web/media/website/cast-web-api-hero.jpg" srcset="https://vervallsweg.github.io/cast-web/media/website/responsive/cast-web-api-hero-xs.jpg 300w, https://vervallsweg.github.io/cast-web/media/website/responsive/cast-web-api-hero-sm.jpg 480w, https://vervallsweg.github.io/cast-web/media/website/responsive/cast-web-api-hero-md.jpg 768w, https://vervallsweg.github.io/cast-web/media/website/responsive/cast-web-api-hero-lg.jpg 1024w, https://vervallsweg.github.io/cast-web/media/website/responsive/cast-web-api-hero-xl.jpg 1360w, https://vervallsweg.github.io/cast-web/media/website/responsive/cast-web-api-hero-2xl.jpg 1600w" sizes="(max-width: 1600px) 100vw, 1600px" alt=""></div><header class="hero__text"><h1>File access errors</h1></header></div><div class="post__entry"><h2>Symptoms</h2><ul><li>assistant setup authorize button cannot be clicked</li><li>assistant setup progress lost after reload</li></ul><h2>Solutions</h2><p><span data-dobid="hdw">Inaccessible configuration files happen on certain platform. This will be fixed in the next release. For the time being here are some solutions</span></p><h4>Manually create the files</h4><p>See the <a href="https://github.com/vervallsweg/cast-web-api/issues/94" target="_blank" rel="noopener noreferrer">GitHub issue</a>.</p><h4>Manually change the permissions</h4><p>The directory that needs to be accessible is <code>/lib/assistant</code>.</p><p>Advanced: Make sure to grant the user running the api, r+w permissions.</p><p>Quick and dirty: <code><span class="s1">chmod -R 777 test/</span></code></p><h4>Run the api as root</h4><p class="msg msg--highlight">This is the last option to check if the error is access related. DON'T DO THIS AS A FIX!</p><p><code>sudo cast-web-api</code></p></div><aside class="post__share"><a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fvervallsweg.github.io%2Fcast-web%2FFile-access-errors%2F" class="js-share facebook" title="Share with Facebook" rel="nofollow"><svg class="icon"><use xlink:href="https://vervallsweg.github.io/cast-web/assets/svg/svg-map.svg#facebook"/></svg> </a><a href="https://twitter.com/share?url=https%3A%2F%2Fvervallsweg.github.io%2Fcast-web%2FFile-access-errors%2F&via=cast-web&text=File%20access%20errors" class="js-share twitter" title="Share with Twitter" rel="nofollow"><svg class="icon"><use xlink:href="https://vervallsweg.github.io/cast-web/assets/svg/svg-map.svg#twitter"/></svg> </a><a href="https://plus.google.com/share?url=https%3A%2F%2Fvervallsweg.github.io%2Fcast-web%2FFile-access-errors%2F" class="js-share gplus" title="Share with Google Plus" rel="nofollow"><svg class="icon"><use xlink:href="https://vervallsweg.github.io/cast-web/assets/svg/svg-map.svg#gplus"/></svg> </a><a href="https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fvervallsweg.github.io%2Fcast-web%2FFile-access-errors%2F&media=undefined | ||
&description=File%20access%20errors" class="js-share pinterest" title="Share with Pinterest" rel="nofollow"><svg class="icon"><use xlink:href="https://vervallsweg.github.io/cast-web/assets/svg/svg-map.svg#pinterest"/></svg> </a><a href="http://www.stumbleupon.com/submit?url=https%3A%2F%2Fvervallsweg.github.io%2Fcast-web%2FFile-access-errors%2F&title=File%20access%20errors" class="js-share stumbleupon" title="Share with StumbleUpon" rel="nofollow"><svg class="icon"><use xlink:href="https://vervallsweg.github.io/cast-web/assets/svg/svg-map.svg#stumbleupon"/></svg> </a><a href="http://www.linkedin.com/shareArticle?url=https%3A%2F%2Fvervallsweg.github.io%2Fcast-web%2FFile-access-errors%2F&title=File%20access%20errors" class="js-share linkedin" title="Share with LinkedIn" rel="nofollow"><svg class="icon"><use xlink:href="https://vervallsweg.github.io/cast-web/assets/svg/svg-map.svg#linkedin"/></svg> </a><a href="https://buffer.com/add?text=File%20access%20errors&url=https%3A%2F%2Fvervallsweg.github.io%2Fcast-web%2FFile-access-errors%2F" class="js-share buffer" title="Share with Buffer" rel="nofollow"><svg class="icon"><use xlink:href="https://vervallsweg.github.io/cast-web/assets/svg/svg-map.svg#buffer"/></svg></a></aside><footer class="post__footer"></footer></article></main><footer class="footer"><div class="footer__copyright">Made and maintained by <a href="https://github.com/vervallsweg/" target="_blank" rel="noopener noreferrer">vervallsweg</a> - Blog powered by Publii</div></footer></div><script src="https://vervallsweg.github.io/cast-web/assets/js/jquery-3.3.1.min.js?v=a09e13ee94d51c524b7e2a728c7d4039"></script><script defer="defer" src="https://vervallsweg.github.io/cast-web/assets/js/scripts.min.js?v=5dffffceea1fdc07740088873ba7ff09"></script><script src="https://vervallsweg.github.io/cast-web/assets/js/semantic.min.js?v=d5550ed22664a5bb34fdbf5546dbbedd"></script><script src="https://vervallsweg.github.io/cast-web/assets/js/accordion.min.js?v=927fa42312fc670ec434852c55ce3bcf"></script><script src="https://vervallsweg.github.io/cast-web/assets/js/popup.min.js?v=b82e39cfc7e5eab918925e24f0b507cd"></script><script src="https://vervallsweg.github.io/cast-web/assets/js/transition.min.js?v=4498162fbd09bbeb2cdeadbddd30d6d9"></script><script src="https://vervallsweg.github.io/cast-web/assets/js/visibility.min.js?v=66ab344000109c3e746363d5c49e2437"></script><script src="https://vervallsweg.github.io/cast-web/assets/js/scripts-custom.js?v=d22be7ef1e61ecc4b5337667d92e50fd"></script><a id="donate" href="https://www.paypal.me/vervallsweg" class="btn" style="font-size: 1.25em;border-radius:50%;padding:0.5em;position:fixed;bottom:1em;right:1em;width: unset !important;"><i class="icon paypal" style="margin:0;"></i></a></body></html> |
Oops, something went wrong.