Comments (19)
This is normal because you did not use a Docker volume but your own folder, so unfortunately you have to download the zip yourself and put it into the folder.
if you using this one then it work
version: "3.8"
services:
linkstack:
hostname: 'linkstack'
image: 'linkstackorg/linkstack:latest'
environment:
TZ: 'Europe/Berlin'
SERVER_ADMIN: '[email protected]'
HTTP_SERVER_NAME: 'sub00.de'
HTTPS_SERVER_NAME: 'sub00.de'
LOG_LEVEL: 'info'
PHP_MEMORY_LIMIT: '256M'
UPLOAD_MAX_FILESIZE: '8M'
ports:
- '8190:443'
- '8090:80'
volumes:
- llc:/htdocs
restart: unless-stopped
volumes:
llc:
from linkstack-docker.
What I did was upload the service with docker compose that you gave me but it didn't work, what I did now was download the file https://github.com/linkstackorg/linkstack/releases/latest/download/linkstack.zip
and I uploaded it to my folder but it gives me an error when entering the site
look https://alf.cl/
from linkstack-docker.
The stream or file "/htdocs/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: The stream or file "/htdocs/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log: copy(/htdocs/config/advanced-config.php): Failed to open stream: Permission denied Context: {"exception":{}} Context: {"exception":{}}
from linkstack-docker.
find /htdocs -type d -print0 | xargs -0 chmod 0755
find /htdocs -type f -print0 | xargs -0 chmod 0644
from linkstack-docker.
dont work :c
from linkstack-docker.
@AlFcl That didn't work for me either, the issue is that when mounting a folder to a container, it erases the content already in that folder on the container's side. What I ended up doing was:
- Set up a local empty volume and mount it to a temporary folder in the container: /linkstack-appdata:/htdocs2
- Connect to the container's terminal
- Copy all of the files from htdocs to the temporary folder: cp -a /htdocs/. /htdocs2/
- Stop the container, and recreate it, but this time using the proper htdocs folder, instead of htdocs2: /linkstack-appdata:/htdocs
That worked for me, I'm using Unraid's docker manager so I'm not sure if it'll be exactly the same, but I feel like that should do the job!
from linkstack-docker.
find /htdocs -type d -print0 | xargs -0 chmod 0755 find /htdocs -type f -print0 | xargs -0 chmod 0644
/htdocs find /htdocs -type f -print0 | xargs -0 chmod 0644
BusyBox v1.36.1 (2023-06-02 00:42:02 UTC) multi-call binary.
Usage: chmod [-Rcvf] MODE[,MODE]... FILE...
MODE is octal number (bit pattern sstrwxrwxrwx) or [ugoa]{+|-|=}[rwxXst]
-R Recurse
-c List changed files
-v Verbose
-f Hide errors```
from linkstack-docker.
I fixed the permissions problem. What I did was go to the folder where the files are in the example alfcl/htdocs/ and enter chmod -R 777 . and inside the container also the same chmod -R 777 ., but now when entering a link it does not let me, it does not load any option
from linkstack-docker.
you need to set FORCE_HTTPS=false to true in your .env file
from linkstack-docker.
you need to set FORCE_HTTPS=false to true in your .env file
now happen this
downloadable font: download failed (font-family: "Inter" style:normal weight:500 stretch:100 src index:0): status=2147746065 source: https://alf.cl/studio/assets/fonts/Inter/inter-latin-500-normal.woff2
downloadable font: download failed (font-family: "Inter" style:normal weight:400 stretch:100 src index:0): status=2147746065 source: https://alf.cl/studio/assets/fonts/Inter/inter-latin-400-normal.woff2
downloadable font: download failed (font-family: "Inter" style:normal weight:400 stretch:100 src index:1): status=2147746065 source: https://alf.cl/studio/assets/fonts/Inter/inter-latin-400-normal.woff
downloadable font: download failed (font-family: "Inter" style:normal weight:500 stretch:100 src index:1): status=2147746065 source: https://alf.cl/studio/assets/fonts/Inter/inter-latin-500-normal.woff
Content-Security-Policy warnings 2
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/ [libs.min.js:25:78615](https://alf.cl/assets/js/core/libs.min.js)
Uncaught SyntaxError: redeclaration of let SliderTab
<anonymous> https://alf.cl/studio/add-link line 14 > injectedScript:1
b https://alf.cl/assets/js/core/libs.min.js:14
globalEval https://alf.cl/assets/js/core/libs.min.js:14
dataFilter https://alf.cl/assets/js/core/libs.min.js:25
w https://alf.cl/assets/js/core/libs.min.js:25
C https://alf.cl/assets/js/core/libs.min.js:25
n https://alf.cl/assets/js/core/libs.min.js:25
send https://alf.cl/assets/js/core/libs.min.js:25
ajax https://alf.cl/assets/js/core/libs.min.js:25
_evalUrl https://alf.cl/assets/js/core/libs.min.js:25
Ne https://alf.cl/assets/js/core/libs.min.js:25
append https://alf.cl/assets/js/core/libs.min.js:25
html https://alf.cl/assets/js/core/libs.min.js:25
B https://alf.cl/assets/js/core/libs.min.js:25
html https://alf.cl/assets/js/core/libs.min.js:25
load https://alf.cl/assets/js/core/libs.min.js:25
l https://alf.cl/assets/js/core/libs.min.js:25
fireWith https://alf.cl/assets/js/core/libs.min.js:25
C https://alf.cl/assets/js/core/libs.min.js:25
n https://alf.cl/assets/js/core/libs.min.js:25
[add-link line 14 > injectedScript:1:1](https://alf.cl/studio/add-link%20line%2014%20%3E%20injectedScript)
Uncaught SyntaxError: redeclaration of let Scrollbar
<anonymous> https://alf.cl/studio/add-link line 14 > injectedScript:1
b https://alf.cl/assets/js/core/libs.min.js:14
globalEval https://alf.cl/assets/js/core/libs.min.js:14
dataFilter https://alf.cl/assets/js/core/libs.min.js:25
w https://alf.cl/assets/js/core/libs.min.js:25
C https://alf.cl/assets/js/core/libs.min.js:25
n https://alf.cl/assets/js/core/libs.min.js:25
send https://alf.cl/assets/js/core/libs.min.js:25
ajax https://alf.cl/assets/js/core/libs.min.js:25
_evalUrl https://alf.cl/assets/js/core/libs.min.js:25
Ne https://alf.cl/assets/js/core/libs.min.js:25
append https://alf.cl/assets/js/core/libs.min.js:25
html https://alf.cl/assets/js/core/libs.min.js:25
B https://alf.cl/assets/js/core/libs.min.js:25
html https://alf.cl/assets/js/core/libs.min.js:25
load https://alf.cl/assets/js/core/libs.min.js:25
l https://alf.cl/assets/js/core/libs.min.js:25
fireWith https://alf.cl/assets/js/core/libs.min.js:25
C https://alf.cl/assets/js/core/libs.min.js:25
n https://alf.cl/assets/js/core/libs.min.js:25
[add-link line 14 > injectedScript:1:1](https://alf.cl/studio/add-link%20line%2014%20%3E%20injectedScript)
Uncaught SyntaxError: redeclaration of const datetime
<anonymous> https://alf.cl/studio/add-link line 14 > injectedScript:1
b https://alf.cl/assets/js/core/libs.min.js:14
globalEval https://alf.cl/assets/js/core/libs.min.js:14
dataFilter https://alf.cl/assets/js/core/libs.min.js:25
w https://alf.cl/assets/js/core/libs.min.js:25
C https://alf.cl/assets/js/core/libs.min.js:25
n https://alf.cl/assets/js/core/libs.min.js:25
send https://alf.cl/assets/js/core/libs.min.js:25
ajax https://alf.cl/assets/js/core/libs.min.js:25
_evalUrl https://alf.cl/assets/js/core/libs.min.js:25
Ne https://alf.cl/assets/js/core/libs.min.js:25
append https://alf.cl/assets/js/core/libs.min.js:25
html https://alf.cl/assets/js/core/libs.min.js:25
B https://alf.cl/assets/js/core/libs.min.js:25
html https://alf.cl/assets/js/core/libs.min.js:25
load https://alf.cl/assets/js/core/libs.min.js:25
l https://alf.cl/assets/js/core/libs.min.js:25
fireWith https://alf.cl/assets/js/core/libs.min.js:25
C https://alf.cl/assets/js/core/libs.min.js:25
n https://alf.cl/assets/js/core/libs.min.js:25
[add-link line 14 > injectedScript:1:1](https://alf.cl/studio/add-link%20line%2014%20%3E%20injectedScript)
Source map error: Error: request failed with status 404
Resource URL: https://alf.cl/assets/js/popper.js
Source Map URL: popper.min.js.map
Source map error: Error: request failed with status 404
Resource URL: https://alf.cl/assets/js/bootstrap.min.js
Source Map URL: bootstrap.min.js.map
from linkstack-docker.
which proxy you are using and which browser ?
is it firefox and apache ?
-> use another browser if this works - we need to check why
from linkstack-docker.
I used Firefox on Linux. Now on safari on iPhone and work there but un Firefox no
from linkstack-docker.
ok did you using traefik as proxy oder apache or nginx or nginx proxy manager ?
from linkstack-docker.
I am using nginx proxy manager
from linkstack-docker.
proxy_hide_header Upgrade;
proxy_hide_header X-Powered-By;
add_header Content-Security-Policy "upgrade-insecure-requests";
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Cache-Control "no-transform" always;
add_header Referrer-Policy no-referrer always;
add_header X-Robots-Tag none;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-VerifiedViaNginx yes;
proxy_read_timeout 60;
proxy_connect_timeout 60;
proxy_redirect off;
# Specific for websockets: force the use of HTTP/1.1 and set the Upgrade header
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-Proto $scheme;
# Fixes Mixed Content errors.
add_header 'Content-Security-Policy' 'upgrade-insecure-requests';
maybe one of this will help you
from linkstack-docker.
On the nginx ??
from linkstack-docker.
in the last tab of the proxy host
from linkstack-docker.
work fine on chrome but on firefox not
from linkstack-docker.
ok here a workaround for nginx proxy Manager because of the headers
at the monent there is a bug
https://gist.github.com/R0GGER/916183fca41f02df1471a6f455e5869f
and for firefox you the latest beta Version from linkstack this will fix the problem
from linkstack-docker.
Related Issues (20)
- `Spatie\Backup\Events\BackupHasFailed` HOT 2
- LinkStack has problems with links as soon as 'custom locations' are specified in the NGINX reverse proxy HOT 15
- Resend Verification email loop HOT 7
- Number of Links in Userlist HOT 1
- Multiple Pages Per User [Feature Request] HOT 1
- SSL Certificates HOT 2
- Permission denied on httpd.conf on Startup HOT 5
- [Sun Jan 07 13:43:21.961240 2024] [httpd.conf] ::1 - - "GET / HTTP/1.0" 400 450 "-" "-" HOT 1
- htdocs directory not populating with persistent volume HOT 10
- cant deploy HOT 11
- Update image HOT 1
- Fonts returning 404 when trying to add a link
- Can't bind the /htdocs folder to outside of container HOT 1
- Unwanted Redirection HOT 1
- ErrorException when clicking on email: Attempt to read property "link" on null HOT 2
- Setup Linkstack to different port (no 80 or 443) HOT 1
- Error while Update HOT 1
- Unable to Edit Links HOT 5
- Cannot get WebSockets to work behind Nginx HOT 14
- Unable to add links HOT 1
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 linkstack-docker.