Giter Site home page Giter Site logo

Comments (9)

out386 avatar out386 commented on August 18, 2024 1

Not sure how or why but it works now.

If it was set to true, but there wasn't a valid email address provided, then it would fail to set file permissions after uploading.

Can it be setup multiple time on the same server

Yes. Use the ARIA_PORT variable in constants, and use different ports for each bot. If you're using systemd, you'll have to copy the systemd file and change some variables. Also, don't forget to change the variables in .constants.js.

Also, is it possible to set a name for a direct download file?

No. I've had it planned for ages, never got around to it.

from aria-telegram-mirror-bot.

out386 avatar out386 commented on August 18, 2024
  • Does this happen for all files?
  • Are you using Team Drives?
  • Are you sure that you have permission to upload to that folder?

from aria-telegram-mirror-bot.

inside83 avatar inside83 commented on August 18, 2024

First off, thank you for your swift reply.

And yes on all three.

It was working fine yesterday.
I just deleted
/opt/aria-telegram-mirror-bot/out/ directory
client_secret.json and
credentials.json files

Downloaded fresh client_secret.json, ran tsc, tried downloading readme file, got the link, authorized it, coped the code in terminal and I got this again
Token stored to ./credentials.json 5c2771a58b34bdd0: Failed to upload - /opt/aria-telegram-mirror-bot/downloads/9b36f0f4-3e70-4b81-b8f5-5e412cd67a0b/README.md: Get drive resumable url return invalid headers: { "x-guploader-uploadid": "AEnB2UrT7llnyjX7DLB9q3b972sGeu156eMQYxvjaO-TeZM-NcwtzzdBOF7yWpn58O6r3BW4cnBeZNcRZjQTCIG2LRqU8_pSdA", "vary": "Origin, X-Origin", "content-type": "application/json; charset=UTF-8", "content-length": "215", "date": "Fri, 17 Jan 2020 10:05:37 GMT", "server": "UploadServer", "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,43\",h3-Q050=\":443\"; ma=2592000,h3-Q049=\":443\"; ma=2592000,h3-Q048=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000", "connection": "close" } cleanup: Deleted 9b36f0f4-3e70-4b81-b8f5-5e412cd67a0b

from aria-telegram-mirror-bot.

inside83 avatar inside83 commented on August 18, 2024

Weird thing is, if the torrent if a folder which contains files, it creates the folder on GDrive but it's empty.

from aria-telegram-mirror-bot.

out386 avatar out386 commented on August 18, 2024

Does out/.constants.js have IS_TEAM_DRIVE set to true?

from aria-telegram-mirror-bot.

inside83 avatar inside83 commented on August 18, 2024

I just tried with both true and false and it's the same

from aria-telegram-mirror-bot.

inside83 avatar inside83 commented on August 18, 2024

Finally managed to get it fixed by coping
/aria-telegram-mirror-bot/src/.constants.js
from another server.
Difference being
DRIVE_FILE_PRIVATE: { ENABLED: false, },
Not sure how or why but it works now.

from aria-telegram-mirror-bot.

inside83 avatar inside83 commented on August 18, 2024

Since I'm here I have to ask:
Can it be setup multiple time on the same server with multiple Telegram groups or just one per server?
Also, is it possible to set a name for a direct download file? For example: /mirror https://domain.com/video.mp4 | My awesome video

from aria-telegram-mirror-bot.

inside83 avatar inside83 commented on August 18, 2024

OMG it just happened again...with a 650+ GB torrent
Could it be due to a 750 GB daily limit or something?

from aria-telegram-mirror-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.