1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1587
+user: Proxies\__CG__\App\Entity\User {#2137 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "LinguaCafe-Confused-why-the-provided-docker-compose-doesn-t-work"
+title: "LinguaCafe - Confused why the provided docker-compose doesn't work."
+url: null
+body: """
Hello everyone,\n
\n
Recently found LinguaCafe and decided to spin it up. There’s a provided docker-compose with just volumes to specify to your own taste. Pretty easy right?\n
\n
I can’t make it work. Spent nearly two hours already trying to figure out what I’m missing.\n
\n
Can someone take a look at my compose file and tell me where I’m stupid?\n
\n
_____________ EDITS\n
\n
Progress has been made, I used chmod 777 on the whole app directory and now get the following error : Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user ‘linguacafe’@‘ip adress censored’ (using password: YES) (SQL: select count(*) as aggregate from `users`)\n
\n
---\n
\n
Here’s a somewhat anonymized pastebin, I just removed the password and my name from the file. The rest is basically the file provided by the github + my paths. [pastebin.com/u2cbWm2n](https://pastebin.com/u2cbWm2n)\n
\n
[github.com/simjanos-dev/LinguaCafe](https://github.com/simjanos-dev/LinguaCafe)\n
\n
What happens is, my containers spin up apparently properly. But when I go to :9191, I have this:\n
\n
[imgur.com/a/PiazCcP](https://imgur.com/a/PiazCcP)\n
\n
I did sudo chmod 777 /home/user/Documents/Docker/LinguaCafe/temp -R as instructed by the documentation.\n
\n
Never had that happen before. Does anyone know? Thanks
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 13
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727384933 {#2338
date: 2024-09-26 23:08:53.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2073 …}
+votes: Doctrine\ORM\PersistentCollection {#2049 …}
+reports: Doctrine\ORM\PersistentCollection {#2051 …}
+favourites: Doctrine\ORM\PersistentCollection {#2059 …}
+notifications: Doctrine\ORM\PersistentCollection {#2047 …}
+badges: Doctrine\ORM\PersistentCollection {#2057 …}
+children: [
App\Entity\EntryComment {#1646
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1587 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: null
+root: null
+body: "That error message says it the permissions of the `/home/user/Documents/Docker/LinguaCafe/logs` directory. You can try changing it full r/w temporarily to test."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705760190 {#1697
date: 2024-01-20 15:16:30.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Natal@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1526 …}
+nested: Doctrine\ORM\PersistentCollection {#1560 …}
+votes: Doctrine\ORM\PersistentCollection {#1551 …}
+reports: Doctrine\ORM\PersistentCollection {#1585 …}
+favourites: Doctrine\ORM\PersistentCollection {#1567 …}
+notifications: Doctrine\ORM\PersistentCollection {#1552 …}
-id: 325689
-bodyTs: "'/home/user/documents/docker/linguacafe/logs':10 'chang':15 'directori':11 'error':2 'full':17 'messag':3 'permiss':7 'r/w':18 'say':4 'temporarili':19 'test':21 'tri':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6376813"
+editedAt: null
+createdAt: DateTimeImmutable @1705760190 {#1709
date: 2024-01-20 15:16:30.0 +01:00
}
+"title": 325689
}
]
-id: 31925
-titleTs: "'compos':8 'confus':2 'docker':7 'docker-compos':6 'doesn':9 'linguacaf':1 'provid':5 'work':11"
-bodyTs: "'/a/piazccp](https://imgur.com/a/piazccp)':165 '/home/user/documents/docker/linguacafe/temp':171 '/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':144 '/u2cbwm2n](https://pastebin.com/u2cbwm2n)':141 '1045':91 '777':74,170 '9191':159 'access':92 'adress':98 'aggreg':107 'alreadi':41 'anonym':114 'anyon':184 'app':78 'appar':152 'basic':130 'censor':99 'chmod':73,169 'compos':18,57 'contain':149 'count':105 'databas':87 'decid':7 'deni':93 'directori':79 'docker':17 'docker-compos':16 'document':177 'easi':29 'edit':66 'error':85 'everyon':2 'figur':44 'file':58,126,132 'follow':84 'found':4 'get':82 'github':136 'github.com':143 'github.com/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':142 'go':157 'happen':146,181 'hello':1 'hour':40 'hy000':90 'illumin':86 'imgur.com':164 'imgur.com/a/piazccp](https://imgur.com/a/piazccp)':163 'instruct':174 'ip':97 'know':185 'linguacaf':5,96 'look':54 'm':48,64 'made':70 'make':34 'miss':49 'name':123 'near':38 'never':178 'password':101,120 'pastebin':115 'pastebin.com':140 'pastebin.com/u2cbwm2n](https://pastebin.com/u2cbwm2n)':139 'path':138 'pretti':28 'progress':67 'proper':153 'provid':15,133 'queryexcept':88 'r':172 'recent':3 'remov':118 'rest':128 'right':30 'select':104 'someon':51 'somewhat':113 'specifi':23 'spent':37 'spin':9,150 'sql':103 'sqlstate':89 'stupid':65 'sudo':168 'take':52 'tast':27 'tell':60 'thank':186 'tri':42 'two':39 'use':72,100 'user':95,109 'volum':21 'whole':77 'work':36 'yes':102"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705834246
+visibility: "visible "
+apId: "https://lemmy.world/post/10947196"
+editedAt: DateTimeImmutable @1727099797 {#2083
date: 2024-09-23 15:56:37.0 +02:00
}
+createdAt: DateTimeImmutable @1705752246 {#2063
date: 2024-01-20 13:04:06.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
Proxies\__CG__\App\Entity\Entry {#1587
+user: Proxies\__CG__\App\Entity\User {#2137 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "LinguaCafe-Confused-why-the-provided-docker-compose-doesn-t-work"
+title: "LinguaCafe - Confused why the provided docker-compose doesn't work."
+url: null
+body: """
Hello everyone,\n
\n
Recently found LinguaCafe and decided to spin it up. There’s a provided docker-compose with just volumes to specify to your own taste. Pretty easy right?\n
\n
I can’t make it work. Spent nearly two hours already trying to figure out what I’m missing.\n
\n
Can someone take a look at my compose file and tell me where I’m stupid?\n
\n
_____________ EDITS\n
\n
Progress has been made, I used chmod 777 on the whole app directory and now get the following error : Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user ‘linguacafe’@‘ip adress censored’ (using password: YES) (SQL: select count(*) as aggregate from `users`)\n
\n
---\n
\n
Here’s a somewhat anonymized pastebin, I just removed the password and my name from the file. The rest is basically the file provided by the github + my paths. [pastebin.com/u2cbWm2n](https://pastebin.com/u2cbWm2n)\n
\n
[github.com/simjanos-dev/LinguaCafe](https://github.com/simjanos-dev/LinguaCafe)\n
\n
What happens is, my containers spin up apparently properly. But when I go to :9191, I have this:\n
\n
[imgur.com/a/PiazCcP](https://imgur.com/a/PiazCcP)\n
\n
I did sudo chmod 777 /home/user/Documents/Docker/LinguaCafe/temp -R as instructed by the documentation.\n
\n
Never had that happen before. Does anyone know? Thanks
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 13
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727384933 {#2338
date: 2024-09-26 23:08:53.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2073 …}
+votes: Doctrine\ORM\PersistentCollection {#2049 …}
+reports: Doctrine\ORM\PersistentCollection {#2051 …}
+favourites: Doctrine\ORM\PersistentCollection {#2059 …}
+notifications: Doctrine\ORM\PersistentCollection {#2047 …}
+badges: Doctrine\ORM\PersistentCollection {#2057 …}
+children: [
App\Entity\EntryComment {#1646
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1587 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: null
+root: null
+body: "That error message says it the permissions of the `/home/user/Documents/Docker/LinguaCafe/logs` directory. You can try changing it full r/w temporarily to test."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705760190 {#1697
date: 2024-01-20 15:16:30.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Natal@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1526 …}
+nested: Doctrine\ORM\PersistentCollection {#1560 …}
+votes: Doctrine\ORM\PersistentCollection {#1551 …}
+reports: Doctrine\ORM\PersistentCollection {#1585 …}
+favourites: Doctrine\ORM\PersistentCollection {#1567 …}
+notifications: Doctrine\ORM\PersistentCollection {#1552 …}
-id: 325689
-bodyTs: "'/home/user/documents/docker/linguacafe/logs':10 'chang':15 'directori':11 'error':2 'full':17 'messag':3 'permiss':7 'r/w':18 'say':4 'temporarili':19 'test':21 'tri':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6376813"
+editedAt: null
+createdAt: DateTimeImmutable @1705760190 {#1709
date: 2024-01-20 15:16:30.0 +01:00
}
+"title": 325689
}
]
-id: 31925
-titleTs: "'compos':8 'confus':2 'docker':7 'docker-compos':6 'doesn':9 'linguacaf':1 'provid':5 'work':11"
-bodyTs: "'/a/piazccp](https://imgur.com/a/piazccp)':165 '/home/user/documents/docker/linguacafe/temp':171 '/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':144 '/u2cbwm2n](https://pastebin.com/u2cbwm2n)':141 '1045':91 '777':74,170 '9191':159 'access':92 'adress':98 'aggreg':107 'alreadi':41 'anonym':114 'anyon':184 'app':78 'appar':152 'basic':130 'censor':99 'chmod':73,169 'compos':18,57 'contain':149 'count':105 'databas':87 'decid':7 'deni':93 'directori':79 'docker':17 'docker-compos':16 'document':177 'easi':29 'edit':66 'error':85 'everyon':2 'figur':44 'file':58,126,132 'follow':84 'found':4 'get':82 'github':136 'github.com':143 'github.com/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':142 'go':157 'happen':146,181 'hello':1 'hour':40 'hy000':90 'illumin':86 'imgur.com':164 'imgur.com/a/piazccp](https://imgur.com/a/piazccp)':163 'instruct':174 'ip':97 'know':185 'linguacaf':5,96 'look':54 'm':48,64 'made':70 'make':34 'miss':49 'name':123 'near':38 'never':178 'password':101,120 'pastebin':115 'pastebin.com':140 'pastebin.com/u2cbwm2n](https://pastebin.com/u2cbwm2n)':139 'path':138 'pretti':28 'progress':67 'proper':153 'provid':15,133 'queryexcept':88 'r':172 'recent':3 'remov':118 'rest':128 'right':30 'select':104 'someon':51 'somewhat':113 'specifi':23 'spent':37 'spin':9,150 'sql':103 'sqlstate':89 'stupid':65 'sudo':168 'take':52 'tast':27 'tell':60 'thank':186 'tri':42 'two':39 'use':72,100 'user':95,109 'volum':21 'whole':77 'work':36 'yes':102"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705834246
+visibility: "visible "
+apId: "https://lemmy.world/post/10947196"
+editedAt: DateTimeImmutable @1727099797 {#2083
date: 2024-09-23 15:56:37.0 +02:00
}
+createdAt: DateTimeImmutable @1705752246 {#2063
date: 2024-01-20 13:04:06.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1587
+user: Proxies\__CG__\App\Entity\User {#2137 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "LinguaCafe-Confused-why-the-provided-docker-compose-doesn-t-work"
+title: "LinguaCafe - Confused why the provided docker-compose doesn't work."
+url: null
+body: """
Hello everyone,\n
\n
Recently found LinguaCafe and decided to spin it up. There’s a provided docker-compose with just volumes to specify to your own taste. Pretty easy right?\n
\n
I can’t make it work. Spent nearly two hours already trying to figure out what I’m missing.\n
\n
Can someone take a look at my compose file and tell me where I’m stupid?\n
\n
_____________ EDITS\n
\n
Progress has been made, I used chmod 777 on the whole app directory and now get the following error : Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user ‘linguacafe’@‘ip adress censored’ (using password: YES) (SQL: select count(*) as aggregate from `users`)\n
\n
---\n
\n
Here’s a somewhat anonymized pastebin, I just removed the password and my name from the file. The rest is basically the file provided by the github + my paths. [pastebin.com/u2cbWm2n](https://pastebin.com/u2cbWm2n)\n
\n
[github.com/simjanos-dev/LinguaCafe](https://github.com/simjanos-dev/LinguaCafe)\n
\n
What happens is, my containers spin up apparently properly. But when I go to :9191, I have this:\n
\n
[imgur.com/a/PiazCcP](https://imgur.com/a/PiazCcP)\n
\n
I did sudo chmod 777 /home/user/Documents/Docker/LinguaCafe/temp -R as instructed by the documentation.\n
\n
Never had that happen before. Does anyone know? Thanks
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 13
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727384933 {#2338
date: 2024-09-26 23:08:53.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2073 …}
+votes: Doctrine\ORM\PersistentCollection {#2049 …}
+reports: Doctrine\ORM\PersistentCollection {#2051 …}
+favourites: Doctrine\ORM\PersistentCollection {#2059 …}
+notifications: Doctrine\ORM\PersistentCollection {#2047 …}
+badges: Doctrine\ORM\PersistentCollection {#2057 …}
+children: [
App\Entity\EntryComment {#1646
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1587 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: null
+root: null
+body: "That error message says it the permissions of the `/home/user/Documents/Docker/LinguaCafe/logs` directory. You can try changing it full r/w temporarily to test."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705760190 {#1697
date: 2024-01-20 15:16:30.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Natal@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1526 …}
+nested: Doctrine\ORM\PersistentCollection {#1560 …}
+votes: Doctrine\ORM\PersistentCollection {#1551 …}
+reports: Doctrine\ORM\PersistentCollection {#1585 …}
+favourites: Doctrine\ORM\PersistentCollection {#1567 …}
+notifications: Doctrine\ORM\PersistentCollection {#1552 …}
-id: 325689
-bodyTs: "'/home/user/documents/docker/linguacafe/logs':10 'chang':15 'directori':11 'error':2 'full':17 'messag':3 'permiss':7 'r/w':18 'say':4 'temporarili':19 'test':21 'tri':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6376813"
+editedAt: null
+createdAt: DateTimeImmutable @1705760190 {#1709
date: 2024-01-20 15:16:30.0 +01:00
}
+"title": 325689
}
]
-id: 31925
-titleTs: "'compos':8 'confus':2 'docker':7 'docker-compos':6 'doesn':9 'linguacaf':1 'provid':5 'work':11"
-bodyTs: "'/a/piazccp](https://imgur.com/a/piazccp)':165 '/home/user/documents/docker/linguacafe/temp':171 '/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':144 '/u2cbwm2n](https://pastebin.com/u2cbwm2n)':141 '1045':91 '777':74,170 '9191':159 'access':92 'adress':98 'aggreg':107 'alreadi':41 'anonym':114 'anyon':184 'app':78 'appar':152 'basic':130 'censor':99 'chmod':73,169 'compos':18,57 'contain':149 'count':105 'databas':87 'decid':7 'deni':93 'directori':79 'docker':17 'docker-compos':16 'document':177 'easi':29 'edit':66 'error':85 'everyon':2 'figur':44 'file':58,126,132 'follow':84 'found':4 'get':82 'github':136 'github.com':143 'github.com/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':142 'go':157 'happen':146,181 'hello':1 'hour':40 'hy000':90 'illumin':86 'imgur.com':164 'imgur.com/a/piazccp](https://imgur.com/a/piazccp)':163 'instruct':174 'ip':97 'know':185 'linguacaf':5,96 'look':54 'm':48,64 'made':70 'make':34 'miss':49 'name':123 'near':38 'never':178 'password':101,120 'pastebin':115 'pastebin.com':140 'pastebin.com/u2cbwm2n](https://pastebin.com/u2cbwm2n)':139 'path':138 'pretti':28 'progress':67 'proper':153 'provid':15,133 'queryexcept':88 'r':172 'recent':3 'remov':118 'rest':128 'right':30 'select':104 'someon':51 'somewhat':113 'specifi':23 'spent':37 'spin':9,150 'sql':103 'sqlstate':89 'stupid':65 'sudo':168 'take':52 'tast':27 'tell':60 'thank':186 'tri':42 'two':39 'use':72,100 'user':95,109 'volum':21 'whole':77 'work':36 'yes':102"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705834246
+visibility: "visible "
+apId: "https://lemmy.world/post/10947196"
+editedAt: DateTimeImmutable @1727099797 {#2083
date: 2024-09-23 15:56:37.0 +02:00
}
+createdAt: DateTimeImmutable @1705752246 {#2063
date: 2024-01-20 13:04:06.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1646
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1587
+user: Proxies\__CG__\App\Entity\User {#2137 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "LinguaCafe-Confused-why-the-provided-docker-compose-doesn-t-work"
+title: "LinguaCafe - Confused why the provided docker-compose doesn't work."
+url: null
+body: """
Hello everyone,\n
\n
Recently found LinguaCafe and decided to spin it up. There’s a provided docker-compose with just volumes to specify to your own taste. Pretty easy right?\n
\n
I can’t make it work. Spent nearly two hours already trying to figure out what I’m missing.\n
\n
Can someone take a look at my compose file and tell me where I’m stupid?\n
\n
_____________ EDITS\n
\n
Progress has been made, I used chmod 777 on the whole app directory and now get the following error : Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user ‘linguacafe’@‘ip adress censored’ (using password: YES) (SQL: select count(*) as aggregate from `users`)\n
\n
---\n
\n
Here’s a somewhat anonymized pastebin, I just removed the password and my name from the file. The rest is basically the file provided by the github + my paths. [pastebin.com/u2cbWm2n](https://pastebin.com/u2cbWm2n)\n
\n
[github.com/simjanos-dev/LinguaCafe](https://github.com/simjanos-dev/LinguaCafe)\n
\n
What happens is, my containers spin up apparently properly. But when I go to :9191, I have this:\n
\n
[imgur.com/a/PiazCcP](https://imgur.com/a/PiazCcP)\n
\n
I did sudo chmod 777 /home/user/Documents/Docker/LinguaCafe/temp -R as instructed by the documentation.\n
\n
Never had that happen before. Does anyone know? Thanks
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 13
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727384933 {#2338
date: 2024-09-26 23:08:53.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2073 …}
+votes: Doctrine\ORM\PersistentCollection {#2049 …}
+reports: Doctrine\ORM\PersistentCollection {#2051 …}
+favourites: Doctrine\ORM\PersistentCollection {#2059 …}
+notifications: Doctrine\ORM\PersistentCollection {#2047 …}
+badges: Doctrine\ORM\PersistentCollection {#2057 …}
+children: [
App\Entity\EntryComment {#1646}
]
-id: 31925
-titleTs: "'compos':8 'confus':2 'docker':7 'docker-compos':6 'doesn':9 'linguacaf':1 'provid':5 'work':11"
-bodyTs: "'/a/piazccp](https://imgur.com/a/piazccp)':165 '/home/user/documents/docker/linguacafe/temp':171 '/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':144 '/u2cbwm2n](https://pastebin.com/u2cbwm2n)':141 '1045':91 '777':74,170 '9191':159 'access':92 'adress':98 'aggreg':107 'alreadi':41 'anonym':114 'anyon':184 'app':78 'appar':152 'basic':130 'censor':99 'chmod':73,169 'compos':18,57 'contain':149 'count':105 'databas':87 'decid':7 'deni':93 'directori':79 'docker':17 'docker-compos':16 'document':177 'easi':29 'edit':66 'error':85 'everyon':2 'figur':44 'file':58,126,132 'follow':84 'found':4 'get':82 'github':136 'github.com':143 'github.com/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':142 'go':157 'happen':146,181 'hello':1 'hour':40 'hy000':90 'illumin':86 'imgur.com':164 'imgur.com/a/piazccp](https://imgur.com/a/piazccp)':163 'instruct':174 'ip':97 'know':185 'linguacaf':5,96 'look':54 'm':48,64 'made':70 'make':34 'miss':49 'name':123 'near':38 'never':178 'password':101,120 'pastebin':115 'pastebin.com':140 'pastebin.com/u2cbwm2n](https://pastebin.com/u2cbwm2n)':139 'path':138 'pretti':28 'progress':67 'proper':153 'provid':15,133 'queryexcept':88 'r':172 'recent':3 'remov':118 'rest':128 'right':30 'select':104 'someon':51 'somewhat':113 'specifi':23 'spent':37 'spin':9,150 'sql':103 'sqlstate':89 'stupid':65 'sudo':168 'take':52 'tast':27 'tell':60 'thank':186 'tri':42 'two':39 'use':72,100 'user':95,109 'volum':21 'whole':77 'work':36 'yes':102"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705834246
+visibility: "visible "
+apId: "https://lemmy.world/post/10947196"
+editedAt: DateTimeImmutable @1727099797 {#2083
date: 2024-09-23 15:56:37.0 +02:00
}
+createdAt: DateTimeImmutable @1705752246 {#2063
date: 2024-01-20 13:04:06.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: null
+root: null
+body: "That error message says it the permissions of the `/home/user/Documents/Docker/LinguaCafe/logs` directory. You can try changing it full r/w temporarily to test."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705760190 {#1697
date: 2024-01-20 15:16:30.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Natal@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1526 …}
+nested: Doctrine\ORM\PersistentCollection {#1560 …}
+votes: Doctrine\ORM\PersistentCollection {#1551 …}
+reports: Doctrine\ORM\PersistentCollection {#1585 …}
+favourites: Doctrine\ORM\PersistentCollection {#1567 …}
+notifications: Doctrine\ORM\PersistentCollection {#1552 …}
-id: 325689
-bodyTs: "'/home/user/documents/docker/linguacafe/logs':10 'chang':15 'directori':11 'error':2 'full':17 'messag':3 'permiss':7 'r/w':18 'say':4 'temporarili':19 'test':21 'tri':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6376813"
+editedAt: null
+createdAt: DateTimeImmutable @1705760190 {#1709
date: 2024-01-20 15:16:30.0 +01:00
}
+"title": 325689
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#1646
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1587
+user: Proxies\__CG__\App\Entity\User {#2137 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "LinguaCafe-Confused-why-the-provided-docker-compose-doesn-t-work"
+title: "LinguaCafe - Confused why the provided docker-compose doesn't work."
+url: null
+body: """
Hello everyone,\n
\n
Recently found LinguaCafe and decided to spin it up. There’s a provided docker-compose with just volumes to specify to your own taste. Pretty easy right?\n
\n
I can’t make it work. Spent nearly two hours already trying to figure out what I’m missing.\n
\n
Can someone take a look at my compose file and tell me where I’m stupid?\n
\n
_____________ EDITS\n
\n
Progress has been made, I used chmod 777 on the whole app directory and now get the following error : Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user ‘linguacafe’@‘ip adress censored’ (using password: YES) (SQL: select count(*) as aggregate from `users`)\n
\n
---\n
\n
Here’s a somewhat anonymized pastebin, I just removed the password and my name from the file. The rest is basically the file provided by the github + my paths. [pastebin.com/u2cbWm2n](https://pastebin.com/u2cbWm2n)\n
\n
[github.com/simjanos-dev/LinguaCafe](https://github.com/simjanos-dev/LinguaCafe)\n
\n
What happens is, my containers spin up apparently properly. But when I go to :9191, I have this:\n
\n
[imgur.com/a/PiazCcP](https://imgur.com/a/PiazCcP)\n
\n
I did sudo chmod 777 /home/user/Documents/Docker/LinguaCafe/temp -R as instructed by the documentation.\n
\n
Never had that happen before. Does anyone know? Thanks
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 13
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727384933 {#2338
date: 2024-09-26 23:08:53.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2073 …}
+votes: Doctrine\ORM\PersistentCollection {#2049 …}
+reports: Doctrine\ORM\PersistentCollection {#2051 …}
+favourites: Doctrine\ORM\PersistentCollection {#2059 …}
+notifications: Doctrine\ORM\PersistentCollection {#2047 …}
+badges: Doctrine\ORM\PersistentCollection {#2057 …}
+children: [
App\Entity\EntryComment {#1646}
]
-id: 31925
-titleTs: "'compos':8 'confus':2 'docker':7 'docker-compos':6 'doesn':9 'linguacaf':1 'provid':5 'work':11"
-bodyTs: "'/a/piazccp](https://imgur.com/a/piazccp)':165 '/home/user/documents/docker/linguacafe/temp':171 '/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':144 '/u2cbwm2n](https://pastebin.com/u2cbwm2n)':141 '1045':91 '777':74,170 '9191':159 'access':92 'adress':98 'aggreg':107 'alreadi':41 'anonym':114 'anyon':184 'app':78 'appar':152 'basic':130 'censor':99 'chmod':73,169 'compos':18,57 'contain':149 'count':105 'databas':87 'decid':7 'deni':93 'directori':79 'docker':17 'docker-compos':16 'document':177 'easi':29 'edit':66 'error':85 'everyon':2 'figur':44 'file':58,126,132 'follow':84 'found':4 'get':82 'github':136 'github.com':143 'github.com/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':142 'go':157 'happen':146,181 'hello':1 'hour':40 'hy000':90 'illumin':86 'imgur.com':164 'imgur.com/a/piazccp](https://imgur.com/a/piazccp)':163 'instruct':174 'ip':97 'know':185 'linguacaf':5,96 'look':54 'm':48,64 'made':70 'make':34 'miss':49 'name':123 'near':38 'never':178 'password':101,120 'pastebin':115 'pastebin.com':140 'pastebin.com/u2cbwm2n](https://pastebin.com/u2cbwm2n)':139 'path':138 'pretti':28 'progress':67 'proper':153 'provid':15,133 'queryexcept':88 'r':172 'recent':3 'remov':118 'rest':128 'right':30 'select':104 'someon':51 'somewhat':113 'specifi':23 'spent':37 'spin':9,150 'sql':103 'sqlstate':89 'stupid':65 'sudo':168 'take':52 'tast':27 'tell':60 'thank':186 'tri':42 'two':39 'use':72,100 'user':95,109 'volum':21 'whole':77 'work':36 'yes':102"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705834246
+visibility: "visible "
+apId: "https://lemmy.world/post/10947196"
+editedAt: DateTimeImmutable @1727099797 {#2083
date: 2024-09-23 15:56:37.0 +02:00
}
+createdAt: DateTimeImmutable @1705752246 {#2063
date: 2024-01-20 13:04:06.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: null
+root: null
+body: "That error message says it the permissions of the `/home/user/Documents/Docker/LinguaCafe/logs` directory. You can try changing it full r/w temporarily to test."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705760190 {#1697
date: 2024-01-20 15:16:30.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Natal@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1526 …}
+nested: Doctrine\ORM\PersistentCollection {#1560 …}
+votes: Doctrine\ORM\PersistentCollection {#1551 …}
+reports: Doctrine\ORM\PersistentCollection {#1585 …}
+favourites: Doctrine\ORM\PersistentCollection {#1567 …}
+notifications: Doctrine\ORM\PersistentCollection {#1552 …}
-id: 325689
-bodyTs: "'/home/user/documents/docker/linguacafe/logs':10 'chang':15 'directori':11 'error':2 'full':17 'messag':3 'permiss':7 'r/w':18 'say':4 'temporarili':19 'test':21 'tri':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6376813"
+editedAt: null
+createdAt: DateTimeImmutable @1705760190 {#1709
date: 2024-01-20 15:16:30.0 +01:00
}
+"title": 325689
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1646
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1587
+user: Proxies\__CG__\App\Entity\User {#2137 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "LinguaCafe-Confused-why-the-provided-docker-compose-doesn-t-work"
+title: "LinguaCafe - Confused why the provided docker-compose doesn't work."
+url: null
+body: """
Hello everyone,\n
\n
Recently found LinguaCafe and decided to spin it up. There’s a provided docker-compose with just volumes to specify to your own taste. Pretty easy right?\n
\n
I can’t make it work. Spent nearly two hours already trying to figure out what I’m missing.\n
\n
Can someone take a look at my compose file and tell me where I’m stupid?\n
\n
_____________ EDITS\n
\n
Progress has been made, I used chmod 777 on the whole app directory and now get the following error : Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user ‘linguacafe’@‘ip adress censored’ (using password: YES) (SQL: select count(*) as aggregate from `users`)\n
\n
---\n
\n
Here’s a somewhat anonymized pastebin, I just removed the password and my name from the file. The rest is basically the file provided by the github + my paths. [pastebin.com/u2cbWm2n](https://pastebin.com/u2cbWm2n)\n
\n
[github.com/simjanos-dev/LinguaCafe](https://github.com/simjanos-dev/LinguaCafe)\n
\n
What happens is, my containers spin up apparently properly. But when I go to :9191, I have this:\n
\n
[imgur.com/a/PiazCcP](https://imgur.com/a/PiazCcP)\n
\n
I did sudo chmod 777 /home/user/Documents/Docker/LinguaCafe/temp -R as instructed by the documentation.\n
\n
Never had that happen before. Does anyone know? Thanks
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 13
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727384933 {#2338
date: 2024-09-26 23:08:53.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#2073 …}
+votes: Doctrine\ORM\PersistentCollection {#2049 …}
+reports: Doctrine\ORM\PersistentCollection {#2051 …}
+favourites: Doctrine\ORM\PersistentCollection {#2059 …}
+notifications: Doctrine\ORM\PersistentCollection {#2047 …}
+badges: Doctrine\ORM\PersistentCollection {#2057 …}
+children: [
App\Entity\EntryComment {#1646}
]
-id: 31925
-titleTs: "'compos':8 'confus':2 'docker':7 'docker-compos':6 'doesn':9 'linguacaf':1 'provid':5 'work':11"
-bodyTs: "'/a/piazccp](https://imgur.com/a/piazccp)':165 '/home/user/documents/docker/linguacafe/temp':171 '/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':144 '/u2cbwm2n](https://pastebin.com/u2cbwm2n)':141 '1045':91 '777':74,170 '9191':159 'access':92 'adress':98 'aggreg':107 'alreadi':41 'anonym':114 'anyon':184 'app':78 'appar':152 'basic':130 'censor':99 'chmod':73,169 'compos':18,57 'contain':149 'count':105 'databas':87 'decid':7 'deni':93 'directori':79 'docker':17 'docker-compos':16 'document':177 'easi':29 'edit':66 'error':85 'everyon':2 'figur':44 'file':58,126,132 'follow':84 'found':4 'get':82 'github':136 'github.com':143 'github.com/simjanos-dev/linguacafe](https://github.com/simjanos-dev/linguacafe)':142 'go':157 'happen':146,181 'hello':1 'hour':40 'hy000':90 'illumin':86 'imgur.com':164 'imgur.com/a/piazccp](https://imgur.com/a/piazccp)':163 'instruct':174 'ip':97 'know':185 'linguacaf':5,96 'look':54 'm':48,64 'made':70 'make':34 'miss':49 'name':123 'near':38 'never':178 'password':101,120 'pastebin':115 'pastebin.com':140 'pastebin.com/u2cbwm2n](https://pastebin.com/u2cbwm2n)':139 'path':138 'pretti':28 'progress':67 'proper':153 'provid':15,133 'queryexcept':88 'r':172 'recent':3 'remov':118 'rest':128 'right':30 'select':104 'someon':51 'somewhat':113 'specifi':23 'spent':37 'spin':9,150 'sql':103 'sqlstate':89 'stupid':65 'sudo':168 'take':52 'tast':27 'tell':60 'thank':186 'tri':42 'two':39 'use':72,100 'user':95,109 'volum':21 'whole':77 'work':36 'yes':102"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705834246
+visibility: "visible "
+apId: "https://lemmy.world/post/10947196"
+editedAt: DateTimeImmutable @1727099797 {#2083
date: 2024-09-23 15:56:37.0 +02:00
}
+createdAt: DateTimeImmutable @1705752246 {#2063
date: 2024-01-20 13:04:06.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: null
+root: null
+body: "That error message says it the permissions of the `/home/user/Documents/Docker/LinguaCafe/logs` directory. You can try changing it full r/w temporarily to test."
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705760190 {#1697
date: 2024-01-20 15:16:30.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Natal@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1526 …}
+nested: Doctrine\ORM\PersistentCollection {#1560 …}
+votes: Doctrine\ORM\PersistentCollection {#1551 …}
+reports: Doctrine\ORM\PersistentCollection {#1585 …}
+favourites: Doctrine\ORM\PersistentCollection {#1567 …}
+notifications: Doctrine\ORM\PersistentCollection {#1552 …}
-id: 325689
-bodyTs: "'/home/user/documents/docker/linguacafe/logs':10 'chang':15 'directori':11 'error':2 'full':17 'messag':3 'permiss':7 'r/w':18 'say':4 'temporarili':19 'test':21 'tri':14"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6376813"
+editedAt: null
+createdAt: DateTimeImmutable @1705760190 {#1709
date: 2024-01-20 15:16:30.0 +01:00
}
+"title": 325689
} |
|
Show voter details
|
9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
10 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
11 |
DENIED
|
edit
|
Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
12 |
DENIED
|
moderate
|
Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
} |
|
Show voter details
|
13 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
14 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
} |
|
Show voter details
|
15 |
DENIED
|
edit
|
App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
} |
|
Show voter details
|
16 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
} |
|
Show voter details
|
17 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
18 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
} |
|
Show voter details
|
19 |
DENIED
|
edit
|
App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
} |
|
Show voter details
|
20 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
} |
|
Show voter details
|
21 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
22 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
} |
|
Show voter details
|
23 |
DENIED
|
edit
|
App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
} |
|
Show voter details
|
24 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
} |
|
Show voter details
|
25 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
26 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
} |
|
Show voter details
|
27 |
DENIED
|
edit
|
App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
} |
|
Show voter details
|
28 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723}
0 => App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
} |
|
Show voter details
|
29 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
30 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
} |
|
Show voter details
|
31 |
DENIED
|
edit
|
App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
} |
|
Show voter details
|
32 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2447
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566
+user: Proxies\__CG__\App\Entity\User {#2084 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#2138 …}
+slug: "SOLVED-Has-anyone-installed-Shotshare-using-docker-compose"
+title: "SOLVED. Has anyone installed Shotshare using docker-compose ?"
+url: null
+body: """
Ok so the solution was this. Thank you @mouse@midwest.social\n
\n
`cd /home`\n
\n
`git clone https://github.com/mdshack/shotshare`\n
\n
`cd …/Files/`\n
\n
`sudo mkdir Shotshare`\n
\n
`cd …/Files/Shotshare`\n
\n
`sudo mkdir shotshare_data`\n
\n
`sudo touch .env database.sqlite`\n
\n
`cp -r /home/shotshare/storage/* …/Files/Shotshare/shotshare_data`\n
\n
`chown 82:82 -R …/Files/Shotshare/`\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - .../Files/Shotshare/shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - .../Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - .../Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```\n
\n
---\n
\n
Hello everyone.\n
\n
I am deeply struggling to install [shotshare](https://github.com/mdshack/shotshare) on my server using docker-compose.\n
\n
I followed the instructions and I’ve been [talking with someone](https://github.com/mdshack/shotshare/issues/27) (from their team I guess) for 2 weeks without finding a solution.\n
\n
Does anyone have a working docker-compose to share so I can compare it and understand ?
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 12
+favouriteCount: 10
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1727929431 {#2470
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#2132 …}
+votes: Doctrine\ORM\PersistentCollection {#2129 …}
+reports: Doctrine\ORM\PersistentCollection {#2140 …}
+favourites: Doctrine\ORM\PersistentCollection {#2300 …}
+notifications: Doctrine\ORM\PersistentCollection {#2329 …}
+badges: Doctrine\ORM\PersistentCollection {#2135 …}
+children: [
4 => App\Entity\EntryComment {#1565
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1725 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
This appears to be the exact same problem as [github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)\n
\n
For testing I just spun up a VM with Docker, I tried the same compose file as you. I found I had to use the volume instead of a bind mount for `/app/storage`.\n
\n
This compose file should work.\n
\n
```\n
\n
<span style="color:#323232;">version: "3.3"\n
</span><span style="color:#323232;">services:\n
</span><span style="color:#323232;"> shotshare:\n
</span><span style="color:#323232;"> ports:\n
</span><span style="color:#323232;"> - 2000:80\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:80\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - shotshare_data:/app/storage\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/database.sqlite:/app/database/database.sqlite\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/.env:/app/.env\n
</span><span style="color:#323232;"> restart: unless-stopped\n
</span><span style="color:#323232;"> container_name: shotshare\n
</span><span style="color:#323232;"> image: mdshack/shotshare:latest\n
</span><span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span><span style="color:#323232;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705937135 {#1653
date: 2024-01-22 16:25:35.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#1597 …}
+nested: Doctrine\ORM\PersistentCollection {#1618 …}
+votes: Doctrine\ORM\PersistentCollection {#1626 …}
+reports: Doctrine\ORM\PersistentCollection {#1629 …}
+favourites: Doctrine\ORM\PersistentCollection {#1598 …}
+notifications: Doctrine\ORM\PersistentCollection {#1616 …}
-id: 331603
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':45,67 '/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':12 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':70 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':68 '2000':56 '3.3':52 '80':57,60 'allow':61 'appear':2 'bind':42 'compos':27,47 'contain':76 'data':66,84 'docker':22 'environ':58 'exact':6 'fals':63 'file':28,48 'found':32 'github.com':11 'github.com/mdshack/shotshare/issues/31](https://github.com/mdshack/shotshare/issues/31)':10 'host':59 'imag':79 'instead':39 'latest':81 'mdshack/shotshare':80 'mount':43 'name':77 'network':85 'port':55 'problem':8 'registr':62 'restart':72 'servic':53 'shotshar':54,65,78,83 'spun':17 'stop':75 'test':14 'tri':24 'unless':74 'unless-stop':73 'use':36 'version':51 'vm':20 'volum':38,64,82 'work':50"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446274"
+editedAt: DateTimeImmutable @1727669355 {#1554
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#1558
date: 2024-01-22 16:25:35.0 +01:00
}
+"title": 331603
}
3 => App\Entity\EntryComment {#1692
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "It will be stored in `/var/lib/docker/volumes`, you can find the exact location by inspecting the volume. Use `docker volume ls` to list the volumes, and do `docker volume inspect <volume_name>` replacing <volume_name> with the one from the list. Look for “Mountpoint”, that is the exact location. You could try copying that to bind mount location, though I can’t be sure if it will continue to work."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705938890 {#1705
date: 2024-01-22 16:54:50.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1686 …}
+nested: Doctrine\ORM\PersistentCollection {#1680 …}
+votes: Doctrine\ORM\PersistentCollection {#1683 …}
+reports: Doctrine\ORM\PersistentCollection {#1702 …}
+favourites: Doctrine\ORM\PersistentCollection {#1596 …}
+notifications: Doctrine\ORM\PersistentCollection {#1613 …}
-id: 331674
-bodyTs: "'/var/lib/docker/volumes':6 'bind':53 'continu':65 'copi':50 'could':48 'docker':18,27 'exact':11,45 'find':9 'inspect':14,29 'list':22,38 'locat':12,46,55 'look':39 'ls':20 'mount':54 'mountpoint':41 'name':32 'one':35 'replac':30 'store':4 'sure':61 'though':56 'tri':49 'use':17 'volum':16,19,24,28,31 'work':67"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446825"
+editedAt: null
+createdAt: DateTimeImmutable @1705938890 {#1795
date: 2024-01-22 16:54:50.0 +01:00
}
+"title": 331674
}
1 => App\Entity\EntryComment {#1719
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1715 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "No, since you are using the bind mount, you do not need to use the volume."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939851 {#1729
date: 2024-01-22 17:10:51.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1714 …}
+nested: Doctrine\ORM\PersistentCollection {#1720 …}
+votes: Doctrine\ORM\PersistentCollection {#1717 …}
+reports: Doctrine\ORM\PersistentCollection {#1741 …}
+favourites: Doctrine\ORM\PersistentCollection {#1707 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 331728
-bodyTs: "'bind':7 'mount':8 'need':12 'sinc':2 'use':5,14 'volum':16"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447159"
+editedAt: null
+createdAt: DateTimeImmutable @1705939851 {#1724
date: 2024-01-22 17:10:51.0 +01:00
}
+"title": 331728
}
2 => App\Entity\EntryComment {#1723
+user: App\Entity\User {#264 …}
+entry: Proxies\__CG__\App\Entity\Entry {#1566 …2}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1691 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: """
I just did another test.\n
\n
You should be able to create the directories manually. I cheated by simply cloning the repo and copying them to the bind mount location like so. You can use the bind mount method like you wanted.\n
\n
```\n
\n
<span style="color:#323232;">git clone https://github.com/mdshack/shotshare\n
</span><span style="color:#323232;">cp -r shotshare/storage/* /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data/\n
</span><span style="color:#323232;">chown 82:82 -R /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/shotshare_data\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705939181 {#1621
date: 2024-01-22 16:59:41.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#1722 …}
+nested: Doctrine\ORM\PersistentCollection {#1726 …}
+votes: Doctrine\ORM\PersistentCollection {#1736 …}
+reports: Doctrine\ORM\PersistentCollection {#1737 …}
+favourites: Doctrine\ORM\PersistentCollection {#1732 …}
+notifications: Doctrine\ORM\PersistentCollection {#1735 …}
-id: 331690
-bodyTs: "'/mdshack/shotshare':46 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':50,55 '82':52,53 'abl':9 'anoth':4 'bind':27,36 'cheat':16 'chown':51 'clone':19,43 'copi':23 'cp':47 'creat':11 'directori':13 'git':42 'github.com':45 'github.com/mdshack/shotshare':44 'like':30,39 'locat':29 'manual':14 'method':38 'mount':28,37 'r':48,54 'repo':21 'shotshare/storage':49 'simpli':18 'test':5 'use':34 'want':41"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6446925"
+editedAt: DateTimeImmutable @1727678847 {#1555
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#1617
date: 2024-01-22 16:59:41.0 +01:00
}
+"title": 331690
}
0 => App\Entity\EntryComment {#2447}
]
-id: 32374
-titleTs: "'anyon':3 'compos':9 'docker':8 'docker-compos':7 'instal':4 'shotshar':5 'solv':1 'use':6"
-bodyTs: "'/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/files':18 '/files/shotshare':23,40 '/files/shotshare/.env':59 '/files/shotshare/database.sqlite':57 '/files/shotshare/shotshare_data':35,55 '/home':11 '/home/shotshare/storage':34 '/mdshack/shotshare':16 '/mdshack/shotshare)':83 '/mdshack/shotshare/issues/27)':104 '2':111 '2000':46 '3.3':42 '80':47,50 '82':37,38 'allow':51 'anyon':118 'cd':10,17,22 'chown':36 'clone':13 'compar':130 'compos':90,124 'contain':65 'cp':32 'data':27 'database.sqlite':31 'deepli':76 'docker':89,123 'docker-compos':88,122 'env':30 'environ':48 'everyon':73 'fals':53 'find':114 'follow':92 'git':12 'github.com':15,82,103 'github.com/mdshack/shotshare':14 'github.com/mdshack/shotshare)':81 'github.com/mdshack/shotshare/issues/27)':102 'guess':109 'hello':72 'host':49 'imag':68 'instal':79 'instruct':94 'latest':70 'mdshack/shotshare':69 'mkdir':20,25 'mouse@midwest.social':9 'name':66 'network':71 'ok':1 'port':45 'r':33,39 'registr':52 'restart':61 'server':86 'servic':43 'share':126 'shotshar':21,26,44,67,80 'solut':4,116 'someon':101 'stop':64 'struggl':77 'sudo':19,24,28 'talk':99 'team':107 'thank':7 'touch':29 'understand':133 'unless':63 'unless-stop':62 'use':87 've':97 'version':41 'volum':54 'week':112 'without':113 'work':121"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1705992805
+visibility: "visible "
+apId: "https://lemmy.ml/post/10888417"
+editedAt: DateTimeImmutable @1727685506 {#2384
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2383
date: 2024-01-22 15:05:05.0 +01:00
}
+__isInitialized__: true
…2
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1528 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2422 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1731 …}
+body: "You’re welcome! Also thanks for asking this question, I hadn’t seen ShotShare before, it looks useful."
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940239 {#2448
date: 2024-01-22 17:17:19.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#2462 …}
+nested: Doctrine\ORM\PersistentCollection {#2461 …}
+votes: Doctrine\ORM\PersistentCollection {#2460 …}
+reports: Doctrine\ORM\PersistentCollection {#2452 …}
+favourites: Doctrine\ORM\PersistentCollection {#2454 …}
+notifications: Doctrine\ORM\PersistentCollection {#2459 …}
-id: 331745
-bodyTs: "'also':4 'ask':7 'hadn':11 'look':17 'question':9 're':2 'seen':13 'shotshar':14 'thank':5 'use':18 'welcom':3"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://midwest.social/comment/6447285"
+editedAt: null
+createdAt: DateTimeImmutable @1705940239 {#2411
date: 2024-01-22 17:17:19.0 +01:00
}
+"title": 331745
} |
|
Show voter details
|
33 |
DENIED
|
ROLE_ADMIN
|
null |
|
Show voter details
|
34 |
DENIED
|
ROLE_MODERATOR
|
null |
|
Show voter details
|