Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book General > General Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 11-09-2018, 11:28 AM   #61
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 20,890
Karma: 114848586
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I believe j.p.s. was talking about distributing a dockerfile. It's a config file only. No software would be distributed. The dockerfile merely creates the container. But unless there's a direct url which can be used to download the official ADE installer, you'll still be in a situation where the ADE installer will need to be hosted somewhere by someone so that the OS running inside the docker container could consistently access the correct version.

Then you'd have to map shared storage with the host machine where WINE could store its registry (so you didn't have to register that instance of ADE each and every time the container was started), as well as mapping ADE's library location to be shared with the host machine so the downloaded ebooks would persist after downloading.

None of that takes into consideration what needs to happen to even get an ADE-Running-in-WINE-in-a-Linux-Docker-Container in the first place.

It's just not worth the trouble in my opinion. Just fire up a VirtualBox XP guest with ADE installed on it and be done.

EDIT: Also ... Docker has considerable overhead to begin with. If people weren't crazy about a WINE prefix taking a ton of disk space, just wait until you see how much Docker, a basic Linux server image, all the extra software needed to install WINE, and the WINE software needed to run ADE in WINE will take up! Better beef up /var (or configure Docker to store its containers/images elsewhere).

Last edited by DiapDealer; 11-09-2018 at 03:22 PM.
DiapDealer is offline   Reply With Quote
Old 11-09-2018, 03:01 PM   #62
patdavid
Junior Member
patdavid began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2018
Device: Kindle Paperwhite
Ah, sorry - was just sort of talking out loud and not really sure if it would make sense (technically or otherwise, which I see now it does not - thanks for the history).

I'm happy to just keep coming back and updating instructions as needed to help others. (and thank you to everyone who have done amazing work so far)
patdavid is offline   Reply With Quote
Old 11-09-2018, 08:48 PM   #63
darryl
Wizard
darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.
 
darryl's Avatar
 
Posts: 2,897
Karma: 57928436
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
Thanks DiapDealer. No doubt I'll end up playing around with Docker one day, but not for ADE.

@patdavid. I think you're right. For the moment the best course seems to be just keeping the instructions up to date as long as possible. I would suggest we all keep a copy of the ADE Installer and pre-requisities for our own use. The link for ADE is currently from an archive.org snapshot of Adobe's download page, so who knows how long it will last. I also think there is probably little demand for extensive work on scripts and containers and the like to make it easier for the masses who can't or won't follow a relatively simple procedure or who are allergic to the shell. In fact, I don't think there are any such masses. Linux users who love reading ebooks, care about DRM and want ADE on their boxes are I suspect a tiny group to start with. I think we have done enough to make it easy for each other and hopefully will continue to solve problems as required. I for one am happy to assist anyone who does encounter problems so long as they are willing and able to help themselves. The instructions as they stand or the ones on Pat's blog should be sufficient even for a Linux newbie to get things working, particularly with help from this forum. Hand holding can go only so far. It is not rocket science to copy and paste a few commands, extract a cab or copy a few dll files. Nor to post error messages if things go wrong.

I followed the instructions to install into a Mint VM and they worked flawlessly, including the copying of the dll's. I'm fairly happy with their current state. So far we have no reports of failures with the updated version.
darryl is offline   Reply With Quote
Old 02-02-2019, 06:02 PM   #64
latepaul
Wizard
latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.
 
latepaul's Avatar
 
Posts: 1,193
Karma: 9874610
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
Quote:
Originally Posted by darryl View Post
I followed the instructions to install into a Mint VM and they worked flawlessly, including the copying of the dll's. I'm fairly happy with their current state. So far we have no reports of failures with the updated version.
What version of Mint was that? 19?

I tried and failed to get either ADE or K4PC installed under Wine in Mint 19.1. I tried the stable Wine package (3.0) and the 'development' one (3.6). I never successfully managed to install dotnet 3.5. The K4PC install failed right away with a few messages to the console (the usual stuff about various things not being implemented). I tried both 1.17 and 1.24.

I even went back earlier in the thread and read my own instructions on setting up docker. Unfortunately I had pointed it to use Wine-staging which has obviously moved on.

Very frustrating.
latepaul is offline   Reply With Quote
Old 02-02-2019, 07:59 PM   #65
darryl
Wizard
darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.
 
darryl's Avatar
 
Posts: 2,897
Karma: 57928436
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
@latepaul. I no longer have that VM, though it probably would have been Mint 19. I'm downloading Mint 19.1 Cinnamon 64 bit now which I will later install in a VM and see if I can see what is going wrong.
darryl is offline   Reply With Quote
Old 02-02-2019, 08:37 PM   #66
haertig
Guru
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 680
Karma: 7162156
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
I successfully run KindleForPC v1.17 on LinuxMint 18 (Sarah) under Wine 1.9.19. I use "PlayOnLinux" to easily manage Wine versions and make it easy to move between different Wine prefixes.

I was never able to get ADE to run correctly under Wine.

Regarding Docker, I do not use that to run K4PC, but I do use it to run "Calibre-Web" - an alternate web server interface for Calibre (as opposed to using the built-in Calibre server). Many people here also run Calibre, so I've included my Docker stuff related to Calibre below, in case it will be of benefit to anyone. Note that the "letsencrypt" container includes both NGINX webserver and the LETSENCRYPT free HTTPS certificate management.

Here is the docker-compose.yml file I created:

