Comments (10)
@0xRenegade could you find a solution to the problem?
from php-dynamic-qr-code.
Hello, I'm trying to install this on a Ubuntu 22.04 server VM with docker, everything is up to date, After I make a folder, clone the repo, edit the docker-compose.yml file to change the port and fired up docker compuse up -d , I get this message:
Hi. Did you follow the instructions on the README for specifying the user and group in the build options?
https://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/tree/master/docker#readme
from php-dynamic-qr-code.
Hello, I'm trying to install this on a Ubuntu 22.04 server VM with docker, everything is up to date, After I make a folder, clone the repo, edit the docker-compose.yml file to change the port and fired up docker compuse up -d , I get this message:
Hi. Did you follow the instructions on the README for specifying the user and group in the build options?
https://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/tree/master/docker#readme
I did read it, and looked information about it but I'm not sure I can do it the right way. Can you give me a hand with it?
from php-dynamic-qr-code.
from php-dynamic-qr-code.
The readme describes it just as you need it to be: the error is happening because PGID and PUID aren't defined, which you need to pass them in as arguments when running the build command. For example, PUID=1000 PGID=1000 would probably work just fine.
…
On Fri, Oct 28, 2022 at 10:12 PM 0x7c0sys @.> wrote: Hello, I'm trying to install this on a Ubuntu 22.04 server VM with docker, everything is up to date, After I make a folder, clone the repo, edit the docker-compose.yml file to change the port and fired up docker compuse up -d , I get this message: [image: mRemoteNG_TM3XFSqcxh] https://user-images.githubusercontent.com/67028277/197859730-2594d110-59fc-4c51-bcd8-83e6e1c50240.png Hi. Did you follow the instructions on the README for specifying the user and group in the build options? https://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/tree/master/docker#readme I did read it, and looked information about it but I'm not sure I can do it the right way. Can you give me a hand with it? — Reply to this email directly, view it on GitHub <#48 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANWDOB3UBLKNQLYYAE6YOBDWFSI2NANCNFSM6AAAAAAROINQBE . You are receiving this because you were mentioned.Message ID: @.>
Thanks for your reply, I re-did everytihing again as follows:
Cloned the repo, cd into the repo folder and inside of that folder, then mkdir -p ./data/mariadb ./data/app/config ./data/app/saved_qrcode
, then sudo PUID="$(id -u)" PGID="$(id -g)" docker-compose up --build -d
everything went OK then PUID="1000" PGID="1000" docker-compose up --build -d
and it went OK
Only thing I had to do was type sudo before building the image and using docker-compose up, didn't need to edit the docker-compose.yml to add the PGID or PUID, I assume that was OK too.
But now when I try to access from locally, say 192.168.0.78:8080/install I get this Forbidden You don't have permission to access this resource. Apache/2.4.38 (Debian) Server at 192.168.0.78 Port 8080
If I type 192.168.0.78:8080/install/setup.php like the documentation says I just get a blank page.
edit: @0xRenegade forgot to reply
from php-dynamic-qr-code.
You mentioned you're running the docker commands inside a VM on your local machine? Placing it inside a VM would probably make the docker network stuff more confusing, which I couldn't really help you with (I'm not an expert, I just read guides lol).
from php-dynamic-qr-code.
You mentioned you're running the docker commands inside a VM on your local machine? Placing it inside a VM would probably make the docker network stuff more confusing, which I couldn't really help you with (I'm not an expert, I just read guides lol).
Hey man thanks for your reply.
That shouldn't be an issue, I host a few services from another machine with Docker.
What's odd is that I don't see any Apache server installed in Docker, just the mariaDB.
How did you install it, with or without docker?
from php-dynamic-qr-code.
You mentioned you're running the docker commands inside a VM on your local machine? Placing it inside a VM would probably make the docker network stuff more confusing, which I couldn't really help you with (I'm not an expert, I just read guides lol).
Hey man thanks for your reply. That shouldn't be an issue, I host a few services from another machine with Docker. What's odd is that I don't see any Apache server installed in Docker, just the mariaDB.
How did you install it, with or without docker?
You'll find the webserver is inside the 'qrcode' container, while the database is inside the 'mariadb' container.
This can be referenced via docker-compose.yml - https://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/blob/master/docker/docker-compose.yml
from php-dynamic-qr-code.
Hey, I get the same error with user Permission is there any solution?
Thanks a lot!
from php-dynamic-qr-code.
just released 2.0 version
from php-dynamic-qr-code.
Related Issues (20)
- Update from version 1.0 to 2.0 gives error related to table name. HOT 6
- Multiple url dynamic code HOT 1
- LDAP or SSO login and account creation HOT 1
- Error when changing the default database password HOT 1
- C'ant delete the code generated for demo HOT 1
- QR Dynamics
- How to add function addLogo() HOT 1
- Two-factor authentication / 2FA possible ? HOT 3
- fixed qr-code but the option to change the URL later ? HOT 1
- Bug for website bookmark qrcode type on iphone HOT 1
- Dynamic QR Code text limit much too small HOT 1
- Re-create QR code after editing. HOT 1
- Backup / Restore - how to do it right ? HOT 3
- self hosted qr-code generator insted of api.qrserver.com possible ? HOT 13
- Newly created qrcodes don't show up on the web ui, and also changing the address of an existing dynamic qrcode don't show on the list of URL column. HOT 9
- Security: Stored Cross Site Scripting for static QR code HOT 2
- using a "DATABASE_PREFIX" like "qr_" gives error when trying to edit qr codes. HOT 1
- Version not updated in footer for last two updates HOT 1
- Submit button and tabs HOT 4
- Error on install/setup.php 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 php-dynamic-qr-code.