1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
} |
|
Show voter details
|
9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
10 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
} |
|
Show voter details
|
11 |
DENIED
|
edit
|
App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
} |
|
Show voter details
|
12 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
} |
|
Show voter details
|
13 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
14 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
} |
|
Show voter details
|
15 |
DENIED
|
edit
|
App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
} |
|
Show voter details
|
16 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
} |
|
Show voter details
|
17 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
18 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
} |
|
Show voter details
|
19 |
DENIED
|
edit
|
App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
} |
|
Show voter details
|
20 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
} |
|
Show voter details
|
21 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
22 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4229
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4224
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 {#4221 …}
+nested: Doctrine\ORM\PersistentCollection {#4218 …}
+votes: Doctrine\ORM\PersistentCollection {#4216 …}
+reports: Doctrine\ORM\PersistentCollection {#4230 …}
+favourites: Doctrine\ORM\PersistentCollection {#4232 …}
+notifications: Doctrine\ORM\PersistentCollection {#4234 …}
-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 {#4227
date: 2024-01-22 16:54:50.0 +01:00
}
} |
|
Show voter details
|
23 |
DENIED
|
edit
|
App\Entity\EntryComment {#4229
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4224
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 {#4221 …}
+nested: Doctrine\ORM\PersistentCollection {#4218 …}
+votes: Doctrine\ORM\PersistentCollection {#4216 …}
+reports: Doctrine\ORM\PersistentCollection {#4230 …}
+favourites: Doctrine\ORM\PersistentCollection {#4232 …}
+notifications: Doctrine\ORM\PersistentCollection {#4234 …}
-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 {#4227
date: 2024-01-22 16:54:50.0 +01:00
}
} |
|
Show voter details
|
24 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4229
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4224
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 {#4221 …}
+nested: Doctrine\ORM\PersistentCollection {#4218 …}
+votes: Doctrine\ORM\PersistentCollection {#4216 …}
+reports: Doctrine\ORM\PersistentCollection {#4230 …}
+favourites: Doctrine\ORM\PersistentCollection {#4232 …}
+notifications: Doctrine\ORM\PersistentCollection {#4234 …}
-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 {#4227
date: 2024-01-22 16:54:50.0 +01:00
}
} |
|
Show voter details
|
25 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
26 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
} |
|
Show voter details
|
27 |
DENIED
|
edit
|
App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
} |
|
Show voter details
|
28 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
} |
|
Show voter details
|
29 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
30 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
} |
|
Show voter details
|
31 |
DENIED
|
edit
|
App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
} |
|
Show voter details
|
32 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
} |
|
Show voter details
|
33 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
34 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4292
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4297
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 {#4300 …}
+nested: Doctrine\ORM\PersistentCollection {#4304 …}
+votes: Doctrine\ORM\PersistentCollection {#4306 …}
+reports: Doctrine\ORM\PersistentCollection {#4307 …}
+favourites: Doctrine\ORM\PersistentCollection {#4309 …}
+notifications: Doctrine\ORM\PersistentCollection {#4311 …}
-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 {#4294
date: 2024-01-22 17:10:51.0 +01:00
}
} |
|
Show voter details
|
35 |
DENIED
|
edit
|
App\Entity\EntryComment {#4292
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4297
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 {#4300 …}
+nested: Doctrine\ORM\PersistentCollection {#4304 …}
+votes: Doctrine\ORM\PersistentCollection {#4306 …}
+reports: Doctrine\ORM\PersistentCollection {#4307 …}
+favourites: Doctrine\ORM\PersistentCollection {#4309 …}
+notifications: Doctrine\ORM\PersistentCollection {#4311 …}
-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 {#4294
date: 2024-01-22 17:10:51.0 +01:00
}
} |
|
Show voter details
|
36 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4292
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4297
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 {#4300 …}
+nested: Doctrine\ORM\PersistentCollection {#4304 …}
+votes: Doctrine\ORM\PersistentCollection {#4306 …}
+reports: Doctrine\ORM\PersistentCollection {#4307 …}
+favourites: Doctrine\ORM\PersistentCollection {#4309 …}
+notifications: Doctrine\ORM\PersistentCollection {#4311 …}
-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 {#4294
date: 2024-01-22 17:10:51.0 +01:00
}
} |
|
Show voter details
|
37 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
38 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4328
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4292
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4297
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 {#4300 …}
+nested: Doctrine\ORM\PersistentCollection {#4304 …}
+votes: Doctrine\ORM\PersistentCollection {#4306 …}
+reports: Doctrine\ORM\PersistentCollection {#4307 …}
+favourites: Doctrine\ORM\PersistentCollection {#4309 …}
+notifications: Doctrine\ORM\PersistentCollection {#4311 …}
-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 {#4294
date: 2024-01-22 17:10:51.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: "Thank you very much !"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940042 {#4323
date: 2024-01-22 17:14:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4320 …}
+nested: Doctrine\ORM\PersistentCollection {#4317 …}
+votes: Doctrine\ORM\PersistentCollection {#4315 …}
+reports: Doctrine\ORM\PersistentCollection {#4329 …}
+favourites: Doctrine\ORM\PersistentCollection {#4331 …}
+notifications: Doctrine\ORM\PersistentCollection {#4333 …}
-id: 331736
-bodyTs: "'much':4 'thank':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623873"
+editedAt: null
+createdAt: DateTimeImmutable @1705940042 {#4326
date: 2024-01-22 17:14:02.0 +01:00
}
} |
|
Show voter details
|
39 |
DENIED
|
edit
|
App\Entity\EntryComment {#4328
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4292
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4297
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 {#4300 …}
+nested: Doctrine\ORM\PersistentCollection {#4304 …}
+votes: Doctrine\ORM\PersistentCollection {#4306 …}
+reports: Doctrine\ORM\PersistentCollection {#4307 …}
+favourites: Doctrine\ORM\PersistentCollection {#4309 …}
+notifications: Doctrine\ORM\PersistentCollection {#4311 …}
-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 {#4294
date: 2024-01-22 17:10:51.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: "Thank you very much !"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940042 {#4323
date: 2024-01-22 17:14:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4320 …}
+nested: Doctrine\ORM\PersistentCollection {#4317 …}
+votes: Doctrine\ORM\PersistentCollection {#4315 …}
+reports: Doctrine\ORM\PersistentCollection {#4329 …}
+favourites: Doctrine\ORM\PersistentCollection {#4331 …}
+notifications: Doctrine\ORM\PersistentCollection {#4333 …}
-id: 331736
-bodyTs: "'much':4 'thank':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623873"
+editedAt: null
+createdAt: DateTimeImmutable @1705940042 {#4326
date: 2024-01-22 17:14:02.0 +01:00
}
} |
|
Show voter details
|
40 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4328
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4292
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4297
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 {#4300 …}
+nested: Doctrine\ORM\PersistentCollection {#4304 …}
+votes: Doctrine\ORM\PersistentCollection {#4306 …}
+reports: Doctrine\ORM\PersistentCollection {#4307 …}
+favourites: Doctrine\ORM\PersistentCollection {#4309 …}
+notifications: Doctrine\ORM\PersistentCollection {#4311 …}
-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 {#4294
date: 2024-01-22 17:10:51.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: "Thank you very much !"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940042 {#4323
date: 2024-01-22 17:14:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4320 …}
+nested: Doctrine\ORM\PersistentCollection {#4317 …}
+votes: Doctrine\ORM\PersistentCollection {#4315 …}
+reports: Doctrine\ORM\PersistentCollection {#4329 …}
+favourites: Doctrine\ORM\PersistentCollection {#4331 …}
+notifications: Doctrine\ORM\PersistentCollection {#4333 …}
-id: 331736
-bodyTs: "'much':4 'thank':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623873"
+editedAt: null
+createdAt: DateTimeImmutable @1705940042 {#4326
date: 2024-01-22 17:14:02.0 +01:00
}
} |
|
Show voter details
|
41 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
42 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4350
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4328
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4292
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4297
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 {#4300 …}
+nested: Doctrine\ORM\PersistentCollection {#4304 …}
+votes: Doctrine\ORM\PersistentCollection {#4306 …}
+reports: Doctrine\ORM\PersistentCollection {#4307 …}
+favourites: Doctrine\ORM\PersistentCollection {#4309 …}
+notifications: Doctrine\ORM\PersistentCollection {#4311 …}
-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 {#4294
date: 2024-01-22 17:10:51.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: "Thank you very much !"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940042 {#4323
date: 2024-01-22 17:14:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4320 …}
+nested: Doctrine\ORM\PersistentCollection {#4317 …}
+votes: Doctrine\ORM\PersistentCollection {#4315 …}
+reports: Doctrine\ORM\PersistentCollection {#4329 …}
+favourites: Doctrine\ORM\PersistentCollection {#4331 …}
+notifications: Doctrine\ORM\PersistentCollection {#4333 …}
-id: 331736
-bodyTs: "'much':4 'thank':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623873"
+editedAt: null
+createdAt: DateTimeImmutable @1705940042 {#4326
date: 2024-01-22 17:14:02.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4345
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 {#4342 …}
+nested: Doctrine\ORM\PersistentCollection {#4339 …}
+votes: Doctrine\ORM\PersistentCollection {#4337 …}
+reports: Doctrine\ORM\PersistentCollection {#4351 …}
+favourites: Doctrine\ORM\PersistentCollection {#4353 …}
+notifications: Doctrine\ORM\PersistentCollection {#4355 …}
-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 {#4348
date: 2024-01-22 17:17:19.0 +01:00
}
} |
|
Show voter details
|
43 |
DENIED
|
edit
|
App\Entity\EntryComment {#4350
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4328
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4292
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4297
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 {#4300 …}
+nested: Doctrine\ORM\PersistentCollection {#4304 …}
+votes: Doctrine\ORM\PersistentCollection {#4306 …}
+reports: Doctrine\ORM\PersistentCollection {#4307 …}
+favourites: Doctrine\ORM\PersistentCollection {#4309 …}
+notifications: Doctrine\ORM\PersistentCollection {#4311 …}
-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 {#4294
date: 2024-01-22 17:10:51.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: "Thank you very much !"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940042 {#4323
date: 2024-01-22 17:14:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4320 …}
+nested: Doctrine\ORM\PersistentCollection {#4317 …}
+votes: Doctrine\ORM\PersistentCollection {#4315 …}
+reports: Doctrine\ORM\PersistentCollection {#4329 …}
+favourites: Doctrine\ORM\PersistentCollection {#4331 …}
+notifications: Doctrine\ORM\PersistentCollection {#4333 …}
-id: 331736
-bodyTs: "'much':4 'thank':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623873"
+editedAt: null
+createdAt: DateTimeImmutable @1705940042 {#4326
date: 2024-01-22 17:14:02.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4345
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 {#4342 …}
+nested: Doctrine\ORM\PersistentCollection {#4339 …}
+votes: Doctrine\ORM\PersistentCollection {#4337 …}
+reports: Doctrine\ORM\PersistentCollection {#4351 …}
+favourites: Doctrine\ORM\PersistentCollection {#4353 …}
+notifications: Doctrine\ORM\PersistentCollection {#4355 …}
-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 {#4348
date: 2024-01-22 17:17:19.0 +01:00
}
} |
|
Show voter details
|
44 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4350
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4328
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4292
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4253
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh that’s great.\n
\n
So do I need to keep this ?\n
\n
```\n
\n
<span style="color:#323232;">volumes:\n
</span><span style="color:#323232;"> shotshare_data:\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705939699 {#4258
date: 2024-01-22 17:08:19.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4261 …}
+nested: Doctrine\ORM\PersistentCollection {#4265 …}
+votes: Doctrine\ORM\PersistentCollection {#4267 …}
+reports: Doctrine\ORM\PersistentCollection {#4268 …}
+favourites: Doctrine\ORM\PersistentCollection {#4270 …}
+notifications: Doctrine\ORM\PersistentCollection {#4272 …}
-id: 331721
-bodyTs: "'data':14 'great':4 'keep':10 'need':8 'oh':1 'shotshar':13 'volum':12"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623752"
+editedAt: null
+createdAt: DateTimeImmutable @1705939699 {#4255
date: 2024-01-22 17:08:19.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4297
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 {#4300 …}
+nested: Doctrine\ORM\PersistentCollection {#4304 …}
+votes: Doctrine\ORM\PersistentCollection {#4306 …}
+reports: Doctrine\ORM\PersistentCollection {#4307 …}
+favourites: Doctrine\ORM\PersistentCollection {#4309 …}
+notifications: Doctrine\ORM\PersistentCollection {#4311 …}
-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 {#4294
date: 2024-01-22 17:10:51.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: "Thank you very much !"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1705940042 {#4323
date: 2024-01-22 17:14:02.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4320 …}
+nested: Doctrine\ORM\PersistentCollection {#4317 …}
+votes: Doctrine\ORM\PersistentCollection {#4315 …}
+reports: Doctrine\ORM\PersistentCollection {#4329 …}
+favourites: Doctrine\ORM\PersistentCollection {#4331 …}
+notifications: Doctrine\ORM\PersistentCollection {#4333 …}
-id: 331736
-bodyTs: "'much':4 'thank':1"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623873"
+editedAt: null
+createdAt: DateTimeImmutable @1705940042 {#4326
date: 2024-01-22 17:14:02.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4345
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 {#4342 …}
+nested: Doctrine\ORM\PersistentCollection {#4339 …}
+votes: Doctrine\ORM\PersistentCollection {#4337 …}
+reports: Doctrine\ORM\PersistentCollection {#4351 …}
+favourites: Doctrine\ORM\PersistentCollection {#4353 …}
+notifications: Doctrine\ORM\PersistentCollection {#4355 …}
-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 {#4348
date: 2024-01-22 17:17:19.0 +01:00
}
} |
|
Show voter details
|
45 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
46 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4278 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Ugh permission issues…\n
\n
I have no idea how the shotshare image works, but an easier method is to specify the puid/pgid in the docker-compose:\n
\n
```\n
\n
<span style="color:#323232;">environment:\n
</span><span style="color:#323232;"> - PUID=82\n
</span><span style="color:#323232;"> - PGID=82\n
</span>\n
```\n
\n
If the docker image supports it, the `–user` flag is also helpful :).\n
\n
I know those works with volume mounts, no idea about bind mounts.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706005762 {#4274
date: 2024-01-23 11:29:22.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"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4279 …}
+nested: Doctrine\ORM\PersistentCollection {#4281 …}
+votes: Doctrine\ORM\PersistentCollection {#4283 …}
+reports: Doctrine\ORM\PersistentCollection {#4285 …}
+favourites: Doctrine\ORM\PersistentCollection {#4287 …}
+notifications: Doctrine\ORM\PersistentCollection {#4289 …}
-id: 333839
-bodyTs: "'82':29,31 'also':42 'bind':54 'compos':26 'docker':25,34 'docker-compos':24 'easier':15 'environ':27 'flag':40 'help':43 'idea':7,52 'imag':11,35 'issu':3 'know':45 'method':16 'mount':50,55 'permiss':2 'pgid':30 'puid':28 'puid/pgid':21 'shotshar':10 'specifi':19 'support':36 'ugh':1 'user':39 'volum':49 'work':12,47"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7647584"
+editedAt: DateTimeImmutable @1727930484 {#4275
date: 2024-10-03 06:41:24.0 +02:00
}
+createdAt: DateTimeImmutable @1706005762 {#4276
date: 2024-01-23 11:29:22.0 +01:00
}
} |
|
Show voter details
|
47 |
DENIED
|
edit
|
App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4278 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Ugh permission issues…\n
\n
I have no idea how the shotshare image works, but an easier method is to specify the puid/pgid in the docker-compose:\n
\n
```\n
\n
<span style="color:#323232;">environment:\n
</span><span style="color:#323232;"> - PUID=82\n
</span><span style="color:#323232;"> - PGID=82\n
</span>\n
```\n
\n
If the docker image supports it, the `–user` flag is also helpful :).\n
\n
I know those works with volume mounts, no idea about bind mounts.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706005762 {#4274
date: 2024-01-23 11:29:22.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"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4279 …}
+nested: Doctrine\ORM\PersistentCollection {#4281 …}
+votes: Doctrine\ORM\PersistentCollection {#4283 …}
+reports: Doctrine\ORM\PersistentCollection {#4285 …}
+favourites: Doctrine\ORM\PersistentCollection {#4287 …}
+notifications: Doctrine\ORM\PersistentCollection {#4289 …}
-id: 333839
-bodyTs: "'82':29,31 'also':42 'bind':54 'compos':26 'docker':25,34 'docker-compos':24 'easier':15 'environ':27 'flag':40 'help':43 'idea':7,52 'imag':11,35 'issu':3 'know':45 'method':16 'mount':50,55 'permiss':2 'pgid':30 'puid':28 'puid/pgid':21 'shotshar':10 'specifi':19 'support':36 'ugh':1 'user':39 'volum':49 'work':12,47"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7647584"
+editedAt: DateTimeImmutable @1727930484 {#4275
date: 2024-10-03 06:41:24.0 +02:00
}
+createdAt: DateTimeImmutable @1706005762 {#4276
date: 2024-01-23 11:29:22.0 +01:00
}
} |
|
Show voter details
|
48 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4277
+user: Proxies\__CG__\App\Entity\User {#4278 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4239
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4207
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4175
+user: Proxies\__CG__\App\Entity\User {#4173 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4103
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: App\Entity\EntryComment {#4086
+user: App\Entity\User {#4034 …}
+entry: App\Entity\Entry {#2412}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: "Where does it fail?"
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1727929431 {#4095
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4084 …}
+nested: Doctrine\ORM\PersistentCollection {#4082 …}
+votes: Doctrine\ORM\PersistentCollection {#4080 …}
+reports: Doctrine\ORM\PersistentCollection {#4078 …}
+favourites: Doctrine\ORM\PersistentCollection {#4046 …}
+notifications: Doctrine\ORM\PersistentCollection {#4050 …}
-id: 331462
-bodyTs: "'fail':4"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.world/comment/6915908"
+editedAt: null
+createdAt: DateTimeImmutable @1705934169 {#4031
date: 2024-01-22 15:36:09.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
I struggled a lot with ports.\n
\n
I still didn’t get how ports are configured in the container, but a user tried to help me and now I get an error 500\n
\n
Here’s my compose (path is OMV path)\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```\n
\n
![image](https://github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)\n
\n
```\n
\n
<span style="color:#323232;">ERR | ts=1705936180.7673454 logger=http.log.access msg=handled request request={"remote_ip":"192.168.1.106","remote_port":"57659","client_ip":"192.168.1.106","proto":"HTTP/1.1","method":"GET","host":"192.168.1.104:2000","uri":"/","headers":{"Dnt":["1"],"Sec-Gpc":["1"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"Accept-Language":["en-US,en;q=0.5"],"Accept-Encoding":["gzip, deflate"],"Cookie":[]}} bytes_read=0 user_id= duration=0.168065318 size=651 status=500 resp_headers={"Status":["500 Internal Server Error"],"X-Powered-By":["PHP/8.3.1"],"Cache-Control":["no-cache, private"],"Content-Encoding":["gzip"],"Vary":["Accept-Encoding"],"Server":["Caddy"],"Date":["Mon, 22 Jan 2024 15:09:40 GMT"],"Content-Type":["text/html; charset=UTF-8"]} \n
</span>\n
```\n
\n
I can’t wrap my head around this
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936512 {#4098
date: 2024-01-22 16:15:12.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
]
+children: Doctrine\ORM\PersistentCollection {#4156 …}
+nested: Doctrine\ORM\PersistentCollection {#4159 …}
+votes: Doctrine\ORM\PersistentCollection {#4161 …}
+reports: Doctrine\ORM\PersistentCollection {#4162 …}
+favourites: Doctrine\ORM\PersistentCollection {#4164 …}
+notifications: Doctrine\ORM\PersistentCollection {#4166 …}
-id: 331573
-bodyTs: "'-8':212 '/app/.env':60 '/app/database/database.sqlite':58 '/app/storage':56 '/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':75 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/.env':59 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/database.sqlite':57 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':55 '0':159 '0.168065318':163 '0.5':150 '0.8':141 '0.9':137 '09':203 '1':104,108,117 '10.0':124 '121.0':128 '15':202 '1705936180.7673454':78 '192.168.1.104':99 '192.168.1.106':87,93 '2000':46,47,50,100 '2024':201 '22':199 '3.3':42 '40':204 '500':32,167,171 '57659':90 '651':165 'accept':131,143,152,193 'accept-encod':151,192 'accept-languag':142 'agent':120 'aliv':112 'allow':51 'application/xhtml':133 'application/xml':135 'around':219 'byte':157 'cach':181,185 'cache-control':180 'caddi':196 'charset':210 'client':91 'compos':36 'configur':15 'connect':109 'contain':18,65 'content':188,207 'content-encod':187 'content-typ':206 'control':182 'cooki':156 'date':197 'deflat':155 'didn':9 'dnt':103 'durat':162 'en':146,148 'en-us':145 'encod':153,189,194 'environ':48 'err':76 'error':31,174 'fals':53 'firefox/121.0':130 'gecko/20100101':129 'get':11,29,97 'github.com':74 'github.com/mdshack/shotshare/assets/69852851/f368510c-652c-4d1f-be92-53fcf281c258)':73 'gmt':205 'gpc':107 'gzip':154,190 'handl':82 'head':218 'header':102,169 'help':24 'host':49,98 'http.log.access':80 'http/1.1':95 'id':161 'imag':68,72 'image/avif':138 'image/webp':139 'insecur':115 'intern':172 'ip':86,92 'jan':200 'keep':111 'keep-al':110 'languag':144 'latest':70 'logger':79 'lot':4 'mdshack/shotshare':69 'method':96 'mon':198 'mozilla/5.0':121 'msg':81 'name':66 'network':71 'no-cach':183 'nt':123 'omv':39 'path':37,40 'php/8.3.1':179 'port':6,13,45,89 'power':177 'privat':186 'proto':94 'q':136,140,149 'read':158 'registr':52 'remot':85,88 'request':83,84,116 'resp':168 'restart':61 'rv':127 'sec':106 'sec-gpc':105 'server':173,195 'servic':43 'shotshar':44,67 'size':164 'status':166,170 'still':8 'stop':64 'struggl':2 'text/html':132,209 'tri':22 'ts':77 'type':208 'unless':63 'unless-stop':62 'upgrad':114 'upgrade-insecure-request':113 'uri':101 'us':147 'user':21,119,160 'user-ag':118 'utf':211 'vari':191 'version':41 'volum':54 'win64':125 'window':122 'wrap':216 'x':176 'x-powered-bi':175 'x64':126 'xml':134"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622693"
+editedAt: null
+createdAt: DateTimeImmutable @1705936512 {#4101
date: 2024-01-22 16:15:12.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4178
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 {#4172 …}
+nested: Doctrine\ORM\PersistentCollection {#4170 …}
+votes: Doctrine\ORM\PersistentCollection {#4184 …}
+reports: Doctrine\ORM\PersistentCollection {#4186 …}
+favourites: Doctrine\ORM\PersistentCollection {#4188 …}
+notifications: Doctrine\ORM\PersistentCollection {#4190 …}
-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 {#4181
date: 2024-09-30 06:09:15.0 +02:00
}
+createdAt: DateTimeImmutable @1705937135 {#4183
date: 2024-01-22 16:25:35.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Oh wow, thanks for trying this. It is working indeed.\n
\n
I am an absolute begginer so let me ask. Where is `shotshare_data` on my machine ? Is it in docker volumes ( like `/var/lib/docker/volumes/`) ? Is there a way I can store data in `/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/` ?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705938638 {#4202
date: 2024-01-22 16:50:38.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4199 …}
+nested: Doctrine\ORM\PersistentCollection {#4196 …}
+votes: Doctrine\ORM\PersistentCollection {#4194 …}
+reports: Doctrine\ORM\PersistentCollection {#4208 …}
+favourites: Doctrine\ORM\PersistentCollection {#4210 …}
+notifications: Doctrine\ORM\PersistentCollection {#4212 …}
-id: 331661
-bodyTs: "'/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare':43 '/var/lib/docker/volumes':33 'absolut':14 'ask':19 'beggin':15 'data':23,41 'docker':30 'inde':10 'let':17 'like':32 'machin':26 'oh':1 'shotshar':22 'store':40 'thank':3 'tri':5 'volum':31 'way':37 'work':9 'wow':2"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7623384"
+editedAt: null
+createdAt: DateTimeImmutable @1705938638 {#4205
date: 2024-01-22 16:50:38.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+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 {#4236
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 {#4240 …}
+nested: Doctrine\ORM\PersistentCollection {#4242 …}
+votes: Doctrine\ORM\PersistentCollection {#4244 …}
+reports: Doctrine\ORM\PersistentCollection {#4246 …}
+favourites: Doctrine\ORM\PersistentCollection {#4248 …}
+notifications: Doctrine\ORM\PersistentCollection {#4250 …}
-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 {#4237
date: 2024-09-30 08:47:27.0 +02:00
}
+createdAt: DateTimeImmutable @1705939181 {#4238
date: 2024-01-22 16:59:41.0 +01:00
}
}
+root: App\Entity\EntryComment {#4086}
+body: """
Ugh permission issues…\n
\n
I have no idea how the shotshare image works, but an easier method is to specify the puid/pgid in the docker-compose:\n
\n
```\n
\n
<span style="color:#323232;">environment:\n
</span><span style="color:#323232;"> - PUID=82\n
</span><span style="color:#323232;"> - PGID=82\n
</span>\n
```\n
\n
If the docker image supports it, the `–user` flag is also helpful :).\n
\n
I know those works with volume mounts, no idea about bind mounts.
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1706005762 {#4274
date: 2024-01-23 11:29:22.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"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
"@Tiritibambix@lemmy.ml"
"@JASN_DE@lemmy.world"
"@mouse@midwest.social"
]
+children: Doctrine\ORM\PersistentCollection {#4279 …}
+nested: Doctrine\ORM\PersistentCollection {#4281 …}
+votes: Doctrine\ORM\PersistentCollection {#4283 …}
+reports: Doctrine\ORM\PersistentCollection {#4285 …}
+favourites: Doctrine\ORM\PersistentCollection {#4287 …}
+notifications: Doctrine\ORM\PersistentCollection {#4289 …}
-id: 333839
-bodyTs: "'82':29,31 'also':42 'bind':54 'compos':26 'docker':25,34 'docker-compos':24 'easier':15 'environ':27 'flag':40 'help':43 'idea':7,52 'imag':11,35 'issu':3 'know':45 'method':16 'mount':50,55 'permiss':2 'pgid':30 'puid':28 'puid/pgid':21 'shotshar':10 'specifi':19 'support':36 'ugh':1 'user':39 'volum':49 'work':12,47"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7647584"
+editedAt: DateTimeImmutable @1727930484 {#4275
date: 2024-10-03 06:41:24.0 +02:00
}
+createdAt: DateTimeImmutable @1706005762 {#4276
date: 2024-01-23 11:29:22.0 +01:00
}
} |
|
Show voter details
|
49 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
50 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4118
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
To give more information:\n
\n
I’m a portainer user and wanted to try shotshare as is looks exactly like what I need :)\n
\n
I followed these steps: sudo mkdir Shotshare and cd into this directory sudo touch .env database.sqlite sudo chown 82:82 .env database.sqlite\n
\n
and then tried this docker-compose:\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936642 {#4124
date: 2024-01-22 16:17:22.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4123 …}
+nested: Doctrine\ORM\PersistentCollection {#4122 …}
+votes: Doctrine\ORM\PersistentCollection {#4113 …}
+reports: Doctrine\ORM\PersistentCollection {#4116 …}
+favourites: Doctrine\ORM\PersistentCollection {#4111 …}
+notifications: Doctrine\ORM\PersistentCollection {#4109 …}
-id: 331581
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':67 '/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 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':66 '2000':57,58,61 '3.3':53 '82':41,42 'allow':62 'cd':31 'chown':40 'compos':51 'contain':76 'database.sqlite':38,44 'directori':34 'docker':50 'docker-compos':49 'env':37,43 'environ':59 'exact':18 'fals':64 'follow':24 'give':2 'host':60 'imag':79 'inform':4 'latest':81 'like':19 'look':17 'm':6 'mdshack/shotshare':80 'mkdir':28 'name':77 'need':22 'network':82 'port':56 'portain':8 'registr':63 'restart':72 'servic':54 'shotshar':14,29,55,78 'step':26 'stop':75 'sudo':27,35,39 'touch':36 'tri':13,47 'unless':74 'unless-stop':73 'user':9 'version':52 'volum':65 'want':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622734"
+editedAt: null
+createdAt: DateTimeImmutable @1705936642 {#4129
date: 2024-01-22 16:17:22.0 +01:00
}
} |
|
Show voter details
|
51 |
DENIED
|
edit
|
App\Entity\EntryComment {#4118
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
To give more information:\n
\n
I’m a portainer user and wanted to try shotshare as is looks exactly like what I need :)\n
\n
I followed these steps: sudo mkdir Shotshare and cd into this directory sudo touch .env database.sqlite sudo chown 82:82 .env database.sqlite\n
\n
and then tried this docker-compose:\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936642 {#4124
date: 2024-01-22 16:17:22.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4123 …}
+nested: Doctrine\ORM\PersistentCollection {#4122 …}
+votes: Doctrine\ORM\PersistentCollection {#4113 …}
+reports: Doctrine\ORM\PersistentCollection {#4116 …}
+favourites: Doctrine\ORM\PersistentCollection {#4111 …}
+notifications: Doctrine\ORM\PersistentCollection {#4109 …}
-id: 331581
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':67 '/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 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':66 '2000':57,58,61 '3.3':53 '82':41,42 'allow':62 'cd':31 'chown':40 'compos':51 'contain':76 'database.sqlite':38,44 'directori':34 'docker':50 'docker-compos':49 'env':37,43 'environ':59 'exact':18 'fals':64 'follow':24 'give':2 'host':60 'imag':79 'inform':4 'latest':81 'like':19 'look':17 'm':6 'mdshack/shotshare':80 'mkdir':28 'name':77 'need':22 'network':82 'port':56 'portain':8 'registr':63 'restart':72 'servic':54 'shotshar':14,29,55,78 'step':26 'stop':75 'sudo':27,35,39 'touch':36 'tri':13,47 'unless':74 'unless-stop':73 'user':9 'version':52 'volum':65 'want':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622734"
+editedAt: null
+createdAt: DateTimeImmutable @1705936642 {#4129
date: 2024-01-22 16:17:22.0 +01:00
}
} |
|
Show voter details
|
52 |
DENIED
|
moderate
|
App\Entity\EntryComment {#4118
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+entry: App\Entity\Entry {#2412
+user: Proxies\__CG__\App\Entity\User {#1970 …}
+magazine: App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
+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 {#2410
date: 2024-10-03 06:23:51.0 +02:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: [
"@mouse@midwest.social"
]
+comments: Doctrine\ORM\PersistentCollection {#1884 …}
+votes: Doctrine\ORM\PersistentCollection {#1973 …}
+reports: Doctrine\ORM\PersistentCollection {#1959 …}
+favourites: Doctrine\ORM\PersistentCollection {#1927 …}
+notifications: Doctrine\ORM\PersistentCollection {#2442 …}
+badges: Doctrine\ORM\PersistentCollection {#2440 …}
+children: []
-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 {#1850
date: 2024-09-30 10:38:26.0 +02:00
}
+createdAt: DateTimeImmutable @1705932305 {#2420
date: 2024-01-22 15:05:05.0 +01:00
}
}
+magazine: App\Entity\Magazine {#266}
+image: null
+parent: null
+root: null
+body: """
To give more information:\n
\n
I’m a portainer user and wanted to try shotshare as is looks exactly like what I need :)\n
\n
I followed these steps: sudo mkdir Shotshare and cd into this directory sudo touch .env database.sqlite sudo chown 82:82 .env database.sqlite\n
\n
and then tried this docker-compose:\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:2000\n
</span><span style="color:#323232;"> environment:\n
</span><span style="color:#323232;"> - HOST=:2000\n
</span><span style="color:#323232;"> - ALLOW_REGISTRATION=false\n
</span><span style="color:#323232;"> volumes:\n
</span><span style="color:#323232;"> - /srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/Files/Shotshare/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;">networks: {}\n
</span>\n
```
"""
+lang: "en"
+isAdult: false
+favouriteCount: 0
+score: 0
+lastActive: DateTime @1705936642 {#4124
date: 2024-01-22 16:17:22.0 +01:00
}
+ip: null
+tags: [
"323232"
]
+mentions: [
"@Tiritibambix@lemmy.ml"
]
+children: Doctrine\ORM\PersistentCollection {#4123 …}
+nested: Doctrine\ORM\PersistentCollection {#4122 …}
+votes: Doctrine\ORM\PersistentCollection {#4113 …}
+reports: Doctrine\ORM\PersistentCollection {#4116 …}
+favourites: Doctrine\ORM\PersistentCollection {#4111 …}
+notifications: Doctrine\ORM\PersistentCollection {#4109 …}
-id: 331581
-bodyTs: "'/app/.env':71 '/app/database/database.sqlite':69 '/app/storage':67 '/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 '/srv/dev-disk-by-uuid-7fe66601-5ca0-4c09-bc13-a015025fe53a/files/shotshare/shotshare_data':66 '2000':57,58,61 '3.3':53 '82':41,42 'allow':62 'cd':31 'chown':40 'compos':51 'contain':76 'database.sqlite':38,44 'directori':34 'docker':50 'docker-compos':49 'env':37,43 'environ':59 'exact':18 'fals':64 'follow':24 'give':2 'host':60 'imag':79 'inform':4 'latest':81 'like':19 'look':17 'm':6 'mdshack/shotshare':80 'mkdir':28 'name':77 'need':22 'network':82 'port':56 'portain':8 'registr':63 'restart':72 'servic':54 'shotshar':14,29,55,78 'step':26 'stop':75 'sudo':27,35,39 'touch':36 'tri':13,47 'unless':74 'unless-stop':73 'user':9 'version':52 'volum':65 'want':11"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://lemmy.ml/comment/7622734"
+editedAt: null
+createdAt: DateTimeImmutable @1705936642 {#4129
date: 2024-01-22 16:17:22.0 +01:00
}
} |
|
Show voter details
|
53 |
DENIED
|
edit
|
App\Entity\Magazine {#266
+icon: Proxies\__CG__\App\Entity\Image {#247 …}
+name: "selfhosted@lemmy.world"
+title: "selfhosted"
+description: """
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.\n
\n
Rules:\n
\n
- Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.\n
- No spam posting.\n
- Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.\n
- Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).\n
- No trolling.\n
\n
Resources:\n
\n
- [awesome-selfhosted software](https://github.com/awesome-selfhosted/awesome-selfhosted)\n
- [awesome-sysadmin](https://github.com/awesome-foss/awesome-sysadmin) resources\n
- [Self-Hosted Podcast from Jupiter Broadcasting](https://selfhosted.show)\n
\n
> Any issues on the community? Report it using the report flag.\n
\n
> Questions? DM the mods!
"""
+rules: null
+subscriptionsCount: 1
+entryCount: 222
+entryCommentCount: 3916
+postCount: 0
+postCommentCount: 0
+isAdult: false
+customCss: null
+lastActive: DateTime @1729582735 {#276
date: 2024-10-22 09:38:55.0 +02:00
}
+markedForDeletionAt: null
+tags: null
+moderators: Doctrine\ORM\PersistentCollection {#238 …}
+ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
+moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
+entries: Doctrine\ORM\PersistentCollection {#181 …}
+posts: Doctrine\ORM\PersistentCollection {#139 …}
+subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
+bans: Doctrine\ORM\PersistentCollection {#118 …}
+reports: Doctrine\ORM\PersistentCollection {#104 …}
+badges: Doctrine\ORM\PersistentCollection {#82 …}
+logs: Doctrine\ORM\PersistentCollection {#72 …}
+awards: Doctrine\ORM\PersistentCollection {#61 …}
+categories: Doctrine\ORM\PersistentCollection {#1820 …}
-id: 120
+apId: "selfhosted@lemmy.world"
+apProfileId: "https://lemmy.world/c/selfhosted"
+apPublicUrl: "https://lemmy.world/c/selfhosted"
+apFollowersUrl: "https://lemmy.world/c/selfhosted/followers"
+apInboxUrl: "https://lemmy.world/inbox"
+apDomain: "lemmy.world"
+apPreferredUsername: "selfhosted"
+apDiscoverable: true
+apManuallyApprovesFollowers: null
+privateKey: null
+publicKey: null
+apFetchedAt: DateTime @1703473826 {#270
date: 2023-12-25 04:10:26.0 +01:00
}
+apDeletedAt: null
+apTimeoutAt: null
+visibility: "visible "
+createdAt: DateTimeImmutable @1703473826 {#272
date: 2023-12-25 04:10:26.0 +01:00
}
} |
|
Show voter details
|