Jump to content

SPOautos

Members
  • Posts

    388
  • Joined

  • Last visited

Posts posted by SPOautos

  1. 6 hours ago, saarg said:

    You have two http and two https in the container template. The two on the bottom can be deleted.

     

    I know I sound retarded but I cant find a second set.  Are you refering to the Heimdall template?  Under the "show more settings" there is a PUID and PGID, are you refering to those? I can only find the one set of ports in my Heimdall template.

    image.thumb.png.328c4557dcf1c1c82010265b8b35ae76.png

     

     

    OHHH was my last post that had the template images confusing because I had Heimdall and Swag templates in the post back to back?

     

  2. On 10/20/2020 at 8:58 PM, ich777 said:

    No, don't do that, that messes up your whole installation.

     

    Exactly

    Just create a new path im the template from nextcloud that points to the directory on unraid for photoprism, don't change anything that's existing.

     

    I created the new directory in Nextcloud template then added the external storage and it is showing up great in Nextcloud. However it doesnt seem like I'm able to redirect the InstantUpload picture folder to the external storage folder. It 'seems' like Nextcloud creates those InstantUpload folders and wont allow me to redirect them. I even just tried to move the Instaupload picture folder to the external storage folder but it wont let me move it. 

     

    How were you able to connect your InstantUpload camera folder to the external storage folder?

     

    I promise I'm trying!!!  lol

    • Like 1
  3. 2 hours ago, saarg said:

    It should be like that if you stop swag.

    And if you use the wan IP, you get the same respons?

     

    You have double up for ports in your Heimdall template. Delete the extra set.

    If I stop Swag and go to my WAN address over the internet it does "this site cant be reached".

     

    I'm not following you regarding the Heimdall template ports. I only see one set of ports the http (280) and https (2443)....do you mean that I only need one of those, not both?

  4. 2 hours ago, SPOautos said:

     

    I was able to look at this again this morning. I stopped Swag and here is what I get.....if I go to heimdall via the internet using my custom url it says "the website cant be reached".  If I go in Unraid to dockers/heimdall/webui then it just opens another instance of Unraid.

     

    Heimdall is setup in the template to use the custom network type for reverse proxy, just like the other apps (radarr, sonarr, etc)....is that a issue? Should i not have set heimdall up in the reverse proxy network?

     

    Here are screenshots of the templates......

    Heimdall:

    image.thumb.png.328c4557dcf1c1c82010265b8b35ae76.png

     

    SWAG:

    image.thumb.png.d47bc6d224f7716cd3e9bb7afd00a451.png

    image.thumb.png.47eaf7c7b4a28bc3f5fea80acadb7574.png

     

    Hey @Saarg I just thought I'd quote this post, I think you may have not seen it since there were other posts after it. Hoping to get your input on it when you have some time. Thank You!

  5. On 10/20/2020 at 2:06 AM, saarg said:

     

    As I have said before, turn off swag and then see what happens if you go to the wan IP. If it still loads Heimdall, you have a port forwarding issue. If nothing loads, you have configured something in swag that makes Heimdall load.

     

     

    I was able to look at this again this morning. I stopped Swag and here is what I get.....if I go to heimdall via the internet using my custom url it says "the website cant be reached".  If I go in Unraid to dockers/heimdall/webui then it just opens another instance of Unraid.

     

    Heimdall is setup in the template to use the custom network type for reverse proxy, just like the other apps (radarr, sonarr, etc)....is that a issue? Should i not have set heimdall up in the reverse proxy network?

     

    Here are screenshots of the templates......

    Heimdall:

    image.thumb.png.328c4557dcf1c1c82010265b8b35ae76.png

     

    SWAG:

    image.thumb.png.d47bc6d224f7716cd3e9bb7afd00a451.png

    image.thumb.png.47eaf7c7b4a28bc3f5fea80acadb7574.png

  6. 59 minutes ago, H2O_King89 said:

    Dutch the duck and buy a domain they're like seven bucks a year

    Sent from my Pixel 4 XL using Tapatalk
     

     

    I'm a total newbie to these things so I'm trying to figure this stuff out.....

     

    How would you go about ditching dynamic DNS (duck dns)?  Are you saying it's better to create a static wan IP and use A records instead of cnames that point to the dynamic dns? If so, what are the benifits?

  7. 5 hours ago, ich777 said:

    Nice.

     

    First of all I would configure Nextcloud and Photoprism so that they share a directory and then set all up in the Nextcloud instance itself and lastly point the autoupload to the external folder:

    1. Go into your Nextcloud template and create a new path Container: '/mnt/external_photoprism_storage' and for the host path you have to select the photoprism import folder on your Unraid box.
    2. Then go into your Nextcloud instance and go to the settings and create the external storage pointing to '/mnt/external_photoprism_storage'
    3. On the phones you have to set the autoupload of the pictures to the external storege folder that you created above.

    It could happen that you have not enough permissions to use the '/mnt' folder then I would suggest that you use /external_photoprism_storage' without '/mnt' but at least I would try it works with '/mnt/external_photoprism_storage' (you don't have to change any of the settings within Photoprism if you already added a import folder).

     

    Hope that makes sense to you.

     

    Thank you for this info...I am going to work on this tonight! Quick question, just to make sure I understand you....when you say put them in the same directory do you mean instead of having /mnt/user/nextcloud and /mnt/user/media/pictures to instead do something like /mnt/user/device content/nextcloud and /mnt/user/device content/pictures so that Nextcloud and the Photoprism picture database on both under the same parent folder?

     

    Or do you just mean to have a shared folder (presumably the external storage folder) for all pictures that both applications are using....Nextcloud is dumping into and Photoprism is reading?

     

    I just want to make sure I'm clear on how you mean that before I start moving stuff around.  BTW, your help is greatly appreciated. Its pretty hard for someone like me to figure all this stuff out  lol.  I've not done a whole lot more than using a Windows pc to browse the internet, email, MS Word, Quickbooks accounting.....maybe a few very basic networking functions, not much more with a router than just plugging it in. This is my first time to actually build a computer all by myself and get it all set up.....so when I say I appreciate you and others on the forum who help out, I really mean that....I do appreciate it and absolutly could not do this without the help.  Thank You

  8. 9 hours ago, ich777 said:

    Hope everything is working as expected.

     

    Should work just fine, tested this with this exact configuratione but only with one phone. ;)

     

     

    Seems to be working well! I'm trying to get those image folders connected. Hope you dont mind me asking some more detail about how you set that up with your phone in Nextcloud.....So I am trying to setup the external storage and for it to point to a folder in Unraid (the folder that I will get PhotoPrism to look at). In Nextcloud, in the settings to create the external storage, did you select it to be "local" and then what did you use for "configuration" in my mind it would be the path to the folder so I put "mnt/user/media/family content" but that doesn't seem to work. 

     

     

  9. Do you guys know if there is a app or some other way to make a copy of a folder and keep updating automatically?  I have a bunch of devices I'm setting up on Nextcloud to backup to it. Each device will have its own folder for pictures and I want to automatically copy all of those pictures into a single folder....this way I have them all in individual folders as well as a folder that houses them all.

     

    I have been digging through the CA but can not find anything and I really dont want to install then remove a ton of different apps trying to find one that can do it. I thought maybe some type of backup app could do it, one that would allow me to backup specific folders all into one folder, all on the array.....most backups seem to be designed to put the backup somewhere else.

     

    Any info is greatly appreciated! Thanks!

  10. 6 minutes ago, dkerlee said:

    @realdiel 

     

    But, I've really begun to lose interest in the whole thing! I spend so much time away from home, that it's pretty much impossible to enjoy Roon. Sure I've got a VPN actually working (!) but even it fails and skips tracks frequently enough that the slick Roon experience isn't slick at all. 😔 

     

    I ended up deciding not to renew Roon for that exact reason....I want to be able to use it everywhere. I really like Roon and how it blends your owned music in with Tidal music. But once I started using Plex Amp (the plex just for music) I just couldnt justify having Roon ONLY for when I'm at home. I found myself using Plex 90% of the time because I listen more away from the house. Plex Amp is free with a Plex Pass. 

  11. 7 hours ago, saarg said:

    Sounds correct. Does it work?

    What I don't understand is the use of duckdns if you have your own domain. If your domain registrar doesn't support any dyndns, you can use cloudflare for free.

     

    Yea, domain registrar didnt let me create a dynamic dns....my router does but the url I'd get from tplink link is a tplink url so if I changed routers I might would lose it. So I just went with duckdns, its free also, and its what SpaceInvader walks people through in his video and I was following his video closely to make sure I did it all correct. I've watched his video several times and gone through all of my settings and I just don't see where its messed up.  But I have Heimdall showing up on the internet when you type in the WAN address online and apparently its not supposed to do that. I REALLY thought it was a issue with Swag since the reverse proxy settings include things like pointing a dynamic DNS to the WAN address. But I just dont know enough about all this stuff to diagnose it, I'm just following directions and it appears to all be set up right.

     

    And yes, it all works....I have a rev proxy custom network with a Heimdall page at a custom url and 8 apps working through it. Everything seems to be working great except that one issue with the WAN ip. And I have suspected that it may be causing a issue related to me not being able to get a PPTP vpn connected to my router since it uses the routers dynamic DNS (which is pulling up my Heimdall page), but I dont KNOW that its the cause.

  12. In your Chrome app can dockers like Plex be opened up in it instead of Firefox and can Chrome extensions be added?  Chrome has much better ability to play videos and I am thinking I may could open Plex in Chrome on my Unraid machine and play videos (something I cant do in Firefox).

  13. 1 hour ago, ich777 said:

    Nextcloud

     

    You can select which folder I think within nextcloud and photoprism should scan all files recursively I think.

     

    I'll have to check that out some more, I didnt think the external storage plugin was going to work. I looked a while back at Nextcloud apps and didnt think anything was going to work, but I'll look closer since you mentioned it.

     

    I was thinking of looking at the Unraid app DirSyncPro (which I just realized when I just now looked to get the name that it is also your app). I have it on my 'to do' list to install and see if I can use it to duplicate the folders. Basically have the 4 folders with pictures that all point to the one folder and copy everything into that one folder. But my concern was that it probably 'syncs' the folders instead of just duplicating everything over. I figured it would just make a image of the 4 folders rather than allowing me to combine them into 1.

  14. 4 minutes ago, ich777 said:

    You could do this with the external storage plugin.

    Just use the external storage folder as the synchronisation folder for all 4 phones and use the external storage folder as input folder in photoprism. ;)

     

    Are you refering to a plug in for Photoprism, Unraid, or Nextcloud? I couldnt find one in the CA called "external storage"

    I use the Nextcloud as phone backup as well so I have them all separate so if a device dies or gets lost I can restore it. But I wonder if there is a app that will copy those 4 folders into a different folder and then use that one for Photoprism

  15. 46 minutes ago, ich777 said:

    The log tells the problem. It simply can't start the container and is now looping.

    1. Stop the container
    2. Remove the container completely
    3. Remove the folder 'photoprism' from your appdata folder
    4. Redownload the container from the CA App
    5. Fill in the password and also try to define a import folder

    The log should only be ~3 lines that tell you that the webserver and app startet.

     

    Its working. I had actually deleted and reinstalled before posting here but I didn't know to delete the appdata folder. That fixed it.

    THANK YOU

     

    You also had me define a import folder as well. Which brings up a question you may can answer....do you happen to know a way that I can have multiple folders in Unraid that house images, all show up in one large gallery in Photoprism?  I have 4 users with their own picture folder that comes into Unraid from their phone using Nextcloud. I would like to then bring those 4 folders into a single gallery.  Well, that isnt really a question for you since you just do docker side of things....i just thought you might know, this is why I installed Photoprism to see if I could do this.

    • Like 1
  16. 5 minutes ago, ich777 said:

    That's fine because the port is routed from the internal Docker network to the hosts network and so you can reach two different Docker containers on different ports from the hosts IP:PORT.

    If you are using two Docker containers with the same Port Unraid will throw an error.

     

    I can't help when you don't answer the other question.

    I need the log (the little sheet icon on the right side or the blue text that states how long the container is running), the template page itsef and all the other questions answered above to look into this to eventually help you out.

     

    I had gone back and edited the post to include the log file...just took me a minute....I pasted it into my last post (is that what you wanted me to do or to attach the log file as an attachment?)

     

    image.thumb.png.ce6b58378329a0e7e377f7f2b9706ace.png

     

    image.thumb.png.d88a4e2e4364b254dd793dbd6d1691e4.png

  17. 45 minutes ago, ich777 said:

    How do you connect to it? YOURSERVERIP:PORT or did you just reverse proxy anything yet?

    Can you give me the log output?

     

    Have you configured something in your Unraid Network configuration? Have you installed a Cache drive? Can you provide a screenshot from the template?

     

    I just went to PhotoPrism in the docker tab, clicked and went to webgui.  It tried to open it up in the brower using the serverip:2342 but says that it cant for some reason. However I can open other apps just fine. Just late last night I installed DiskSpeed which also installs in Bridge type and its webui opens in the browser using the serverip:port and it opens fine. I dont see what going be going on that would cause two apps both using Bridge type and the same ip with just different port numbers to open one and not the other. 

     

    Here is the log info.....

    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc0157209c0)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc013803700)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc01380c2c0, 0x0, 0xc013803560)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc01380c2c0, 0xc01380c2c0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc013816000, 0xc00012c000, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc0034c78f0)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc01b6916c0)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc01b69a2c0, 0x0, 0xc01b691520)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc01b69a2c0, 0xc01b69a2c0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc01b6a4000, 0xc00012c000, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc0119e5b60)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc0005af640)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc0005b62c0, 0x0, 0xc0005af4a0)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc0005b62c0, 0xc0005b62c0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc0005be000, 0xc00012c000, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc011971ef0)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc0007a3640)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc0007ac2c0, 0x0, 0xc0007a34a0)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc0007ac2c0, 0xc0007ac2c0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc0007b4000, 0xc000132000, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc0001d1d10)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc0135e2300)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc0046e8580, 0x0, 0xc0135e2160)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc0046e8580, 0xc0046e8580, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc010454380, 0xc000132000, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc01367c9c0)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc01c5e1680)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc01c5ea2c0, 0x0, 0xc01c5e14e0)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc01c5ea2c0, 0xc01c5ea2c0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc01c5f4000, 0xc00000e060, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc0136d49c0)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc0137601c0)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc0136506e0, 0x0, 0xc013760020)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc0136506e0, 0xc0136506e0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc00013c380, 0xc00000e060, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc0136da9c0)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc0001317c0)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc00013c2c0, 0x0, 0xc000131620)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc00013c2c0, 0xc00013c2c0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc000146000, 0xc0001a6000, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc0128b7e00)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc01c5c37c0)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc01c5ce2c0, 0x0, 0xc01c5c3620)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc01c5ce2c0, 0xc01c5ce2c0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc01c5d6000, 0xc00000e060, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc013db5b30)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc0136c41c0)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc00052a840, 0x0, 0xc0136c4020)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc00052a840, 0xc00052a840, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc019964380, 0xc00000e060, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc00fb149f0)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc00059d740)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc0005a62c0, 0x0, 0xc00059d5a0)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc0005a62c0, 0xc0005a62c0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc0005b0000, 0xc00012c000, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc0136529c0)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc01c5b9740)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc01c5c82c0, 0x0, 0xc01c5b95a0)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc01c5c82c0, 0xc01c5c82c0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc01c5d2000, 0xc000132000, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc01146d020)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc01c5b3740)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc01c5c42c0, 0x0, 0xc01c5b35a0)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc01c5c42c0, 0xc01c5c42c0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc01c5ce000, 0xc000132000, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529
    usermod: no changes
    panic: attempt to write a readonly database

    goroutine 1 [running]:
    github.com/photoprism/photoprism/internal/entity.Types.Migrate(0xc00016d8f0)
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:106 +0x234
    github.com/photoprism/photoprism/internal/entity.MigrateDb()
    /go/src/github.com/photoprism/photoprism/internal/entity/entity.go:134 +0x2d
    github.com/photoprism/photoprism/internal/config.(*Config).InitDb(0xc0135d2140)
    /go/src/github.com/photoprism/photoprism/internal/config/db.go:110 +0x49
    github.com/photoprism/photoprism/internal/commands.startAction(0xc0001686e0, 0x0, 0xc0130fdfa0)
    /go/src/github.com/photoprism/photoprism/internal/commands/start.go:71 +0x20a
    github.com/urfave/cli.HandleAction(0xf4c6a0, 0x111a570, 0xc0001686e0, 0xc0001686e0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:526 +0xfd
    github.com/urfave/cli.Command.Run(0x10a065f, 0x5, 0x0, 0x0, 0x17d78f0, 0x1, 0x1, 0x10b5d47, 0x11, 0x0, ...)
    /go/pkg/mod/github.com/urfave/[email protected]/command.go:174 +0x58e
    github.com/urfave/cli.(*App).Run(0xc01b4ec380, 0xc00012c000, 0x2, 0x2, 0x0, 0x0)
    /go/pkg/mod/github.com/urfave/[email protected]/app.go:279 +0x7e8
    main.main()
    /go/src/github.com/photoprism/photoprism/cmd/photoprism/photoprism.go:71 +0x529

  18. On 10/17/2020 at 5:50 PM, SPOautos said:

    Thank You for looking.....so funny the timing, I was just fixing to post something. I was looking in the SWAG log (the log in the dockers tab) and it says this in it..... Could this be some kind of issue? I went to that url but its over my head, I have no idea what its talking about.

     

    nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)

     

     

     

    The main ip address of my router is 24.178.85.225 and if you type that into a browser it goes to my Heindall page. Same thing if you type in my Dynamic DNS which is whiteunraid.tplinkdns.com I was told on the Heimdall thread that it shouldnt do that and it seems like I have the settings correct so I'm thinking it has something to do with Swag redirecting it or something.

     

    In my router the port forwarding is setup with the Unraid server ip address with external port 80 and internal port 180 and another one external port 443 and internal port 1443. Then In the Swag template I used port 180 and 1443.  I also have swag and heimdall both setup in their templates with the same custom named network type....IS that all correct???

     

    I thought I might make a list of everything I did in setting up the reverse proxy and just make sure it all sounds like its in order.....

    * I use a DuckDNS address that points to my routers internet ip address.

    * I created a custom network for the reverse proxy

    * I use a custom domain name and have CNAME's created for each app that is part of the reverse proxy network. The Cname is pointing to the DuckDNS address which in turn is pointing to the routers internet ip address.

    * I changed the proxy config subdomain files names to remove sample from them for each app that i have using the reverse proxy network. (the only one that had the subfolder name changed was Heimdall but I have now deleted that one so that everything edited is only the subdomain files)

    * In the template I have http port 180 and https port 1443 and in my router I have port forwards where external port 80 points to internal port 180 and the servers IP address......similarly external port 443 points to internal point 1443 and also uses the servers IP address.

     

    Does that all sound correct?

  19. 32 minutes ago, ich777 said:

    I also tried it here and no problem so far (I also changed only the password), can you try to change the network to host?

    Eventually something in the network settings is messed up...

    Bildschirmfoto_2020-10-19_18-04-39.thumb.png.d594c48d4aeef073f78f02dab33e369b.png

     

    Changed to host, but its still doing the same.  I'm not sure what it could be except Swag reverse proxy but typically when I install apps Swag doesnt have any affect on them unless I assign them to the custom network type that is related to the reverse proxy. 

     

    Do you have any ideas where I should start looking? I tried stopping Swag and that didn't make any difference either.

  20. Hello, I just installed PhotoPrism, I didnt change anything except add a password that is asks for. It starts, however when I go to the webgui it isnt working. I get "this site cant be reached" page

     

     

    Is there something in my Unraid that is causing this? The docker template network type is still set to the default Bridge. I'm not having a issue like this with any other apps.

  21. 2 hours ago, saarg said:

    Why have you created subdomains in the swag container if you use subfolder?

    You only activate one of the configs, not both.

     

    I believe I had to activate the subdomain file in order to change the domain from heimdall.mydomain.com to server.mydomain.com 

     

    However, since I used the subdomain file, should I switch the subfolder file back to only being a sample file?

     

    Just to check it....I removed the subfolder file and kept only the subdomain file. It pulls up fine at my url server.myurl.com, however when I type in my router ip address it does something odd....it no longer shows my Heimdall page but it shows this page and I still dont think this should be coming up when I type in my routers internet ip (over cellular).....

    1307680033_heimdallwithinternetip.thumb.jpg.5ccc95ed840b5dd52862e916c5d17f93.jpg

     

     

    I'll try to flip it and rename the subfile and not have the subdomain, but I cant right now, I'll have to do it later tonight. I dont know enough about things like this to just 'know' what these things do, I just have to try it both ways and see what happens.

  22. 3 hours ago, saarg said:

    You might be better off not posting the same issue in multiple threads. It's hard to follow what has been done.

     

    You only enable one of the reverse proxy configs depending on if you want to do subdomain or subfolder. There are instructions if you have to do something to do proxy conf or not.

     

    You can easily check if this is a port forward error or reverse proxy by stopping one of the two containers and test what happens if you try to access your IP/domain from the outside.

     

    With the subdomain vs subfolder config, I suppose I dont understand the difference and why/when I would use one or the other. All the other apps in the reverse proxy used a subfolder....but since Heimdall is actually a subdomain webpage I access at server.mydomain.com does that mean I should have only used the subdomain configs? 

     

    I'll do the 'stopping each container' test in just a little while and report back.

     

    You are correct about two threads, I suppose being support threads, when I had a question more SWAG related I thought I should post it there....since they are app specific supports threads I was trying to keep them on topic of their specific app, not being sure which app is causing the issue. But your correct....definitely not the best way to troubleshoot a issue.

     

     

  23. When setting up Heimdall with the Swag reverse proxy, are you supposed to edit the name of both the Heimdall.subdomain conf file and the Heimdall.subfolder conf file (in the swag sample files)?  Basically where you take the .sample off the end?  If so, is there anything else besides the name that needs to be changed in either of those files?

     

     

  24. 42 minutes ago, Hoopster said:

    I set up a VLAN (192.168.3.x) following this guide.  UnRAID server is on 192.168.1.x LAN

     

    VLAN shows up as br0.3 in Docker container network type.  Once selected, you can assign a fixed IP address (as I do) or let the VLAN DHCP assign it.

     

    image.thumb.png.00f1aaf989c861a4a3c136f3cce4a536.png

     

    NOTE: if you want to try this, it may not be necessary to setup a VLAN.  It may work fine for you on br0 (no setup necessary).  For me and others, IP addresses on br0 cause call traces and server lockups which a VLAN solves.  It seems hardware dependent and your hardware may not cause the problem.

     

     I have several docker containers assigned IP addresses on the 192.168.3.x VLAN subnet.

     

    Thanks for the info.....I may do that.  So going this route since you select the new vlan in the docker template as the network type then you cant run it in a reverse proxy setup....is that correct?  I suppose why you aren't running a reverse proxy

  25. 3 minutes ago, Hoopster said:

    Yeah, mine says the same.  I don't think that's it.  I have had Heimdall running on both server IP address:port and now under a completely separate IP address and in both cases everything behaved as it should. Remote access always displayed unRAID GUI.

     

    Reverse proxy is the only difference as I have never implemented that. 

     

    How do you put Heimdall on a completely seperate IP address?  Maybe I should consider doing that

×
×
  • Create New...