|
Replies:
8
-
Pages:
1
-
Last Post:
16 Jul 25, 05:09
Last Post By: dbreckenridge
|
Threads:
[
Previous
|
Next
]
|
|
Posts:
5
Registered:
4-Mar-2009
|
|
|
|
Cannot upload albums to local server.
Posted:
12 Jul 25, 20:15
|
|
|
|
I had an old Mac mini (late 2012) that I used up until recently. I ran jAlbum for many years and uploaded my albums to a Linux server on my home network. Then Apple stopped upgrading my old mini. Then, eventually stopped supporting the old girl. I quit updating jAlbum because of changes in java. I think that was the issue and the upload to my server quit working. I eventually let my jAlbum subscription lapse.
Yea, I got a brand new Apple Mac Studio. One of the first things I did was upgrade to the latest version of jAlbum that my old subscription would allow, version 35.1.3. I was hoping that it would solve my upload problem. But, it doesn't. I have tried several different versions of Web address, Server name, and Type, but can find no combination of that that result in any connection to my local server. I can connect and upload to the server with no problems using FileZilla.
I am currently get an error that says "Check spelling, ensure your online and that jAlbum isn't blocked by a firewall. I turned off the firewalls on both Mac and Linux with no luck.
I would gladly renew my subscription and upgrade to the latest version if I thought there was a way to get it to upload my albums directly. Any thoughts?
Thanks, Dan
|
|
|
Posts:
3,948
Registered:
4-Aug-2006
|
|
|
|
Re: Cannot upload albums to local server.
Posted:
12 Jul 25, 20:30
in response to: dbreckenridge
|
|
|
Double check upload settings by comparing with https://jalbum.net/help/en/Publish_to_your_own_site
If your Mac and Linux are on the same network can you set the output directory to the correct location on the Linux machine?
Failing that can you provide your actual ftp settings, excluding the password?
|
|
|
Posts:
8,042
Registered:
31-Jan-2006
|
|
|
|
Re: Cannot upload albums to local server.
Posted:
12 Jul 25, 20:35
in response to: RobM
|
|
|
If your Mac and Linux are on the same network can you set the output directory to the correct location on the Linux machine?
Yes, that would get my vote, as well. There's nothing magical about "uploading" - it's just a file-copying operation. If the project's output directory is set to the proper location on the local server, it will even keep everything in sync, automatically.
|
|
|
Posts:
5
Registered:
4-Mar-2009
|
|
|
|
Re: Cannot upload albums to local server.
Posted:
13 Jul 25, 17:31
in response to: RobM
|
|
|
|
|
|
Thanks for your reply. But, the page you referenced is not the same as what I see in jAlbum, Version 35.1.3. The first entry is not Type, with a drop down list. It is Web address, and it is asking for an "http://www.yoursite.com" type address. As you can see in the attachment the red indicates it doesn't find the server even before I try to connect. Is the picture you referenced a new format in the latest jAlbum version. BTW, the reference to danlinux is my hosts file definition for the IP address of the server and it is what I use in FileZilla to connect to the server. Also, I can definitely navigate to the upload directory on the server. Although it is currently through a symbolic link. As I said in my original post, it used to work. If/when I can get connected to the server again, if the symbolic link does not work I'll set up a new samba share to get there. Any other suggestions are very welcome.
|
|
|
Posts:
3,948
Registered:
4-Aug-2006
|
|
|
Posts:
5
Registered:
4-Mar-2009
|
|
|
|
Re: Cannot upload albums to local server.
Posted:
13 Jul 25, 22:11
in response to: RobM
|
|
|
Ok, I went to the latest link you sent. Again, that is not the Upload Manager page that I have. Mine starts with "Web Address", expected entry "http://". Just to check, I downloaded and installed the latest jAlbum version for Mac M-Series. It has the same Upload Manager page as my version.
Here are the entries that I've tried
Web address - http://danlinux (This works on FileZilla) Also tried http://192.168.1.113
Type - Every choice on drop down list
Server name - ftp.danlinux - Also ftp.192.168.1.113
Username - Linux system username - This user is an administrator
Password - Linux system password
Tried with both firewalls off
Since my server is local, not on the internet, it does not have a .com or any suffix
Running new Apple Mac Studio M4 Max OS Sequoia 15.5 and up to date
I tried running ftp from the Mac command line. Turns out Mac Sequoia does not have ftp installed by default. They have gone to sftp only. I tried sftp from Mac command line. Discovered connection refused on port 22. Linux firewall ufw had port 22 Allow Anywhere. Found out that ssh was not installed on Ubuntu Linux 24.04. Got it installed. Can now connect to Linux box from Mac command line with sftp. Can see all directories including website album directories, from command line. Tried to connect with jAlbum but still no luck. Tried all of the Types. I thought sftp (ssh file transfer protocol) would work. But, no connection. Web address line still red. Server name also red. Tried both ftp.danlinux and sftp.danlinux as server names. Will not recognize server and does not connect.
|
|
|
Posts:
3,948
Registered:
4-Aug-2006
|
|
|
|
Re: Cannot upload albums to local server.
Posted:
13 Jul 25, 23:08
in response to: dbreckenridge
|
|
|
Ah, You are looking at the setup profile window, not the upload window. The first step of setting up the profile is covered by https://jalbum.net/help/en/jAlbum/Upload
Have you tried navigating from Settings>General>Output directory and clicking on the folder icon to the right, then navigating directly to your Linux machine?
|
|
|
Posts:
3,948
Registered:
4-Aug-2006
|
|
|
|
Re: Cannot upload albums to local server.
Posted:
13 Jul 25, 23:59
in response to: dbreckenridge
|
|
|
Here are the entries that I've tried
Web address - http://danlinux (This works on FileZilla) Also tried http://192.168.1.113
Type - Every choice on drop down list
Server name - ftp.danlinux - Also ftp.192.168.1.113
Username - Linux system username - This user is an administrator
Password - Linux system password
Tried with both firewalls off
Since my server is local, not on the internet, it does not have a .com or any suffix
Running new Apple Mac Studio M4 Max OS Sequoia 15.5 and up to date
I tried running ftp from the Mac command line. Turns out Mac Sequoia does not have ftp installed by default. They have gone to sftp only. I tried sftp from Mac command line. Discovered connection refused on port 22. Linux firewall ufw had port 22 Allow Anywhere. Found out that ssh was not installed on Ubuntu Linux 24.04. Got it installed. Can now connect to Linux box from Mac command line with sftp. Can see all directories including website album directories, from command line. Tried to connect with jAlbum but still no luck. Tried all of the Types. I thought sftp (ssh file transfer protocol) would work. But, no connection. Web address line still red. Server name also red. Tried both ftp.danlinux and sftp.danlinux as server names. Will not recognize server and does not connect.
If you can't set the 'Output directory' to the Linux machine then I think you will need the help of David, Anders.
|
|
|
Posts:
5
Registered:
4-Mar-2009
|
|
|
|
Re: Cannot upload albums to local server.
Posted:
16 Jul 25, 05:09
in response to: RobM
|
|
|
|
First of all, thank you to everyone that helped. I really appreciate the time you took to think about my problem and offer your advice.
I finally got all the pieces lined up and it is working.
I had problems on both sides of the network.
On the linux side, I tried every edit to the vsftpd.conf that I found on Google. Then, I found a years old thread where it was suggested to restore the original. Actually uninstall and purge vsftpd. I saved the .conf file to a backup, purged vsftpd and reinstalled it. Then I compared the new vsftpd.conf with my backup and tweakied only 2 or 3 parameters, local_enable, passive ports, maybe one other. After restarting the vsftpd service I was finally able to log into the ftp server from the linux box file manager, Nautilus. I did that both using ftp and sftp. From the command line I was not able to login using ftp. I got error messages about non-anonymous login must use encryption. I did get logged in on the command line using sftp. I had been able to log in to the server from the Mac command line using sftp. Strange that I couldn't get logged in from the linux box.
On the Mac side the big hang up was something new to Mac Sequoia, At least new since my 2012 Mac mini running Catalina. In settings, Privacy & Security, Local Network you have to give an App permission to communicate with devices on your local network. jAlbum was already on the list of Apps that could be given permission. I just had to toggle the switch. After doing that my Web address, "http://danlinux", in jAlbum turned green immediately. I chose SFTP for the type and played with the Server name a little. The hint for that suggests "ftp.server name", but it didn't like the ftp. prefix but just danlinux turned green. My final hurdle was the password. I only typed my password in that field 500 times during this ordeal, but this time I typed it wrong. Fortunately, I got an error message somewhere that indicated the password was incorrect. After typing it one last time the system connected to my server. Maybe an icon in the password field to show the password would be a good enhancement.
After getting connected to the server I had to play with my symbolic link on the linux server to get in the correct place to designate the Web Root. After figuring out the correct link I was able to remake and upload all of my projects to my linux server.
Again, thanks to all.
Dan
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|