Code:
version: '3'

networks:

  frontend:
    driver: bridge

services:

  letsencrypt:
    image: linuxserver/letsencrypt
    container_name: letsencrypt
    ports:
      - 80:80
      - 443:443
    volumes:
      - /var/opt/docker/letsencrypt/config:/config
    environment:
      - EMAIL=myemailaddress@gmail.com
      - URL=my.domain_name.net
      - VALIDATION=http
      - TZ=America/Denver
      - PUID=65534
      - PGID=65534
    networks:
      - frontend
    depends_on:
      - calibre-web
    restart: always

  calibre-web:
    image: linuxserver/calibre-web
    container_name: calibre-web
    volumes:
      - /var/opt/docker/calibre-web/config:/config
      - /var/opt/calibre:/books:ro
    environment:
      - PUID=1002
      - PGID=1001
    networks:
      - frontend
    restart: unless-stopped
And here is the NGINX config file I created:

Code:
server {
	listen 80;
	server_name _;
	return 301 https://$host$request_uri;
}

server {
	listen 443 ssl default_server;
	root /config/www;
	index index.html index.htm index.php;
	server_name _;
	include /config/nginx/proxy-confs/*.subfolder.conf;
	include /config/nginx/ssl.conf;
	client_max_body_size 0;

	location / {
		try_files $uri $uri/ /index.html /index.php?$args =404;
	}

	location ~ \.php$ {
		fastcgi_split_path_info ^(.+\.php)(/.+)$;
		fastcgi_pass 127.0.0.1:9000;
		fastcgi_index index.php;
		include /etc/nginx/fastcgi_params;
	}

	location /calibre-web {
		auth_basic "Books";
		auth_basic_user_file /config/nginx/.htpasswd-books;
		proxy_pass              http://calibre-web:8083;
		proxy_set_header        Host            $http_host;
		proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_set_header        X-Scheme        $scheme;
		proxy_set_header        X-Script-Name   /calibre-web;
	}
}
I simply type "docker-compose up -d" to bring the system up, and "docker-compose stop" to shut it down. If I want to update all the containers with newer images I'll use "docker-compose down" instead of "stop".

Users would access Calibre at:

Code:
https://my.domain_name.net/calibre-web
Note: I turned off authentication in calibre-web and replaced that with authentication done by NGINX. In real life I am moving away from basic .htpasswd authentication into HTTPS client certs, but I have not fully implemented that for all my servers yet.

Both my docker-compose.yml file and my nginx config file are quite a bit more complicated than I show above - because I also run airsonic, booksonic, nextcloud, plex, etc. - but I stripped out all that other config so you only see the stuff relevant to Calibre. Note that my Calibre library is located at /var/opt/calibre and that is bind-mounted read-only into the calibre-web container so that users accessing the web interface cannot corrupt any of my Calibre data.
haertig is offline   Reply With Quote
Old 02-02-2019, 09:02 PM   #67
latepaul
Wizard
latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.latepaul ought to be getting tired of karma fortunes by now.
 
latepaul's Avatar
 
Posts: 1,193
Karma: 9874610
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
Thanks guys - turns out I actually had a backup of my wineprefix directories (one had ADE the other K4PC). Restoring that and using it with wine 3.0 worked.
latepaul is offline   Reply With Quote
Old 02-02-2019, 09:36 PM   #68
darryl
Wizard
darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.
 
darryl's Avatar
 
Posts: 2,897
Karma: 57928436
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
@latepaul. Fantastic. There certainly are problems with latest Mint at the moment. Worked great up until dotnet installation, which failed with both Wine Stable and Devel. Don't know yet if this is peculiar to Mint and/or Debian Ubuntu or if it applies generally. If the problem is with Wine versions then the howto is pretty well useless to new users. Also, I noticed the latest Mint does not have lib32-gnutls which means that even if dotnet installed you would have a great installation of ADE which could not download encrypted files! Though that should be easily solved.

Best thing to do is keep the wineprefixes with everything installed.
darryl is offline   Reply With Quote
Old 08-28-2019, 09:42 AM   #69
darryl
Wizard
darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.
 
darryl's Avatar
 
Posts: 2,897
Karma: 57928436
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
Important update. I've added a note to the Wiki article under Prerequisites. On Arch Wine 4.13 breaks a working installation with a wine32.dll error. Downgrading Wine to 4.12 fixes the issue. It is likely the problem is with Wine 4.13 and not peculiar to Arch. I have no idea why at this point and doubt I will bother looking into it, as I'm happy to stick with Wine 4.12 for the foreseeable future.

Any constructive suggestions to get it working with 4.13 are of course welcome.
darryl is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I use "URLLink.acsm" file from Borders.com? (ADE in Wine) KenJackson Sony Reader 31 10-07-2011 03:25 AM
ADE sucht die *.acsm Datei wo?? (wine Problem) mclien Erste Hilfe 3 10-07-2011 02:20 AM
ADE in linux w/ WINE - sucess recogonizing device thersites PocketBook 2 05-25-2011 11:47 PM
ADE under Linux (Wine), PB360 not recognized rogue_librarian PocketBook 2 12-02-2010 06:12 PM
Calibre on Linux, ADE on Windows/WINE - how do I manage? Beetle B. Calibre 4 11-28-2010 03:35 PM


All times are GMT -4. The time now is 10:29 AM.


MobileRead.com is a privately owned, operated and funded community.